From 6bb4298375fb5f2e1918fb86013ef1095d0892a5 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Fri, 03 Nov 2023 01:43:49 +0000 Subject: [PATCH] Merge pull request #1034 from UniqueNetwork/fix/remove-timestamp-get-from-pending-rpc --- --- a/node/cli/src/rpc.rs +++ b/node/cli/src/rpc.rs @@ -17,9 +17,7 @@ use std::sync::Arc; use fc_mapping_sync::{EthereumBlockNotification, EthereumBlockNotificationSinks}; -use fc_rpc::{ - pending::AuraConsensusDataProvider, EthBlockDataCacheTask, EthConfig, OverrideHandle, -}; +use fc_rpc::{EthBlockDataCacheTask, EthConfig, OverrideHandle}; use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; use fp_rpc::NoTransactionConverter; use jsonrpsee::RpcModule; @@ -221,7 +219,7 @@ client.clone(), pool.clone(), graph.clone(), - // We have no runtimes old enough to only accept converted transactions + // We have no runtimes old enough to only accept converted transactions. None::, sync.clone(), signers, @@ -234,7 +232,8 @@ execute_gas_limit_multiplier, None, pending_create_inherent_data_providers, - Some(Box::new(AuraConsensusDataProvider::new(client.clone()))), + // Our extrinsics have nothing to do with consensus digest items yet. + None, ) .into_rpc(), )?; -- gitstuff