From 3d253abadcb9381e95ca6d517ceef80cf707be0b Mon Sep 17 00:00:00 2001 From: Mark Mackey Date: Wed, 21 Dec 2022 11:40:21 -0600 Subject: [PATCH] Fixed spec serialization bug --- consensus/types/src/config_and_preset.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/consensus/types/src/config_and_preset.rs b/consensus/types/src/config_and_preset.rs index 9a618f7cc..ac93818b9 100644 --- a/consensus/types/src/config_and_preset.rs +++ b/consensus/types/src/config_and_preset.rs @@ -28,6 +28,7 @@ pub struct ConfigAndPreset { #[serde(flatten)] pub bellatrix_preset: BellatrixPreset, #[superstruct(only(Capella))] + #[serde(flatten)] pub capella_preset: CapellaPreset, /// The `extra_fields` map allows us to gracefully decode fields intended for future hard forks. #[serde(flatten)]