Skip to content

Commit 57edc0f

Browse files
authored
Add serde(default) to max_per_epoch_activation_churn_limit in spec config so that VC is compatible to older BN versions. (sigp#4783)
1 parent 9f37d6d commit 57edc0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

consensus/types/src/chain_spec.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,6 +1019,7 @@ pub struct Config {
10191019
ejection_balance: u64,
10201020
#[serde(with = "serde_utils::quoted_u64")]
10211021
min_per_epoch_churn_limit: u64,
1022+
#[serde(default)]
10221023
#[serde(with = "serde_utils::quoted_u64")]
10231024
max_per_epoch_activation_churn_limit: u64,
10241025
#[serde(with = "serde_utils::quoted_u64")]

0 commit comments

Comments
 (0)