How to force RPC gas estimation in forge script? #10020
Unanswered
CodeSandwich
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
-
I'm trying to run
forge script
on an EVM-compatible but not EVM-equialent chain with the main difference being gas metering not following the Ethereum spec. This means thatforge script
can't correctly estimate locally the transactions' gas limits, butforge send
doing gas estimates via RPC works fine. How canforge script
be forced to do RPC gas estimations? IIUC it would involve using--slow
so transactions depending on earlier ones don't fail during the estimation, but that's fine, speed is a secondary concern.@zerosnacks
(no need to actually tag them) mentioned forcing RPC estimation in #9723 (comment).Beta Was this translation helpful? Give feedback.
All reactions