Skip to content

Commit

Permalink
fix: min nominator bond
Browse files Browse the repository at this point in the history
Signed-off-by: GopherJ <[email protected]>
  • Loading branch information
0x8f701 committed Dec 26, 2023
1 parent 6b77404 commit 33b4403
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions pallets/evm-signatures/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
1 change: 1 addition & 0 deletions pallets/prices/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
1 change: 1 addition & 0 deletions precompiles/assets-erc20/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Runtime>;
type RemoveItemsLimit = frame_support::traits::ConstU32<1000>;
type CallbackHandle = ();
Expand Down
2 changes: 1 addition & 1 deletion runtime/heiko/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion runtime/parallel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u16> = vec![0, 1, 2, 3, 4, 5];
pub const ElectionSolutionStoredOffset: BlockNumber = 12600;
Expand Down

0 comments on commit 33b4403

Please sign in to comment.