mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
companion for fast unstake batching (#6253)
* update
* add migrations
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+182
-180
File diff suppressed because it is too large
Load Diff
@@ -580,6 +580,7 @@ impl pallet_staking::Config for Runtime {
|
|||||||
impl pallet_fast_unstake::Config for Runtime {
|
impl pallet_fast_unstake::Config for Runtime {
|
||||||
type RuntimeEvent = RuntimeEvent;
|
type RuntimeEvent = RuntimeEvent;
|
||||||
type Currency = Balances;
|
type Currency = Balances;
|
||||||
|
type BatchSize = frame_support::traits::ConstU32<64>;
|
||||||
type Deposit = frame_support::traits::ConstU128<{ CENTS * 100 }>;
|
type Deposit = frame_support::traits::ConstU128<{ CENTS * 100 }>;
|
||||||
type ControlOrigin = EitherOfDiverse<
|
type ControlOrigin = EitherOfDiverse<
|
||||||
EnsureRoot<AccountId>,
|
EnsureRoot<AccountId>,
|
||||||
@@ -1440,6 +1441,7 @@ pub type Executive = frame_executive::Executive<
|
|||||||
// "Properly migrate weights to v2" <https://github.com/paritytech/polkadot/pull/6091>
|
// "Properly migrate weights to v2" <https://github.com/paritytech/polkadot/pull/6091>
|
||||||
parachains_configuration::migration::v3::MigrateToV3<Runtime>,
|
parachains_configuration::migration::v3::MigrateToV3<Runtime>,
|
||||||
pallet_election_provider_multi_phase::migrations::v1::MigrateToV1<Runtime>,
|
pallet_election_provider_multi_phase::migrations::v1::MigrateToV1<Runtime>,
|
||||||
|
pallet_fast_unstake::migrations::v1::MigrateToV1<Runtime>,
|
||||||
),
|
),
|
||||||
>;
|
>;
|
||||||
/// The payload being signed in the transactions.
|
/// The payload being signed in the transactions.
|
||||||
|
|||||||
@@ -600,6 +600,7 @@ impl pallet_staking::Config for Runtime {
|
|||||||
impl pallet_fast_unstake::Config for Runtime {
|
impl pallet_fast_unstake::Config for Runtime {
|
||||||
type RuntimeEvent = RuntimeEvent;
|
type RuntimeEvent = RuntimeEvent;
|
||||||
type Currency = Balances;
|
type Currency = Balances;
|
||||||
|
type BatchSize = frame_support::traits::ConstU32<64>;
|
||||||
type Deposit = frame_support::traits::ConstU128<{ UNITS }>;
|
type Deposit = frame_support::traits::ConstU128<{ UNITS }>;
|
||||||
type ControlOrigin = EitherOfDiverse<
|
type ControlOrigin = EitherOfDiverse<
|
||||||
EnsureRoot<AccountId>,
|
EnsureRoot<AccountId>,
|
||||||
@@ -1596,6 +1597,7 @@ pub type Executive = frame_executive::Executive<
|
|||||||
// "Properly migrate weights to v2" <https://github.com/paritytech/polkadot/pull/6091>
|
// "Properly migrate weights to v2" <https://github.com/paritytech/polkadot/pull/6091>
|
||||||
parachains_configuration::migration::v3::MigrateToV3<Runtime>,
|
parachains_configuration::migration::v3::MigrateToV3<Runtime>,
|
||||||
pallet_election_provider_multi_phase::migrations::v1::MigrateToV1<Runtime>,
|
pallet_election_provider_multi_phase::migrations::v1::MigrateToV1<Runtime>,
|
||||||
|
pallet_fast_unstake::migrations::v1::MigrateToV1<Runtime>,
|
||||||
),
|
),
|
||||||
>;
|
>;
|
||||||
|
|
||||||
|
|||||||
@@ -518,6 +518,7 @@ impl pallet_staking::Config for Runtime {
|
|||||||
impl pallet_fast_unstake::Config for Runtime {
|
impl pallet_fast_unstake::Config for Runtime {
|
||||||
type RuntimeEvent = RuntimeEvent;
|
type RuntimeEvent = RuntimeEvent;
|
||||||
type Currency = Balances;
|
type Currency = Balances;
|
||||||
|
type BatchSize = frame_support::traits::ConstU32<64>;
|
||||||
type Deposit = frame_support::traits::ConstU128<{ UNITS }>;
|
type Deposit = frame_support::traits::ConstU128<{ UNITS }>;
|
||||||
type ControlOrigin = EnsureRoot<AccountId>;
|
type ControlOrigin = EnsureRoot<AccountId>;
|
||||||
type WeightInfo = weights::pallet_fast_unstake::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_fast_unstake::WeightInfo<Runtime>;
|
||||||
@@ -1217,6 +1218,7 @@ pub type Executive = frame_executive::Executive<
|
|||||||
// "Properly migrate weights to v2" <https://github.com/paritytech/polkadot/pull/6091>
|
// "Properly migrate weights to v2" <https://github.com/paritytech/polkadot/pull/6091>
|
||||||
parachains_configuration::migration::v3::MigrateToV3<Runtime>,
|
parachains_configuration::migration::v3::MigrateToV3<Runtime>,
|
||||||
pallet_election_provider_multi_phase::migrations::v1::MigrateToV1<Runtime>,
|
pallet_election_provider_multi_phase::migrations::v1::MigrateToV1<Runtime>,
|
||||||
|
pallet_fast_unstake::migrations::v1::MigrateToV1<Runtime>,
|
||||||
),
|
),
|
||||||
>;
|
>;
|
||||||
/// The payload being signed in transactions.
|
/// The payload being signed in transactions.
|
||||||
|
|||||||
Reference in New Issue
Block a user