Skip to content

Commit 36816fe

Browse files
committed
refactor after rebase
Signed-off-by: Danil <[email protected]>
1 parent af6f11d commit 36816fe

File tree

7 files changed

+4
-11
lines changed

7 files changed

+4
-11
lines changed

core/Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/lib/eth_client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ rlp.workspace = true
3232
anyhow.workspace = true
3333
serde_json.workspace = true
3434
tokio.workspace = true
35-
c-kzg.workspace = true
35+
c-kzg = { workspace = true, features = ["ethereum_kzg_settings"] }
3636

3737
[dev-dependencies]
3838
assert_matches.workspace = true

core/lib/eth_client/src/types.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,6 @@ mod tests {
501501
commitment,
502502
proof,
503503
versioned_hash,
504-
cell_proofs: None,
505504
}],
506505
}),
507506
);
@@ -609,14 +608,12 @@ mod tests {
609608
commitment: commitment_1,
610609
proof: proof_1,
611610
versioned_hash: versioned_hash_1.to_fixed_bytes().to_vec(),
612-
cell_proofs: None,
613611
},
614612
SidecarBlobV1 {
615613
blob: blob_2,
616614
commitment: commitment_2,
617615
proof: proof_2,
618616
versioned_hash: versioned_hash_2.to_fixed_bytes().to_vec(),
619-
cell_proofs: None,
620617
},
621618
],
622619
}),

core/lib/types/src/eth_sender.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ pub struct SidecarBlobV1 {
3737
pub commitment: Vec<u8>,
3838
/// Blob proof
3939
pub proof: Vec<u8>,
40-
/// Cell proofs
41-
pub cell_proofs: Option<Vec<Vec<u8>>>,
4240
/// Blob commitment versioned hash
4341
pub versioned_hash: Vec<u8>,
4442
}
@@ -63,7 +61,7 @@ pub struct EthTxBlobSidecarV1 {
6361
pub blobs: Vec<SidecarBlobV1>,
6462
}
6563

66-
/// A first version of sidecars for blob transactions as they are described in EIP4844.
64+
/// Second version of sidecars for blob transactions as they are described in EIP7594.
6765
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq)]
6866
pub struct EthTxBlobSidecarV2 {
6967
/// A vector of blobs for this tx and their commitments and proofs.

core/node/eth_sender/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ async-trait.workspace = true
3434
chrono.workspace = true
3535
thiserror.workspace = true
3636
tracing.workspace = true
37-
c-kzg = { workspace = true, features = ["ethereum_kzg_settings"] }
3837

3938
[dev-dependencies]
4039
test-casing.workspace = true

core/node/eth_sender/src/eth_tx_aggregator.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,6 @@ impl EthTxAggregator {
10871087
commitment: kzg_info.kzg_commitment.to_vec(),
10881088
proof: kzg_info.blob_proof.to_vec(),
10891089
versioned_hash: kzg_info.versioned_hash.to_vec(),
1090-
cell_proofs: None,
10911090
}
10921091
})
10931092
.collect::<Vec<SidecarBlobV1>>();
@@ -1097,7 +1096,7 @@ impl EthTxAggregator {
10971096
blobs: sidecar
10981097
.into_iter()
10991098
.map(|sidecar_blob| {
1100-
convert_eip4844_sidecar_to_eip7594_sidecar(sidecar_blob).into()
1099+
convert_eip4844_sidecar_to_eip7594_sidecar(sidecar_blob)
11011100
})
11021101
.collect(),
11031102
}

prover/Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)