pub(crate) fn first_unmet_root_emit(
tracker: &mut VecDeque<(ExpectedEmit, AddressHashMap<LogCountMap>)>,
succeeded: bool,
) -> Option<&'static str>Expand description
Checks for leftover expected emits when the root call ends without reverting.
Returns the failure message if any expectation is still unmatched. Callers must skip already-reverted calls to preserve their original failure.