companion for fast unstake batching (#6253)

* update

* add migrations

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Kian Paimani
2022-11-08 16:57:57 +00:00
committed by GitHub
parent e1ccb8499d
commit be4b5fad47
4 changed files with 188 additions and 180 deletions
+2
View File
@@ -580,6 +580,7 @@ impl pallet_staking::Config for Runtime {
impl pallet_fast_unstake::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type Currency = Balances;
type BatchSize = frame_support::traits::ConstU32<64>;
type Deposit = frame_support::traits::ConstU128<{ CENTS * 100 }>;
type ControlOrigin = EitherOfDiverse<
EnsureRoot<AccountId>,
@@ -1440,6 +1441,7 @@ pub type Executive = frame_executive::Executive<
// "Properly migrate weights to v2" <https://github.com/paritytech/polkadot/pull/6091>
parachains_configuration::migration::v3::MigrateToV3<Runtime>,
pallet_election_provider_multi_phase::migrations::v1::MigrateToV1<Runtime>,
pallet_fast_unstake::migrations::v1::MigrateToV1<Runtime>,
),
>;
/// The payload being signed in the transactions.