mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: use chainspec blob_params for blob calculations (#14139)
This commit is contained in:
@ -19,6 +19,7 @@ use reth_node_core::{
|
||||
};
|
||||
use reth_payload_builder::PayloadStore;
|
||||
use reth_primitives::EthPrimitives;
|
||||
use reth_provider::ChainSpecProvider;
|
||||
use reth_rpc::{
|
||||
eth::{EthApiTypes, FullEthApiServer},
|
||||
EthApi,
|
||||
@ -571,8 +572,12 @@ pub trait EthApiBuilder<N: FullNodeComponents>: 'static {
|
||||
fn build(ctx: &EthApiBuilderCtx<N>) -> Self;
|
||||
}
|
||||
|
||||
impl<N: FullNodeComponents<Types: NodeTypes<Primitives = EthPrimitives>>> EthApiBuilder<N>
|
||||
for EthApi<N::Provider, N::Pool, N::Network, N::Evm>
|
||||
impl<
|
||||
N: FullNodeComponents<
|
||||
Provider: ChainSpecProvider,
|
||||
Types: NodeTypes<Primitives = EthPrimitives>,
|
||||
>,
|
||||
> EthApiBuilder<N> for EthApi<N::Provider, N::Pool, N::Network, N::Evm>
|
||||
{
|
||||
fn build(ctx: &EthApiBuilderCtx<N>) -> Self {
|
||||
Self::with_spawner(ctx)
|
||||
|
||||
Reference in New Issue
Block a user