Skip to content

Commit

Permalink
comment headers added
Browse files Browse the repository at this point in the history
Signed-off-by: nadtech-hub <[email protected]>
  • Loading branch information
nadtech-hub committed Jan 8, 2025
1 parent 45bb448 commit 73e4084
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/eip7691/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ homepage.workspace = true
repository.workspace = true

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

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/eip7691/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Contains constants and utility functions for [EIP-7691](https://eips.ethereum.org/EIPS/eip-7691)
use common::{fake_exponential, BLOB_TX_MIN_BLOB_GASPRICE};
use alloy_eip4844_core::{fake_exponential, BLOB_TX_MIN_BLOB_GASPRICE};

/// CL-enforced target blobs per block after Pectra hardfork activation.
pub const TARGET_BLOBS_PER_BLOCK_ELECTRA: u64 = 6;
Expand Down
17 changes: 15 additions & 2 deletions crates/eip7840/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,21 @@ homepage.workspace = true
repository.workspace = true

[dependencies]
alloy-eip7691 = { path = "../eip7691" }
common = { path = "../common" }
alloy-primitives = { workspace = true, optional = true }
c-kzg = { workspace = true, optional = true }

# serde
alloy-serde = { workspace = true, optional = true }
serde = { workspace = true, optional = true }

# internal
alloy-eip7691.workspace = true
alloy-eip4844-core.workspace = true

[features]
default = ["std"]
std = ["alloy-primitives/std", "serde?/std"]
serde = ["dep:serde", "alloy-primitives/serde"]

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/eip7840/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use alloy_eip7691::{
BLOB_GASPRICE_UPDATE_FRACTION_PECTRA, MAX_BLOBS_PER_BLOCK_ELECTRA,
TARGET_BLOBS_PER_BLOCK_ELECTRA,
};
use common::{
use alloy_eip4844_core::{
fake_exponential, BLOB_GASPRICE_UPDATE_FRACTION, BLOB_TX_MIN_BLOB_GASPRICE, DATA_GAS_PER_BLOB, MAX_BLOBS_PER_BLOCK, TARGET_BLOBS_PER_BLOCK
};

Expand Down

0 comments on commit 73e4084

Please sign in to comment.