|
#[derive(Debug, Clone, Serialize, Deserialize)] |
|
#[serde(untagged)] |
|
pub enum SubmitBlockRequest { |
|
Capella(CapellaSubmitBlockRequest), |
|
Deneb(DenebSubmitBlockRequest), |
|
Electra(ElectraSubmitBlockRequest), |
|
} |
I just upstreamed this to alloy: alloy-rs/alloy#2391 in 0.15.9
this could be replaced