cheat_nonce

Changes the transaction nonce for the given contract address and span. - contract_address - instance of ContractAddress specifying which contract to cheat - nonce - transaction nonce 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::nonce::cheat_nonce

pub fn cheat_nonce(contract_address: ContractAddress, nonce: felt252, span: CheatSpan)