mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
feat: add support for debug_getBadBlock (#20177)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com> Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@@ -1010,7 +1010,7 @@ where
|
||||
.with_executor(Box::new(node.task_executor().clone()))
|
||||
.with_evm_config(node.evm_config().clone())
|
||||
.with_consensus(node.consensus().clone())
|
||||
.build_with_auth_server(module_config, engine_api, eth_api);
|
||||
.build_with_auth_server(module_config, engine_api, eth_api, engine_events.clone());
|
||||
|
||||
// in dev mode we generate 20 random dev-signer accounts
|
||||
if config.dev.dev {
|
||||
@@ -1188,10 +1188,7 @@ impl<'a, N: FullNodeComponents<Types: NodeTypes<ChainSpec: Hardforks + EthereumH
|
||||
/// A `EthApi` that knows how to build `eth` namespace API from [`FullNodeComponents`].
|
||||
pub trait EthApiBuilder<N: FullNodeComponents>: Default + Send + 'static {
|
||||
/// The Ethapi implementation this builder will build.
|
||||
type EthApi: EthApiTypes
|
||||
+ FullEthApiServer<Provider = N::Provider, Pool = N::Pool>
|
||||
+ Unpin
|
||||
+ 'static;
|
||||
type EthApi: FullEthApiServer<Provider = N::Provider, Pool = N::Pool>;
|
||||
|
||||
/// Builds the [`EthApiServer`](reth_rpc_api::eth::EthApiServer) from the given context.
|
||||
fn build_eth_api(
|
||||
|
||||
Reference in New Issue
Block a user