Skip to content

Commit 9141db7

Browse files
committed
use alloy kzg env settings
1 parent 37cd874 commit 9141db7

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/reth/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ reth-engine-util.workspace = true
6868
reth-prune.workspace = true
6969

7070
# crypto
71-
alloy-eips.workspace = true
71+
alloy-eips = { workspace = true, features = ["kzg"] }
7272
alloy-rlp.workspace = true
7373
alloy-rpc-types = { workspace = true, features = ["engine"] }
7474
alloy-consensus.workspace = true

bin/reth/src/commands/debug_cmd/build_block.rs

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
//! Command for debugging block building.
22
use alloy_consensus::TxEip4844;
3-
use alloy_eips::{eip2718::Encodable2718, eip4844::BlobTransactionSidecar};
3+
use alloy_eips::{
4+
eip2718::Encodable2718,
5+
eip4844::{env_settings::EnvKzgSettings, BlobTransactionSidecar},
6+
};
47
use alloy_primitives::{Address, Bytes, B256, U256};
58
use alloy_rlp::Decodable;
69
use alloy_rpc_types::engine::{BlobsBundleV1, PayloadAttributes};
@@ -33,11 +36,7 @@ use reth_provider::{
3336
BlockHashReader, BlockReader, BlockWriter, ChainSpecProvider, ProviderFactory,
3437
StageCheckpointReader, StateProviderFactory,
3538
};
36-
use reth_revm::{
37-
cached::CachedReads,
38-
database::StateProviderDatabase,
39-
primitives::{EnvKzgSettings, KzgSettings},
40-
};
39+
use reth_revm::{cached::CachedReads, database::StateProviderDatabase, primitives::KzgSettings};
4140
use reth_stages::StageId;
4241
use reth_transaction_pool::{
4342
blobstore::InMemoryBlobStore, BlobStore, EthPooledTransaction, PoolConfig, TransactionOrigin,

crates/node/builder/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ reth-transaction-pool.workspace = true
6161
## ethereum
6262
alloy-primitives.workspace = true
6363
alloy-rpc-types = { workspace = true, features = ["engine"] }
64+
alloy-eips = { workspace = true, features = ["kzg"] }
6465
alloy-consensus.workspace = true
65-
revm-primitives.workspace = true
6666

6767
## async
6868
futures.workspace = true

crates/node/builder/src/builder/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use crate::{
99
rpc::{RethRpcAddOns, RethRpcServerHandles, RpcContext},
1010
DefaultNodeLauncher, LaunchNode, Node, NodeHandle,
1111
};
12+
use alloy_eips::eip4844::env_settings::EnvKzgSettings;
1213
use futures::Future;
1314
use reth_blockchain_tree::externals::NodeTypesForTree;
1415
use reth_chainspec::{EthChainSpec, EthereumHardforks, Hardforks};
@@ -38,7 +39,6 @@ use reth_provider::{
3839
};
3940
use reth_tasks::TaskExecutor;
4041
use reth_transaction_pool::{PoolConfig, PoolTransaction, TransactionPool};
41-
use revm_primitives::EnvKzgSettings;
4242
use secp256k1::SecretKey;
4343
use std::sync::Arc;
4444
use tracing::{info, trace, warn};

0 commit comments

Comments
 (0)