mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 03:31:05 +00:00
[Companion] StakingInterface adjustments (#6199)
* [Companion] StakingInterface adjustments
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -517,10 +517,11 @@ impl pallet_staking::Config for Runtime {
|
||||
|
||||
impl pallet_fast_unstake::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type DepositCurrency = Balances;
|
||||
type Currency = Balances;
|
||||
type Deposit = frame_support::traits::ConstU128<{ UNITS }>;
|
||||
type ControlOrigin = EnsureRoot<AccountId>;
|
||||
type WeightInfo = weights::pallet_fast_unstake::WeightInfo<Runtime>;
|
||||
type Staking = Staking;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
@@ -1060,11 +1061,10 @@ impl pallet_nomination_pools::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type WeightInfo = weights::pallet_nomination_pools::WeightInfo<Self>;
|
||||
type Currency = Balances;
|
||||
type CurrencyBalance = Balance;
|
||||
type RewardCounter = FixedU128;
|
||||
type BalanceToU256 = BalanceToU256;
|
||||
type U256ToBalance = U256ToBalance;
|
||||
type StakingInterface = Staking;
|
||||
type Staking = Staking;
|
||||
type PostUnbondingPoolsWindow = ConstU32<4>;
|
||||
type MaxMetadataLen = ConstU32<256>;
|
||||
// we use the same number of allowed unlocking chunks as with staking.
|
||||
|
||||
Reference in New Issue
Block a user