rpc-types: replace reth TransactionRequest by alloy (#11091)

This commit is contained in:
Thomas Coratger
2024-09-21 20:52:59 +02:00
committed by GitHub
parent 5113e29074
commit b9712c5ec5
27 changed files with 43 additions and 24 deletions

View File

@@ -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.