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

cheat_fee_data_availability_mode

Changes the transaction fee data availability mode for the given contract address and span.

  • contract_address - instance of ContractAddress specifying which contracts to cheat
  • fee_data_availability_mode - transaction fee data availability mode 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::fee_data_availability_mode::cheat_fee_data_availability_mode

pub fn cheat_fee_data_availability_mode(
    contract_address: ContractAddress, fee_data_availability_mode: u32, span: CheatSpan,
)