rpc: rm useless alloy-rpc-types-anvil reexport (#11094)

Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
This commit is contained in:
Thomas Coratger
2024-09-22 14:44:03 +02:00
committed by GitHub
parent fdcfe6ef29
commit 405fc4361a
7 changed files with 6 additions and 11 deletions

View File

@@ -1,10 +1,8 @@
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
use alloy_primitives::{Address, Bytes, B256, U256};
use reth_rpc_types::{
anvil::{Forking, Metadata, MineOptions, NodeInfo},
Block,
};
use alloy_rpc_types_anvil::{Forking, Metadata, MineOptions, NodeInfo};
use reth_rpc_types::Block;
/// Anvil rpc interface.
/// https://book.getfoundry.sh/reference/anvil/#custom-methods

View File

@@ -1,6 +1,6 @@
use alloy_primitives::U256;
use alloy_rpc_types_anvil::MineOptions;
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
use reth_rpc_types::anvil::MineOptions;
/// Ganache rpc interface.
/// https://github.com/trufflesuite/ganache/tree/develop/docs

View File

@@ -1,6 +1,6 @@
use alloy_primitives::{Address, Bytes, B256, U256};
use alloy_rpc_types_anvil::{Forking, Metadata};
use jsonrpsee::{core::RpcResult, proc_macros::rpc};
use reth_rpc_types::anvil::{Forking, Metadata};
/// Hardhat rpc interface.
/// https://hardhat.org/hardhat-network/docs/reference#hardhat-network-methods