pub fn gas<IT: ITy, H: ?Sized>(
context: InstructionContext<'_, H, IT>,
) -> InstructionExecResultExpand description
Implements the GAS instruction.
Pushes the amount of remaining gas onto the stack.
Returns gas_left only (excluding the state gas reservoir) per EIP-8037.
On mainnet (no state gas), this is equivalent to returning remaining.