mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 11:01:01 +00:00
[Companion] Allow StakingAdmin to set min_commission (#6444)
* rename staking origin
* fix comments
* rename origin
* give fake weight before re-benchmarking
* ".git/.scripts/bench-bot.sh" runtime westend-dev pallet_staking
* ".git/.scripts/bench-bot.sh" runtime polkadot-dev pallet_staking
* ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_staking
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -509,8 +509,7 @@ impl pallet_staking::Config for Runtime {
|
||||
type SessionsPerEra = SessionsPerEra;
|
||||
type BondingDuration = BondingDuration;
|
||||
type SlashDeferDuration = SlashDeferDuration;
|
||||
// A majority of the council can cancel the slash.
|
||||
type SlashCancelOrigin = EnsureRoot<AccountId>;
|
||||
type AdminOrigin = EnsureRoot<AccountId>;
|
||||
type SessionInterface = Self;
|
||||
type EraPayout = pallet_staking::ConvertCurve<RewardCurve>;
|
||||
type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator;
|
||||
|
||||
Reference in New Issue
Block a user