Skip to content

Commit

Permalink
validator set renaming from active -> consensus
Browse files Browse the repository at this point in the history
  • Loading branch information
brentstone committed Feb 3, 2023
1 parent e0bc6d3 commit d45e9d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/src/lib/config/genesis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ pub mod genesis_config {

#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct PosParamsConfig {
// Maximum number of active validators.
// Maximum number of consensus validators.
// XXX: u64 doesn't work with toml-rs!
pub max_validator_slots: u64,
// Pipeline length (in epochs).
Expand Down
2 changes: 1 addition & 1 deletion genesis/dev.toml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ max_proposal_bytes = 22020096

# Proof of stake parameters.
[pos_params]
# Maximum number of active validators.
# Maximum number of consensus validators.
max_validator_slots = 128
# Pipeline length (in epochs). Any change in the validator set made in
# epoch 'n' will become active in epoch 'n + pipeline_len'.
Expand Down
2 changes: 1 addition & 1 deletion genesis/e2e-tests-single-node.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ pos_gain_d = 0.1

# Proof of stake parameters.
[pos_params]
# Maximum number of active validators.
# Maximum number of consensus validators.
max_validator_slots = 128
# Pipeline length (in epochs). Any change in the validator set made in
# epoch 'n' will become active in epoch 'n + pipeline_len'.
Expand Down

0 comments on commit d45e9d0

Please sign in to comment.