From 33b4403e8674cf2939f5fecc6f48519a59a3faee Mon Sep 17 00:00:00 2001 From: GopherJ Date: Tue, 26 Dec 2023 23:55:05 +0800 Subject: [PATCH] fix: min nominator bond Signed-off-by: GopherJ --- pallets/evm-signatures/src/tests.rs | 1 + pallets/prices/src/mock.rs | 1 + precompiles/assets-erc20/src/mock.rs | 1 + runtime/heiko/src/lib.rs | 2 +- runtime/parallel/src/lib.rs | 2 +- 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pallets/evm-signatures/src/tests.rs b/pallets/evm-signatures/src/tests.rs index d68feb400..8ea450a80 100644 --- a/pallets/evm-signatures/src/tests.rs +++ b/pallets/evm-signatures/src/tests.rs @@ -125,6 +125,7 @@ impl pallet_assets::Config for Runtime { type Freezer = (); type Extra = (); type WeightInfo = (); + type BenchmarkHelper = (); type RemoveItemsLimit = frame_support::traits::ConstU32<1000>; type CallbackHandle = (); #[cfg(feature = "runtime-benchmarks")] diff --git a/pallets/prices/src/mock.rs b/pallets/prices/src/mock.rs index 243368597..f830746a6 100644 --- a/pallets/prices/src/mock.rs +++ b/pallets/prices/src/mock.rs @@ -233,6 +233,7 @@ impl pallet_assets::Config for Test { type Freezer = (); type Extra = (); type WeightInfo = (); + type BenchmarkHelper = (); type RemoveItemsLimit = frame_support::traits::ConstU32<1000>; type CallbackHandle = (); #[cfg(feature = "runtime-benchmarks")] diff --git a/precompiles/assets-erc20/src/mock.rs b/precompiles/assets-erc20/src/mock.rs index e0994b476..00cd708c4 100644 --- a/precompiles/assets-erc20/src/mock.rs +++ b/precompiles/assets-erc20/src/mock.rs @@ -252,6 +252,7 @@ impl pallet_assets::Config for Runtime { type StringLimit = AssetsStringLimit; type Freezer = (); type Extra = (); + type BenchmarkHelper = (); type WeightInfo = pallet_assets::weights::SubstrateWeight; type RemoveItemsLimit = frame_support::traits::ConstU32<1000>; type CallbackHandle = (); diff --git a/runtime/heiko/src/lib.rs b/runtime/heiko/src/lib.rs index 8900176cb..6a5943737 100644 --- a/runtime/heiko/src/lib.rs +++ b/runtime/heiko/src/lib.rs @@ -524,7 +524,7 @@ impl pallet_loans::Config for Runtime { parameter_types! { pub const StakingPalletId: PalletId = PalletId(*b"par/lqsk"); pub const EraLength: BlockNumber = 6 * 1 * 3600 / 6; // 6HOURS - pub const MinStake: Balance = 100_000_000_000; // 0.1KSM + pub const MinStake: Balance = 1100_000_000_000; // 1.1KSM pub const MinUnstake: Balance = 50_000_000_000; // 0.05sKSM pub const StakingCurrency: CurrencyId = KSM; pub const LiquidCurrency: CurrencyId = SKSM; diff --git a/runtime/parallel/src/lib.rs b/runtime/parallel/src/lib.rs index 4782cda92..ec8ff3ef2 100644 --- a/runtime/parallel/src/lib.rs +++ b/runtime/parallel/src/lib.rs @@ -538,7 +538,7 @@ parameter_types! { pub LoansInstantUnstakeFee: Rate = Rate::saturating_from_rational(38u32, 1000u32); // (1.45 ** (3600 * 4 * 36 / 5256000) - 1) * 100% ~= 3.732% pub MatchingPoolFastUnstakeFee: Rate = Rate::saturating_from_rational(1u32, 100u32); pub const BondingDuration: EraIndex = 28; // 28Days - pub const MinNominatorBond: Balance = 100_000_000_000; // 10DOT + pub const MinNominatorBond: Balance = 10_010_000_000_000; // 1001DOT pub const NumSlashingSpans: u32 = 0; pub DerivativeIndexList: Vec = vec![0, 1, 2, 3, 4, 5]; pub const ElectionSolutionStoredOffset: BlockNumber = 12600;