Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

cheat_proof_facts

[source code]

Changes the transaction proof facts for the given contract address and span.

  • contract_address - instance of ContractAddress specifying which contracts to cheat
  • proof_facts - transaction proof facts 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::proof_facts::cheat_proof_facts

pub fn cheat_proof_facts(
    contract_address: ContractAddress, proof_facts: Span<felt252>, span: CheatSpan,
)