From 436fc7fcef2923644263420bc6c274249e018fb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lo=C3=AFs?= Date: Thu, 16 Dec 2021 17:03:45 +0100 Subject: [PATCH] [Moonbeam] Delegation minimum Stake from 500 -> 50 GLMR (#1091) * moonbeam: update minimum delegation stake from 500 to 50 GLMR * update moonbeam tests --- runtime/moonbeam/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runtime/moonbeam/src/lib.rs b/runtime/moonbeam/src/lib.rs index 5458257000..a0969ce5a0 100644 --- a/runtime/moonbeam/src/lib.rs +++ b/runtime/moonbeam/src/lib.rs @@ -689,8 +689,9 @@ parameter_types! { /// Minimum stake required to be reserved to be a candidate pub const MinCandidateStk: u128 = 1000 * currency::GLMR * currency::SUPPLY_FACTOR; /// Minimum stake required to be reserved to be a delegator - pub const MinDelegatorStk: u128 = 5 * currency::GLMR * currency::SUPPLY_FACTOR; + pub const MinDelegatorStk: u128 = 500 * currency::MILLIGLMR * currency::SUPPLY_FACTOR; } + impl parachain_staking::Config for Runtime { type Event = Event; type Currency = Balances; @@ -1168,7 +1169,7 @@ mod tests { // staking minimums assert_eq!(MinCollatorStk::get(), Balance::from(100 * KILOGLMR)); assert_eq!(MinCandidateStk::get(), Balance::from(100 * KILOGLMR)); - assert_eq!(MinDelegatorStk::get(), Balance::from(500 * GLMR)); + assert_eq!(MinDelegatorStk::get(), Balance::from(50 * GLMR)); // crowdloan min reward assert_eq!(MinimumReward::get(), Balance::from(0u128));