Skip to main content

mint_recovery_completed

Function mint_recovery_completed 

Source
pub(crate) fn mint_recovery_completed(
    event_log: &Value,
) -> Option<ModuleRecoveryCompleted>
Expand description

Find the mint module’s ModuleRecoveryCompleted event in a dev show-event-log JSON dump.

Recovery runs for every module, so the mint is matched via the event’s kind. Only ModuleRecoveryCompleted payloads carry a kind, so other events deserialize with kind == None and are filtered out.