MessageToL1SpyAssertionsTrait
Allows to assert the expected sent messages (or lack thereof), in the scope of MessageToL1Spy
structure.
Fully qualified path: snforge_std::cheatcodes::message_to_l1::MessageToL1SpyAssertionsTrait
pub trait MessageToL1SpyAssertionsTrait
Trait functions
assert_sent
Fully qualified path: snforge_std::cheatcodes::message_to_l1::MessageToL1SpyAssertionsTrait::assert_sent
fn assert_sent(ref self: MessageToL1Spy, messages: @Array<(ContractAddress, MessageToL1)>)
assert_not_sent
Fully qualified path: snforge_std::cheatcodes::message_to_l1::MessageToL1SpyAssertionsTrait::assert_not_sent
fn assert_not_sent(ref self: MessageToL1Spy, messages: @Array<(ContractAddress, MessageToL1)>)