Skip to content

Commit

Permalink
[parachains_shared] adapt paritytech/polkadot-sdk#2889 (DisabledValid…
Browse files Browse the repository at this point in the history
…ators)
  • Loading branch information
bkontur committed Feb 18, 2024
1 parent f24c821 commit 8dccb71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion relay/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,9 @@ impl parachains_configuration::Config for Runtime {
type WeightInfo = weights::runtime_parachains_configuration::WeightInfo<Runtime>;
}

impl parachains_shared::Config for Runtime {}
impl parachains_shared::Config for Runtime {
type DisabledValidators = Session;
}

impl parachains_session_info::Config for Runtime {
type ValidatorSet = Historical;
Expand Down
4 changes: 3 additions & 1 deletion relay/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,9 @@ impl parachains_configuration::Config for Runtime {
type WeightInfo = weights::runtime_parachains_configuration::WeightInfo<Runtime>;
}

impl parachains_shared::Config for Runtime {}
impl parachains_shared::Config for Runtime {
type DisabledValidators = Session;
}

impl parachains_session_info::Config for Runtime {
type ValidatorSet = Historical;
Expand Down

0 comments on commit 8dccb71

Please sign in to comment.