Skip to content

Commit

Permalink
Merge pull request #301 from peaqnetwork/feat/1207452617113209_delega…
Browse files Browse the repository at this point in the history
…tor_per_collator

Update the delegator per collator number
  • Loading branch information
sfffaaa authored Oct 21, 2024
2 parents 9299c9c + 5dca01a commit f059a11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions runtime/krest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -841,9 +841,9 @@ pub mod staking {
/// Maximum 25 delegators per collator at launch, might be increased later
#[derive(Debug, PartialEq, Eq)]
pub const MaxDelegatorsPerCollator: u32 = 25;
/// Maximum 1 collator per delegator at launch, will be increased later
/// Maximum 8 collators per delegator at launch, will be increased later
#[derive(Debug, PartialEq, Eq)]
pub const MaxCollatorsPerDelegator: u32 = 1;
pub const MaxCollatorsPerDelegator: u32 = 8;
/// Minimum stake required to be reserved to be a collator is 1000 KREST
pub const MinCollatorStake: Balance = 50_000 * DOLLARS;
/// Minimum stake required to be reserved to be a delegator is 100 KREST
Expand Down
4 changes: 2 additions & 2 deletions runtime/peaq-dev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -847,9 +847,9 @@ pub mod staking {
/// Maximum 25 delegators per collator at launch, might be increased later
#[derive(Debug, PartialEq, Eq)]
pub const MaxDelegatorsPerCollator: u32 = 25;
/// Maximum 1 collator per delegator at launch, will be increased later
/// Maximum 8 collators per delegator at launch, will be increased later
#[derive(Debug, PartialEq, Eq)]
pub const MaxCollatorsPerDelegator: u32 = 1;
pub const MaxCollatorsPerDelegator: u32 = 8;
/// Minimum stake required to be reserved to be a collator is 32_000
pub const MinCollatorStake: Balance = 32_000;
/// Minimum stake required to be reserved to be a delegator is 1000
Expand Down
4 changes: 2 additions & 2 deletions runtime/peaq/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -888,9 +888,9 @@ pub mod staking {
/// No maximum number of delegators per collator at launch
#[derive(Debug, PartialEq, Eq)]
pub const MaxDelegatorsPerCollator: u32 = 32;
/// Maximum 1 collator per delegator at launch, will be increased later
/// Maximum 8 collators per delegator at launch, will be increased later
#[derive(Debug, PartialEq, Eq)]
pub const MaxCollatorsPerDelegator: u32 = 1;
pub const MaxCollatorsPerDelegator: u32 = 8;
/// Minimum stake required to be reserved to be a collator is 50_000 * DOLLARS
pub const MinCollatorStake: Balance = 50_000 * DOLLARS;
/// Minimum stake required to be reserved to be a delegator is 100 * DOLLARS
Expand Down

0 comments on commit f059a11

Please sign in to comment.