Skip to main content

gaslimit

Function gaslimit 

pub fn gaslimit<IT, H>(
    context: InstructionContext<'_, H, IT>,
) -> Result<(), InstructionResult>
where IT: InterpreterTypes, H: Host + ?Sized,
Expand description

Implements the GASLIMIT instruction.

Pushes the current block’s gas limit onto the stack.