crypto-org-chain / crypto-org-chain/cronos
Problem: transaction failed in hooks shown as success in explorer
- Dominant language
- Go
- Stars
- 336
- Forks
- 299
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 4
Description
in gravity bridge testnet, this transaction status is a failure in receipt:
```
curl https://evm-cronos-gt1.crypto.org \
--header 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_getTransactionReceipt",
"params":[
"0x1a22e18e13a2160edba057e5388dceaec32a41e174e8b808d5015af7efc0049d"
],
"id":1
}' | jq ".result.status"
"0x0"
```
But shows as success in explorer: https://cronos.crypto.org/explorer/gravity/testnet/tx/0x1a22e18e13a2160edba057e5388dceaec32a41e174e8b808d5015af7efc0049d/raw-trace
I guess it's because `traceTransaction` don't execute the hooks.
Contributor guide
Assessment
This issue has not been assessed yet.