@@ -858,7 +858,7 @@ pub struct BlobsBundleV2 {
858
858
/// All commitments in the bundle.
859
859
pub commitments : Vec < alloy_consensus:: Bytes48 > ,
860
860
/// All cell proofs in the bundle.
861
- pub cell_proofs : Vec < alloy_consensus:: Bytes48 > ,
861
+ pub proofs : Vec < alloy_consensus:: Bytes48 > ,
862
862
/// All blobs in the bundle.
863
863
pub blobs : Vec < alloy_consensus:: Blob > ,
864
864
}
@@ -868,16 +868,16 @@ impl BlobsBundleV2 {
868
868
///
869
869
/// This folds the sidecar fields into single commit, proof, and blob vectors.
870
870
pub fn new ( sidecars : impl IntoIterator < Item = BlobTransactionSidecarEip7594 > ) -> Self {
871
- let ( commitments, cell_proofs , blobs) = sidecars. into_iter ( ) . fold (
871
+ let ( commitments, proofs , blobs) = sidecars. into_iter ( ) . fold (
872
872
( Vec :: new ( ) , Vec :: new ( ) , Vec :: new ( ) ) ,
873
- |( mut commitments, mut cell_proofs , mut blobs) , sidecar| {
873
+ |( mut commitments, mut proofs , mut blobs) , sidecar| {
874
874
commitments. extend ( sidecar. commitments ) ;
875
- cell_proofs . extend ( sidecar. cell_proofs ) ;
875
+ proofs . extend ( sidecar. cell_proofs ) ;
876
876
blobs. extend ( sidecar. blobs ) ;
877
- ( commitments, cell_proofs , blobs)
877
+ ( commitments, proofs , blobs)
878
878
} ,
879
879
) ;
880
- Self { commitments, cell_proofs , blobs }
880
+ Self { commitments, proofs , blobs }
881
881
}
882
882
883
883
/// Returns a new empty blobs bundle.
@@ -896,7 +896,7 @@ impl BlobsBundleV2 {
896
896
pub fn take ( & mut self , len : usize ) -> ( Vec < Bytes48 > , Vec < Bytes48 > , Vec < Blob > ) {
897
897
(
898
898
self . commitments . drain ( 0 ..len) . collect ( ) ,
899
- self . cell_proofs . drain ( 0 ..len * CELLS_PER_EXT_BLOB ) . collect ( ) ,
899
+ self . proofs . drain ( 0 ..len * CELLS_PER_EXT_BLOB ) . collect ( ) ,
900
900
self . blobs . drain ( 0 ..len) . collect ( ) ,
901
901
)
902
902
}
0 commit comments