cheat_account_contract_address
Changes the address of an account which the transaction originates from, for the given contract address and span.
contract_address
- instance ofContractAddress
specifying which contracts to cheataccount_contract_address
- transaction account deployment data to be setspan
- instance ofCheatSpan
specifying the number of contract calls with the cheat applied
Fully qualified path: snforge_std::cheatcodes::execution_info::account_contract_address::cheat_account_contract_address
pub fn cheat_account_contract_address(
contract_address: ContractAddress, account_contract_address: ContractAddress, span: CheatSpan,
)