Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

stop_cheat_transaction_version

Cancels the cheat_transaction_version / start_cheat_transaction_version for the given contract_address.

  • contract_address - instance of ContractAddress specifying which contract to stop cheating

Fully qualified path: snforge_std::cheatcodes::execution_info::version::stop_cheat_transaction_version

pub fn stop_cheat_transaction_version(contract_address: ContractAddress)