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_mock_call

Cancels the mock_call / start_mock_call for the function with given name and contract address.

  • contract_address - targeted contracts' address
  • function_selector - hashed name of the target function (can be obtained with selector! macro)

Fully qualified path: snforge_std::cheatcodes::stop_mock_call

pub fn stop_mock_call(contract_address: ContractAddress, function_selector: felt252)