Restore report_slashes

This does not yet handle the `SlashReport`. It solely handles the routing for
it.
This commit is contained in:
Luke Parker
2025-09-20 04:16:01 -04:00
parent ef07253a27
commit cbf998ff30
4 changed files with 99 additions and 68 deletions

View File

@@ -109,6 +109,14 @@ pub enum Event {
/// The set which accepted responsibility from the prior set.
set: ValidatorSet,
},
/// A slash report has been entered for this validator set.
///
/// This may be due to a slash report being published or a default being used due to one not
/// being received within time.
SlashReport {
/// The set whose slash report has been entered.
set: ExternalValidatorSet,
},
/// A validator set their keys on an embedded elliptic curve for a network.
SetEmbeddedEllipticCurveKeys {
/// The validator which set their keys.