mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(rpc): expose ethapi in node builder for op customisation (#9444)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -28,7 +28,7 @@ use reth_node_builder::{
|
||||
};
|
||||
use reth_node_core::node_config::NodeConfig;
|
||||
use reth_node_ethereum::{
|
||||
node::{EthereumNetworkBuilder, EthereumPayloadBuilder},
|
||||
node::{EthereumAddOns, EthereumNetworkBuilder, EthereumPayloadBuilder},
|
||||
EthEngineTypes, EthEvmConfig,
|
||||
};
|
||||
use reth_payload_builder::noop::NoopPayloadBuilderService;
|
||||
@ -125,8 +125,9 @@ where
|
||||
TestExecutorBuilder,
|
||||
TestConsensusBuilder,
|
||||
>;
|
||||
type AddOns = EthereumAddOns;
|
||||
|
||||
fn components_builder(self) -> Self::ComponentsBuilder {
|
||||
fn components_builder(&self) -> Self::ComponentsBuilder {
|
||||
ComponentsBuilder::default()
|
||||
.node_types::<N>()
|
||||
.pool(TestPoolBuilder::default())
|
||||
|
||||
Reference in New Issue
Block a user