From c3fbbdc86326cc5f53dc8822e2b5908d11dc4209 Mon Sep 17 00:00:00 2001 From: WMQ Date: Wed, 22 Nov 2023 16:36:53 +0800 Subject: [PATCH] feat: sync stop because of frontier block import --- .gitignore | 1 + node/src/service.rs | 11 ++--------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 817c0f828d..86c540ba42 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ .cargo/config **/node_modules/ +**/ts-tests/.yarn docker/generated-*/ tee-worker/docker/litentry/ diff --git a/node/src/service.rs b/node/src/service.rs index efe003f24d..adfa58956a 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -45,7 +45,6 @@ use cumulus_primitives_parachain_inherent::{ use cumulus_relay_chain_inprocess_interface::build_inprocess_relay_chain; use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface, RelayChainResult}; use cumulus_relay_chain_minimal_node::build_minimal_relay_chain_node; -use fc_consensus::FrontierBlockImport; use fc_rpc::{EthBlockDataCacheTask, OverrideHandle}; use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; use futures::StreamExt; @@ -164,11 +163,7 @@ pub mod __ { #[evm] type ParachainBlockImport = TParachainBlockImport< Block, - FrontierBlockImport< - Block, - Arc>, - ParachainClient, - >, + Arc>, ParachainBackend, >; @@ -329,11 +324,9 @@ pub mod __ { #[evm] let frontier_backend = rpc_evm::open_frontier_backend(client.clone(), config)?; - #[evm] - let frontier_block_import = FrontierBlockImport::new(client.clone(), client.clone()); #[evm] - let block_import = ParachainBlockImport::new(frontier_block_import, backend.clone()); + let block_import = ParachainBlockImport::new(client.clone(), backend.clone()); #[no_evm] let block_import = ParachainBlockImport::new(client.clone(), backend.clone());