diff --git a/rs/consensus/dkg/src/lib.rs b/rs/consensus/dkg/src/lib.rs index 45e089324304..1dbb90c71b7f 100644 --- a/rs/consensus/dkg/src/lib.rs +++ b/rs/consensus/dkg/src/lib.rs @@ -995,10 +995,7 @@ mod tests { for dkg_id in summary.dkg.configs.keys() { assert_eq!(dkg_id.target_subnet, NiDkgTargetSubnet::Local); } - assert_eq!( - summary.dkg.transcripts_for_remote_subnets.as_ref(), - Some(&vec![]) - ); + assert_eq!(summary.dkg.transcripts_for_remote_subnets.as_ref(), None); // Verify that the remote_dkg_attempts are set to `Completed`. assert_eq!( summary.dkg.remote_dkg_attempts.get(&target_id), diff --git a/rs/types/types/src/consensus/dkg.rs b/rs/types/types/src/consensus/dkg.rs index c93f97dc7d11..6067162941ca 100644 --- a/rs/types/types/src/consensus/dkg.rs +++ b/rs/types/types/src/consensus/dkg.rs @@ -268,7 +268,7 @@ pub struct DkgSummary { #[serde_as(as = "Vec<(_, _)>")] next_transcripts: BTreeMap, /// Transcripts that are computed for remote subnets. - pub transcripts_for_remote_subnets: BackwardsCompatible, true>, + pub transcripts_for_remote_subnets: BackwardsCompatible, false>, /// The length of the current interval in rounds (following the start /// block). pub interval_length: Height, @@ -301,7 +301,7 @@ impl DkgSummary { .collect(), current_transcripts, next_transcripts, - transcripts_for_remote_subnets: BackwardsCompatible::new(vec![]), + transcripts_for_remote_subnets: BackwardsCompatible::empty(), registry_version, interval_length, next_interval_length,