Skip to main content

gaslimit

Function gaslimit 

Source
pub fn gaslimit<IT: ITy, H: Host + ?Sized>(
    context: InstructionContext<'_, H, IT>,
) -> InstructionExecResult
Expand description

Implements the GASLIMIT instruction.

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