Skip to content

Commit

Permalink
[pallet-staking] adapt paritytech/polkadot-sdk#2589
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur committed Feb 3, 2024
1 parent bec3793 commit c357d81
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions relay/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,8 @@ impl pallet_staking::Config for Runtime {
type NominationsQuota = pallet_staking::FixedNominationsQuota<{ MaxNominations::get() }>;
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
type HistoryDepth = frame_support::traits::ConstU32<84>;
// TODO:(PR#159) check/set correct constant and remove this comment!
type MaxControllersInDeprecationBatch = ConstU32<751>;
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
type EventListeners = NominationPools;
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
Expand Down
20 changes: 20 additions & 0 deletions relay/kusama/src/weights/pallet_staking.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions relay/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,8 @@ impl pallet_staking::Config for Runtime {
type NominationsQuota = pallet_staking::FixedNominationsQuota<{ MaxNominations::get() }>;
type MaxUnlockingChunks = frame_support::traits::ConstU32<32>;
type HistoryDepth = frame_support::traits::ConstU32<84>;
// TODO:(PR#159) check/set correct constant and remove this comment!
type MaxControllersInDeprecationBatch = ConstU32<751>;
type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig;
type EventListeners = NominationPools;
type WeightInfo = weights::pallet_staking::WeightInfo<Runtime>;
Expand Down
20 changes: 20 additions & 0 deletions relay/polkadot/src/weights/pallet_staking.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c357d81

Please sign in to comment.