cheat_block_number
Changes the block number for the given contract address and span. - contract_address
- instance of ContractAddress
specifying which contract to cheat - block_number
- block number to be set - span
- instance of CheatSpan
specifying the number of contract calls with the cheat applied
Fully qualified path: snforge_std::cheatcodes::execution_info::block_number::cheat_block_number
pub fn cheat_block_number(contract_address: ContractAddress, block_number: u64, span: CheatSpan)