Skip to main content

codesize

Function codesize 

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

Implements the CODESIZE instruction.

Pushes the size of running contract’s bytecode onto the stack.