From 3e033c03bef927594215c162dfdcc464efd216c9 Mon Sep 17 00:00:00 2001 From: Tomasz Polaczyk Date: Fri, 16 Feb 2024 14:14:48 +0100 Subject: [PATCH] Remove more unused exports --- container-chains/templates/frontier/node/src/eth.rs | 5 ----- container-chains/templates/frontier/node/src/rpc/eth.rs | 2 +- container-chains/templates/simple/node/src/rpc.rs | 2 +- node/src/rpc.rs | 2 +- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/container-chains/templates/frontier/node/src/eth.rs b/container-chains/templates/frontier/node/src/eth.rs index f99e04145..2ddf51e76 100644 --- a/container-chains/templates/frontier/node/src/eth.rs +++ b/container-chains/templates/frontier/node/src/eth.rs @@ -14,11 +14,6 @@ // You should have received a copy of the GNU General Public License // along with Tanssi. If not, see . -// Frontier -pub use { - fc_consensus::FrontierBlockImport, - fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}, -}; // Local use container_chain_template_frontier_runtime::opaque::Block; diff --git a/container-chains/templates/frontier/node/src/rpc/eth.rs b/container-chains/templates/frontier/node/src/rpc/eth.rs index 81a728a10..7a9597e84 100644 --- a/container-chains/templates/frontier/node/src/rpc/eth.rs +++ b/container-chains/templates/frontier/node/src/rpc/eth.rs @@ -25,7 +25,7 @@ use { // Frontier use fc_db::Backend as FrontierBackend; pub use { - fc_rpc::{EthBlockDataCacheTask, EthConfig, OverrideHandle, StorageOverride}, + fc_rpc::{EthBlockDataCacheTask, OverrideHandle}, fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}, fc_storage::overrides_handle, }; diff --git a/container-chains/templates/simple/node/src/rpc.rs b/container-chains/templates/simple/node/src/rpc.rs index 2ce1392a8..a65afce7b 100644 --- a/container-chains/templates/simple/node/src/rpc.rs +++ b/container-chains/templates/simple/node/src/rpc.rs @@ -21,7 +21,7 @@ #![warn(missing_docs)] -pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; +pub use sc_rpc::DenyUnsafe; use { container_chain_template_simple_runtime::{opaque::Block, AccountId, Hash, Index as Nonce}, diff --git a/node/src/rpc.rs b/node/src/rpc.rs index d68f61736..5c37f6036 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -21,7 +21,7 @@ #![warn(missing_docs)] -pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; +pub use sc_rpc::DenyUnsafe; use { cumulus_primitives_core::ParaId, dancebox_runtime::{opaque::Block, AccountId, Index as Nonce},