chore: move Filter to rpc-types (#2648)

This commit is contained in:
Matthias Seitz
2023-05-12 18:15:03 +02:00
committed by GitHub
parent f2cf105227
commit 4a492f6cd1
10 changed files with 1268 additions and 1245 deletions

View File

@ -1,14 +1,12 @@
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
use reth_primitives::{
filter::Filter, Address, BlockHash, BlockId, BlockNumberOrTag, Bytes, H256, U256, U64,
};
use reth_primitives::{Address, BlockHash, BlockId, BlockNumberOrTag, Bytes, H256, U256, U64};
use reth_rpc_types::{
engine::{
ExecutionPayload, ExecutionPayloadBodies, ExecutionPayloadEnvelope, ForkchoiceState,
ForkchoiceUpdated, PayloadAttributes, PayloadId, PayloadStatus, TransitionConfiguration,
},
state::StateOverride,
CallRequest, Log, RichBlock, SyncStatus,
CallRequest, Filter, Log, RichBlock, SyncStatus,
};
#[cfg_attr(not(feature = "client"), rpc(server))]

View File

@ -1,6 +1,5 @@
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
use reth_primitives::filter::Filter;
use reth_rpc_types::{FilterChanges, FilterId, Log};
use reth_rpc_types::{Filter, FilterChanges, FilterId, Log};
/// Rpc Interface for poll-based ethereum filter API.
#[cfg_attr(not(feature = "client"), rpc(server))]