crypto-org-chain / crypto-org-chain/cronos

Problem: transaction failed in hooks shown as success in explorer

Open
#321 1 comment 0 reactions 0 assignees View on GitHub
gravity bridge
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.