foundry_cheatcodes::test::expect

Type Alias ExpectedEmitTracker

Source
pub type ExpectedEmitTracker = VecDeque<(ExpectedEmit, AddressHashMap<LogCountMap>)>;
Expand description

Handles expected emits specified by the expectEmit cheatcodes.

The second element of the tuple counts the number of times the log has been emitted by a particular address

Aliased Type§

struct ExpectedEmitTracker { /* private fields */ }

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 32 bytes