Add data columns sidecars debug beacon API (#7591)

Beacon API spec PR: https://github.com/ethereum/beacon-APIs/pull/537
This commit is contained in:
Jimmy Chen
2025-06-15 15:20:16 +01:00
committed by GitHub
parent 4fc0665ccd
commit 6135f417a2
3 changed files with 109 additions and 2 deletions

View File

@@ -701,6 +701,13 @@ pub struct BlobIndicesQuery {
pub indices: Option<Vec<u64>>,
}
#[derive(Clone, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct DataColumnIndicesQuery {
#[serde(default, deserialize_with = "option_query_vec")]
pub indices: Option<Vec<u64>>,
}
#[derive(Clone, Serialize, Deserialize)]
#[serde(transparent)]
pub struct ValidatorIndexData(#[serde(with = "serde_utils::quoted_u64_vec")] pub Vec<u64>);