mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-17 20:02:43 +00:00
Merge branch 'deneb-free-blobs' of https://github.com/sigp/lighthouse into partial-processing
This commit is contained in:
@@ -47,8 +47,6 @@ pub struct BlobSidecar<T: EthSpec> {
|
||||
pub kzg_proof: KzgProof,
|
||||
}
|
||||
|
||||
pub type BlobSidecarList<T> = VariableList<BlobSidecar<T>, <T as EthSpec>::MaxBlobsPerBlock>;
|
||||
//TODO(sean) is there any other way around this? need it arc blobs for caching in multiple places
|
||||
pub type BlobSidecarList<T> =
|
||||
VariableList<Arc<BlobSidecar<T>>, <T as EthSpec>::MaxBlobsPerBlock>;
|
||||
pub type Blobs<T> = VariableList<Blob<T>, <T as EthSpec>::MaxExtraDataBytes>;
|
||||
|
||||
@@ -7,6 +7,7 @@ use derivative::Derivative;
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use ssz_derive::{Decode, Encode};
|
||||
use ssz_types::VariableList;
|
||||
use std::sync::Arc;
|
||||
use test_random_derive::TestRandom;
|
||||
use tree_hash::TreeHash;
|
||||
use tree_hash_derive::TreeHash;
|
||||
@@ -28,7 +29,7 @@ use tree_hash_derive::TreeHash;
|
||||
#[arbitrary(bound = "T: EthSpec")]
|
||||
#[derivative(Hash(bound = "T: EthSpec"))]
|
||||
pub struct SignedBlobSidecar<T: EthSpec> {
|
||||
pub message: BlobSidecar<T>,
|
||||
pub message: Arc<BlobSidecar<T>>,
|
||||
pub signature: Signature,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user