Closed tomtomcrypto closed 1 year ago
Check the GAS_OVER_ESTIMATE_MULTIPLIER
. Does Sepolia over estimate gas used ?
We probably just need to get rid of https://github.com/telosnetwork/telos.evm/blob/975ce2791be9c4d1c662d4cb1768fd68ae57a734/eosio.evm/src/eosio.evm.cpp#L146
Actually the reth client does revert gas estimation on call revert
Description
Currently on 1.5 Telos if we try and estimateGas on a call that reverts, the transaction reverts.
On Sepolia, the same transaction doesn't revert
BigNumber { value: "21064" }
We should have Telos conform to Sepolia and estimate gas even if the estimated call reverses.