Skip to content

Commit

Permalink
[Moonbeam] Delegation minimum Stake from 500 -> 50 GLMR (#1091)
Browse files Browse the repository at this point in the history
* moonbeam: update minimum delegation stake from 500 to 50 GLMR

* update moonbeam tests
  • Loading branch information
librelois authored Dec 16, 2021
1 parent 3820b18 commit 436fc7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions runtime/moonbeam/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 436fc7f

Please sign in to comment.