Skip to content

Commit 73e4084

Browse files
committed
comment headers added
Signed-off-by: nadtech-hub <[email protected]>
1 parent 45bb448 commit 73e4084

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

crates/eip7691/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ homepage.workspace = true
1111
repository.workspace = true
1212

1313
[dependencies]
14-
common = { path = "../common" }
14+
alloy-eip4844-core.workspace = true
1515

1616
[lints]
1717
workspace = true

crates/eip7691/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Contains constants and utility functions for [EIP-7691](https://eips.ethereum.org/EIPS/eip-7691)
22
3-
use common::{fake_exponential, BLOB_TX_MIN_BLOB_GASPRICE};
3+
use alloy_eip4844_core::{fake_exponential, BLOB_TX_MIN_BLOB_GASPRICE};
44

55
/// CL-enforced target blobs per block after Pectra hardfork activation.
66
pub const TARGET_BLOBS_PER_BLOCK_ELECTRA: u64 = 6;

crates/eip7840/Cargo.toml

+15-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,21 @@ homepage.workspace = true
1111
repository.workspace = true
1212

1313
[dependencies]
14-
alloy-eip7691 = { path = "../eip7691" }
15-
common = { path = "../common" }
14+
alloy-primitives = { workspace = true, optional = true }
15+
c-kzg = { workspace = true, optional = true }
16+
17+
# serde
18+
alloy-serde = { workspace = true, optional = true }
19+
serde = { workspace = true, optional = true }
20+
21+
# internal
22+
alloy-eip7691.workspace = true
23+
alloy-eip4844-core.workspace = true
24+
25+
[features]
26+
default = ["std"]
27+
std = ["alloy-primitives/std", "serde?/std"]
28+
serde = ["dep:serde", "alloy-primitives/serde"]
1629

1730
[lints]
1831
workspace = true

crates/eip7840/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use alloy_eip7691::{
44
BLOB_GASPRICE_UPDATE_FRACTION_PECTRA, MAX_BLOBS_PER_BLOCK_ELECTRA,
55
TARGET_BLOBS_PER_BLOCK_ELECTRA,
66
};
7-
use common::{
7+
use alloy_eip4844_core::{
88
fake_exponential, BLOB_GASPRICE_UPDATE_FRACTION, BLOB_TX_MIN_BLOB_GASPRICE, DATA_GAS_PER_BLOB, MAX_BLOBS_PER_BLOCK, TARGET_BLOBS_PER_BLOCK
99
};
1010

0 commit comments

Comments
 (0)