mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
Add batching to fast-unstake pallet (#12394)
* implement a brand new batch with all tests passing. * fix benchmarks as well * make benchmarks more or less work * fix migration * add some testing * Update frame/fast-unstake/src/benchmarking.rs Co-authored-by: Roman Useinov <roman.useinov@gmail.com> * review comments * some fixes * fix review comments * fix build * fmt * fix benchmarks * fmt * update Co-authored-by: Roman Useinov <roman.useinov@gmail.com>
This commit is contained in:
@@ -584,6 +584,7 @@ impl pallet_staking::Config for Runtime {
|
||||
impl pallet_fast_unstake::Config for Runtime {
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type ControlOrigin = frame_system::EnsureRoot<AccountId>;
|
||||
type BatchSize = ConstU32<128>;
|
||||
type Deposit = ConstU128<{ DOLLARS }>;
|
||||
type Currency = Balances;
|
||||
type Staking = Staking;
|
||||
|
||||
Reference in New Issue
Block a user