--disable-gas-limit does not eliminate the gas limit for single transaction #11292
Unanswered
sdajklfw389
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Component
Anvil
Have you ensured that all of these are up to date?
What version of Foundry are you on?
1.2.3-stable
What command(s) is the bug in?
source scripts/setup_local.sh
Describe the bug
I have a fork branch of gmx: https://github.com/sdajklfw389/my-gmx-fork
I wanted to make a local gmx chain and do some testing. But there is one failure when trying to deploy the Vault contract, which is relatively big.
First of all
I have the output of deployment here below, where is shows two failurs of transactions(aka deployments of two contracts):
Firslty i used cast receipt to incept the gasUsed of the particular transaction(deployment of Vault contract):
Then I used cast tx to incept the gas limit of that transction:
as you can see, the gasLimit == gasUsed = 7390230. But shouldn't Anvil ignore the gas limit of this single transaction?
Beta Was this translation helpful? Give feedback.
All reactions