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