Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

block_number

Fully qualified path: snforge_std::cheatcodes::execution_info::block_number

Free functions

cheat_block_numberChanges the block number for the given contract address and span....
start_cheat_block_number_globalChanges the block number....
stop_cheat_block_number_globalCancels the start_cheat_block_number_global .
start_cheat_block_numberChanges the block number for the given contract_address....
stop_cheat_block_numberCancels the cheat_block_number / start_cheat_block_number for the given contract_address....