Expand description
SlashingSystem genesis bootstrap.
Traces to: SPEC §11.
§Role
Bundles the three long-lived state trackers
(SlashingManager, ParticipationTracker,
InactivityScoreTracker) into one aggregate that the
embedder can construct via SlashingSystem::genesis at
chain birth and step forward via crate::run_epoch_boundary
at every epoch boundary.
The three sub-components are independently useful (tests in earlier phases construct them directly), so this aggregate is intentionally a thin wrapper — it owns zero logic beyond the constructor.
Structs§
- Genesis
Parameters - Parameters required at chain genesis to initialise the slashing system.
- Slashing
System - Aggregate of the three long-lived slashing-state trackers an embedder carries across blocks.