Merge pull request #3826 from ethDreamer/capella

Fixed spec serialization bug
This commit is contained in:
ethDreamer
2022-12-21 11:43:10 -06:00
committed by GitHub

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