primitives: rm alloy_eips::eip2930 reexports (#11188)

This commit is contained in:
Thomas Coratger
2024-09-25 11:15:59 +02:00
committed by GitHub
parent dba6c01295
commit 2b20a0dbfc
9 changed files with 22 additions and 25 deletions

View File

@@ -1,6 +1,7 @@
//! Implementation of the [`jsonrpsee`] generated [`EthApiServer`] trait. Handles RPC requests for
//! the `eth_` namespace.
use alloy_dyn_abi::TypedData;
use alloy_eips::eip2930::AccessListResult;
use alloy_json_rpc::RpcObject;
use alloy_primitives::{Address, Bytes, B256, B64, U256, U64};
use alloy_rpc_types::{
@@ -12,7 +13,7 @@ use alloy_rpc_types::{
};
use alloy_rpc_types_eth::transaction::TransactionRequest;
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
use reth_primitives::{transaction::AccessListResult, BlockId, BlockNumberOrTag};
use reth_primitives::{BlockId, BlockNumberOrTag};
use reth_rpc_server_types::{result::internal_rpc_err, ToRpcResult};
use tracing::trace;

View File

@@ -4,7 +4,7 @@
use crate::{
AsEthApiError, FromEthApiError, FromEvmError, FullEthApiTypes, IntoEthApiError, RpcBlock,
};
use alloy_eips::eip1559::calc_next_block_base_fee;
use alloy_eips::{eip1559::calc_next_block_base_fee, eip2930::AccessListResult};
use alloy_primitives::{Bytes, TxKind, B256, U256};
use alloy_rpc_types::{
simulate::{SimBlock, SimulatePayload, SimulatedBlock},
@@ -20,7 +20,6 @@ use reth_primitives::{
BlockEnv, CfgEnvWithHandlerCfg, EnvWithHandlerCfg, ExecutionResult, HaltReason,
ResultAndState, TransactTo, TxEnv,
},
transaction::AccessListResult,
Header, TransactionSignedEcRecovered,
};
use reth_provider::{ChainSpecProvider, HeaderProvider, StateProvider};