EIP-2542
New opcodes TXGASLIMIT and CALLGASLIMIT
WithdrawnSplurge
Status history
- Draft29 Feb 2020
- Withdrawndate not observed
Abstract
Currently, there is an existing opcode 0x45 GASLIMIT that provides access to the block gas limit. While this information may be useful in some cases, it is probably not a value that smart contract developers may be concerned about. The opcode 0x5a GAS provides the remaining gas, not the initial one. Also, it is worth noting how existing 0x32 ORIGIN, 0x33 CALLER, 0x34 CALLVALUE and 0x3a GASPRICE…
- Created
- 29 Feb 2020
- Withdrawn because
- Superseded by EIP-8141
- Authors
- Alex Forshtat
- Upgrades
- Not listed in any upgrade
- Requires
- —
- Required by
- —