cheat_chain_id
Changes the transaction chain_id for the given contract address and span. - contract_address
- instance of ContractAddress
specifying which contract to cheat - chain_id
- transaction chain_id 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::chain_id::cheat_chain_id
pub fn cheat_chain_id(contract_address: ContractAddress, chain_id: felt252, span: CheatSpan)