Function difficulty
pub fn difficulty<IT, H>(
context: InstructionContext<'_, H, IT>,
) -> Result<(), InstructionResult>Expand description
Implements the DIFFICULTY/PREVRANDAO instruction.
Pushes the block difficulty (pre-merge) or prevrandao (post-merge) onto the stack.