Remedial question, I know, but I can’t find a good explination.

If I look at all the TXNs for some ERC20 token “$BAT”, why do I find that different TXNs used different amounts of gas? Shouldn’t standard Transfer_From_To ERC20 TXNs consume the same amount of resources in the Eth_VM?

EX:

I thought Gas Used was a product of how many VM operations were required to run the TXN. If they are all against the same smart-contract, shouldn’t all Transfer_From_To TXNs require the same number of operations to run in the VM?



Source link

Register at Binance

Why Don't All ERC20 TXNs Use The Same Amount Of Gas : Ethereum
Why Don't All ERC20 TXNs Use The Same Amount Of Gas : Ethereum
Why Don't All ERC20 TXNs Use The Same Amount Of Gas : Ethereum
Why Don't All ERC20 TXNs Use The Same Amount Of Gas : Ethereum

Why Don't All ERC20 TXNs Use The Same Amount Of Gas : Ethereum

Why Don't All ERC20 TXNs Use The Same Amount Of Gas : Ethereum