mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 04:41:02 +00:00
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:
@@ -922,6 +922,13 @@ benchmarks! {
|
||||
);
|
||||
}
|
||||
|
||||
set_min_commission {
|
||||
let min_commission = Perbill::max_value();
|
||||
}: _(RawOrigin::Root, min_commission)
|
||||
verify {
|
||||
assert_eq!(MinCommission::<T>::get(), Perbill::from_percent(100));
|
||||
}
|
||||
|
||||
impl_benchmark_test_suite!(
|
||||
Staking,
|
||||
crate::mock::ExtBuilder::default().has_stakers(true),
|
||||
|
||||
Reference in New Issue
Block a user