CheatSpan
Enum used to specify how long the target should be cheated for.
Fully qualified path: snforge_std::cheatcodes::CheatSpan
pub enum CheatSpan {
Indefinite,
TargetCalls: NonZero<u32>,
}
Variants
Indefinite
Applies the cheatcode indefinitely, until the cheat is canceled manually (e.g. using
stop_cheat_block_timestamp
).
Fully qualified path: snforge_std::cheatcodes::CheatSpan::Indefinite
Indefinite
TargetCalls
Applies the cheatcode for a specified number of calls to the target, after which the cheat is canceled (or until the cheat is canceled manually).
Fully qualified path: snforge_std::cheatcodes::CheatSpan::TargetCalls
TargetCalls: NonZero<u32>