fix: 🔨 Correctly set the offences pallet's OnOffenceHandler to the external-validator-slashes pallet (#303)

This commit is contained in:
Steve Degosserie 2025-11-18 08:51:06 +01:00 committed by GitHub
parent ae9eef7307
commit bb410e0fa9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 6 deletions

View file

@ -373,8 +373,7 @@ impl pallet_authorship::Config for Runtime {
impl pallet_offences::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type IdentificationTuple = pallet_session::historical::IdentificationTuple<Self>;
// TODO set to External Validators Slashs Pallet once it's added to the runtime
type OnOffenceHandler = ();
type OnOffenceHandler = ExternalValidatorsSlashes;
}
pub struct FullIdentificationOf;

View file

@ -373,8 +373,7 @@ impl pallet_authorship::Config for Runtime {
impl pallet_offences::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type IdentificationTuple = pallet_session::historical::IdentificationTuple<Self>;
// TODO set to External Validators Slashs Pallet once it's added to the runtime
type OnOffenceHandler = ();
type OnOffenceHandler = ExternalValidatorsSlashes;
}
pub struct FullIdentificationOf;

View file

@ -373,8 +373,7 @@ impl pallet_authorship::Config for Runtime {
impl pallet_offences::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type IdentificationTuple = pallet_session::historical::IdentificationTuple<Self>;
// TODO set to External Validators Slashs Pallet once it's added to the runtime
type OnOffenceHandler = ();
type OnOffenceHandler = ExternalValidatorsSlashes;
}
pub struct FullIdentificationOf;