I was inspecting one of my transactions on ropsten and I noticed something was off. The gas limit and gas spent as shown on etherscan and in metamask are 45666 and 29034 respectively so far so good. Now if I go to etherscan and open up the geth transaction tracer or load the transaction into the remix debugger. The gas left before execution starts is 24462. Somehow before code execution even starts 21204 gas is used. Where is this coming from?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.