foundry
foundry copied to clipboard
`cast access-list` throws `intrinsic gas too low` error
Component
Cast
Have you ensured that all of these are up to date?
- [X] Foundry
- [X] Foundryup
What version of Foundry are you on?
cast 0.2.0 (a119909 2022-09-14T17:09:21.826942Z)
What command(s) is the bug in?
cast access-list
Operating System
macOS (Intel)
Describe the bug
when I run cast access-list
, I get an error about intrinsic gas. Should be able to repro w the below command:
$ cast access-list --rpc-url mainnet 0x4f509fba9290dbabd0e07bf78cd01d5c7d6814e9 $(cast sig "withdraw()")
Error:(code: -32000, message: failed to apply transaction: 0x53cff0f41c897e189ada4e2a60c284d5ca432b34bf00d873aeb005ac2e75f693 err: intrinsic gas too low: have 0, want 21064, data: None)