Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: transaction failed in hooks shown as success in explorer #321

Open
yihuang opened this issue Jan 26, 2022 · 1 comment
Open

Problem: transaction failed in hooks shown as success in explorer #321

yihuang opened this issue Jan 26, 2022 · 1 comment
Labels
gravity bridge This issue or pull request is related to the Gravity Bridge functionality

Comments

@yihuang
Copy link
Collaborator

yihuang commented Jan 26, 2022

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.

@yihuang yihuang added the gravity bridge This issue or pull request is related to the Gravity Bridge functionality label Jan 26, 2022
@yihuang
Copy link
Collaborator Author

yihuang commented Jan 26, 2022

evmos/ethermint#920

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gravity bridge This issue or pull request is related to the Gravity Bridge functionality
Projects
None yet
Development

No branches or pull requests

1 participant