Fixed spec serialization bug

This commit is contained in:
Mark Mackey 2022-12-21 11:40:21 -06:00
parent bf468692f7
commit 3d253abadc

View File

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