Skip to main content

assert_recovery_event_amount

Function assert_recovery_event_amount 

Source
pub(crate) async fn assert_recovery_event_amount(
    restored: &Client,
    recovered_balance: u64,
) -> Result<()>
Expand description

Assert the mint module’s recovery-completed event reports the amount that was recovered.

Version-gated: clients older than 0.12 emit this event without the amount field (and lack the dev show-event-log command), so the check is skipped for them.