pub fn difficulty<WIRE: InterpreterTypes, H: Host + ?Sized>(
context: InstructionContext<'_, H, WIRE>,
)
Expand description
Implements the DIFFICULTY/PREVRANDAO instruction.
Pushes the block difficulty (pre-merge) or prevrandao (post-merge) onto the stack.