mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 01:38:32 +00:00
fix: 🔨 Correctly set the offences pallet's OnOffenceHandler to the external-validator-slashes pallet (#303)
This commit is contained in:
parent
ae9eef7307
commit
bb410e0fa9
3 changed files with 3 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue