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
evm: about gas consume in ethereum side and cosmos side. #1800
Comments
This issue is stale because it has been open 45 days with no activity. Remove |
not stale |
This issue is stale because it has been open 45 days with no activity. Remove |
still not stale 👀 |
@Vvaradinov @facs95 can be this issue associated with the PR 2302 you opened for the TraceTx? |
@0xstepit No this is a different issue, nothing to do with tracing, this is a difference of gas between cosmos side and evm side during execution. This needs to be address |
No, this is core processor, take effects directly at consensus. |
This issue is stale because it has been open 45 days with no activity. Remove |
Summary of Bug
consume gas in cosmos and evm module are inconsistent.
Version
latest master
Additional context
consume gas in cosmos side in evm module is in
evmos/x/evm/keeper/state_transition.go
Line 248 in 6fda638
but if evm failed in ApplyMessageWithConfig, this function return err in
evmos/x/evm/keeper/state_transition.go
Line 170 in 6fda638
the cosmos side show gasUsed is 0, but evm side is not zero.
For Admin Use
The text was updated successfully, but these errors were encountered: