Open dancoombs opened 1 year ago
Describe the feature @dphilipson implemented an (Alchemy internal) version of this here: https://github.com/OMGWINNING/bestimate-gas
The Stackup team also described a similar approach here: https://www.stackup.sh/blog/estimating-callgaslimit-for-useroperations
As this doesn't cover all cases (when using GAS opcode), we still need to keep the binary search fallback. This may have some performance improvements (especially if a native tracer is used) during gas estimation.
GAS
Linking and closing https://github.com/alchemyplatform/rundler/issues/233
Describe the feature @dphilipson implemented an (Alchemy internal) version of this here: https://github.com/OMGWINNING/bestimate-gas
The Stackup team also described a similar approach here: https://www.stackup.sh/blog/estimating-callgaslimit-for-useroperations
As this doesn't cover all cases (when using
GAS
opcode), we still need to keep the binary search fallback. This may have some performance improvements (especially if a native tracer is used) during gas estimation.