Skip to content

Commit

Permalink
Add serde(default) to max_per_epoch_activation_churn_limit in spe…
Browse files Browse the repository at this point in the history
…c config so that VC is compatible to older BN versions. (sigp#4783)
  • Loading branch information
jimmygchen authored Sep 26, 2023
1 parent 9f37d6d commit 57edc0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consensus/types/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,7 @@ pub struct Config {
ejection_balance: u64,
#[serde(with = "serde_utils::quoted_u64")]
min_per_epoch_churn_limit: u64,
#[serde(default)]
#[serde(with = "serde_utils::quoted_u64")]
max_per_epoch_activation_churn_limit: u64,
#[serde(with = "serde_utils::quoted_u64")]
Expand Down

0 comments on commit 57edc0f

Please sign in to comment.