add engine_getBlobV1

This commit is contained in:
realbigsean
2022-02-20 14:54:35 -07:00
parent 3f1e5cee78
commit 203418ffc9
3 changed files with 29 additions and 2 deletions

View File

@@ -11,6 +11,10 @@ pub use types::{
};
pub mod auth;
use crate::engines::ForkChoiceState;
pub use types::{Address, EthSpec, ExecutionPayload, Hash256, Uint256};
use types::{Blob, KZGCommitment};
pub mod http;
pub mod json_structures;
@@ -166,3 +170,9 @@ pub struct ProposeBlindedBlockResponse {
pub latest_valid_hash: Option<Hash256>,
pub validation_error: Option<String>,
}
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct BlobDetailsV1 {
kzg: KZGCommitment,
blob: Vec<Hash256>,
}