free web page hit counter
Why don't all ERC20 TXNs use the same amount of gas

Why don't all ERC20 TXNs use the same amount of gas

Etherum Reddit

Reddit / Etherum Reddit 10 Views

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?

submitted by /u/brianddk
[link] [comments]

Comments