mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: phase out alloy-rpc-types usage (#12395)
This commit is contained in:
@ -21,7 +21,7 @@ reth-tracing.workspace = true
|
||||
alloy-consensus = { workspace = true, features = ["serde"] }
|
||||
alloy-eips.workspace = true
|
||||
alloy-provider = { workspace = true, features = ["ws"] }
|
||||
alloy-rpc-types.workspace = true
|
||||
alloy-rpc-types-eth.workspace = true
|
||||
alloy-rpc-types-engine.workspace = true
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
use alloy_consensus::Transaction;
|
||||
use alloy_eips::eip2718::Encodable2718;
|
||||
use alloy_primitives::B256;
|
||||
use alloy_rpc_types::{Block, BlockTransactions};
|
||||
use alloy_rpc_types_engine::{ExecutionPayloadV1, ExecutionPayloadV2, ExecutionPayloadV3};
|
||||
use alloy_rpc_types_eth::{Block, BlockTransactions};
|
||||
use reth_node_api::EngineTypes;
|
||||
use reth_rpc_builder::auth::AuthServerHandle;
|
||||
use reth_tracing::tracing::warn;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
use crate::BlockProvider;
|
||||
use alloy_eips::BlockNumberOrTag;
|
||||
use alloy_rpc_types::Block;
|
||||
use alloy_rpc_types_eth::Block;
|
||||
use reqwest::Client;
|
||||
use reth_tracing::tracing::warn;
|
||||
use serde::Deserialize;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
use crate::BlockProvider;
|
||||
use alloy_eips::BlockNumberOrTag;
|
||||
use alloy_provider::{Provider, ProviderBuilder};
|
||||
use alloy_rpc_types::{Block, BlockTransactionsKind};
|
||||
use alloy_rpc_types_eth::{Block, BlockTransactionsKind};
|
||||
use futures::StreamExt;
|
||||
use tokio::sync::mpsc::Sender;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user