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

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)>)