mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
rpc-types: replace reth TransactionRequest by alloy (#11091)
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
use alloy_eips::{eip4844::BlobAndProofV1, BlockId, BlockNumberOrTag};
|
||||
use alloy_json_rpc::RpcObject;
|
||||
use alloy_primitives::{Address, BlockHash, Bytes, B256, U256, U64};
|
||||
use alloy_rpc_types_eth::transaction::TransactionRequest;
|
||||
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
|
||||
use reth_engine_primitives::EngineTypes;
|
||||
use reth_rpc_types::{
|
||||
@@ -16,7 +17,6 @@ use reth_rpc_types::{
|
||||
},
|
||||
state::StateOverride,
|
||||
BlockOverrides, EIP1186AccountProofResponse, Filter, JsonStorageKey, Log, SyncStatus,
|
||||
TransactionRequest,
|
||||
};
|
||||
// NOTE: We can't use associated types in the `EngineApi` trait because of jsonrpsee, so we use a
|
||||
// generic here. It would be nice if the rpc macro would understand which types need to have serde.
|
||||
|
||||
Reference in New Issue
Block a user