London

EIP-1559 fee market and BASEFEE opcode

EIPs Changing Gas Costs

OperationGas Cost
arithmetic ADD3
arithmetic ADDMOD8
arithmetic AND3
arithmetic BYTE3
arithmetic DIV5
arithmetic EQ3
arithmetic EXP10
arithmetic EXP byte50
arithmetic GT3
arithmetic ISZERO3
arithmetic LT3
arithmetic MOD5
arithmetic MUL5
arithmetic MULMOD8
arithmetic NOT3
arithmetic OR3
arithmetic SAR3
arithmetic SDIV5
arithmetic SGT3
arithmetic SHA330
arithmetic SHA3 word6
arithmetic SHL3
arithmetic SHR3
arithmetic SIGNEXTEND5
arithmetic SLT3
arithmetic SMOD5
arithmetic SUB3
arithmetic XOR3
base G base2
base G high10
base G low5
base G mid8
base G verylow3
base G zero0
blockchain BALANCE700
blockchain BALANCE cold2600
blockchain BALANCE warm100
blockchain BASEFEE2
blockchain BLOCKHASH20
blockchain CHAINID2
blockchain COINBASE2
blockchain DIFFICULTY2
blockchain GASLIMIT2
blockchain NUMBER2
blockchain SELFBALANCE5
blockchain TIMESTAMP2
flow GAS2
flow JUMP8
flow JUMPDEST1
flow JUMPI10
flow MSIZE2
flow PC2
memory G memory3
memory G quadraticmemdenom512
memory MLOAD3
memory MSTORE3
memory MSTORE83
precompiles BLAKE2F1
precompiles ECADD150
precompiles ECMUL6000
precompiles ECPAIRING base45000
precompiles ECPAIRING pair34000
precompiles ECRECOVER3000
precompiles IDENTITY15
precompiles IDENTITY word3
precompiles MODEXP
{
  "formula": "max(200, floor(mult_complexity * max(8, iterations) / 3))",
  "note": "With reduced multiplier"
}
precompiles RIPEMD160600
precompiles RIPEMD160 word120
precompiles SHA25660
precompiles SHA256 word12
stack DUP3
stack POP2
stack PUSH3
stack SWAP3
storage SCLEAR refund15000
storage SLOAD800
storage SLOAD cold2100
storage SLOAD warm100
storage SSTORE clears refund4800
storage SSTORE noop100
storage SSTORE refund15000
storage SSTORE reset5000
storage SSTORE set20000
system CALL700
system CALLCODE700
system CALL cold2600
system CALL new account25000
system CALL value transfer9000
system CALL warm100
system CREATE32000
system CREATE232000
system DELEGATECALL700
system EXTCODECOPY700
system EXTCODECOPY cold2600
system EXTCODECOPY warm100
system EXTCODEHASH700
system EXTCODEHASH cold2600
system EXTCODEHASH warm100
system EXTCODESIZE700
system EXTCODESIZE cold2600
system EXTCODESIZE warm100
system RETURN0
system RETURNDATACOPY3
system RETURNDATASIZE2
system REVERT0
system SELFDESTRUCT refund0
system STATICCALL700
system SUICIDE5000
system SUICIDE refund24000
transaction G accesslistaddress2400
transaction G accessliststorage1900
transaction G transaction21000
transaction G txcreate32000
transaction G txdatanonzero16
transaction G txdatazero4