Add serde(default) to max_per_epoch_activation_churn_limit in spec config so that VC is compatible to older BN versions. (#4783)

This commit is contained in:
Jimmy Chen 2023-09-26 22:48:32 +10:00 committed by GitHub
parent 9f37d6df77
commit 57edc0f3ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")]