All chains
    Preparing search index...

    Type Alias ProcessingOffence

    ProcessingOffence: StorageDescriptor<
        [],
        [
            number,
            SS58String,
            {
                exposure_page: number;
                prior_slash_fraction: number;
                reported_era: number;
                reporter?: SS58String;
                slash_fraction: number;
            },
        ],
        true,
        never,
    >

    Tracks the currently processed offence record from the OffenceQueue.

    • When processing offences, an offence record is popped from the oldest era in OffenceQueue and stored here.
    • The function process_offence reads from this storage, processing one page of exposure at a time.
    • After processing a page, the exposure_page count is decremented until it reaches zero.
    • Once fully processed, the offence record is removed from this storage.

    This ensures that offences are processed incrementally, preventing excessive computation in a single block while maintaining correct slashing behavior.