requests block + blob always post eip4844

This commit is contained in:
realbigsean
2022-12-07 15:30:08 -05:00
parent b616c0a056
commit a0d4aecf30
9 changed files with 85 additions and 36 deletions

View File

@@ -252,6 +252,13 @@ pub struct BlobsByRootRequest {
pub block_roots: VariableList<Hash256, MaxRequestBlocks>,
}
impl From<BlocksByRootRequest> for BlobsByRootRequest {
fn from(r: BlocksByRootRequest) -> Self {
let BlocksByRootRequest { block_roots } = r;
Self { block_roots }
}
}
/* RPC Handling and Grouping */
// Collection of enums and structs used by the Codecs to encode/decode RPC messages