set_current_l2_block

Function set_current_l2_block 

Source
pub fn set_current_l2_block(l2_block: u64)
Expand description

Set the current L2 block number for precompile use. In Arbitrum, block_env.number holds the L1 block number (for the NUMBER opcode), so precompiles that need the L2 block number read it from here.