Allow StakingAdmin to set min_commission (#13018)

* staking admin can set min commission

* ".git/.scripts/bench-bot.sh" pallet dev pallet_staking

* fmt

* fix for pr comments

Co-authored-by: command-bot <>
This commit is contained in:
Ankan
2022-12-26 16:48:40 +01:00
committed by GitHub
parent 017cf70378
commit 9726a10dbb
14 changed files with 286 additions and 201 deletions
@@ -116,7 +116,7 @@ impl pallet_staking::Config for Runtime {
type Reward = ();
type SessionsPerEra = ();
type SlashDeferDuration = ();
type SlashCancelOrigin = frame_system::EnsureRoot<Self::AccountId>;
type AdminOrigin = frame_system::EnsureRoot<Self::AccountId>;
type BondingDuration = BondingDuration;
type SessionInterface = ();
type EraPayout = pallet_staking::ConvertCurve<RewardCurve>;