You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moonbean doesn't use REVM, instead is uses sputnik-evm, which is not ethereum compliant, so the only way to get the exact same gas cost as moonbean, is using the same evm.
Component
Cast
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (3fa0270 2024-03-15T00:16:21.040039000Z)
What command(s) is the bug in?
cast run
Operating System
macOS (Intel)
Describe the bug
When running the following command, the gas used value printed at the end of the output does not match the gas used on-chain:
Running the above command outputs:
Gas used: 4883401
. But on the transaction details on Moonscan, you'll see that the actual gas used was6962784
.I believe this may be related to MBIP-5 on Moonbeam, where the gas required increases with the increase in chain state.
Ultimately, when using Cast, this issue makes it seem that the transaction was successful, but it actually failed.
The text was updated successfully, but these errors were encountered: