git.delta.rocks / unique-network / refs/commits / 0b1e6ad66f4c

difftreelog

fix remove timestamp get from ethereum pending rpc

Yaroslav Bolyukin2023-11-02parent: #4f574e9.patch.diff
in: master
We have no use for aura digest in pending block.

1 file changed

modifiednode/cli/src/rpc.rsdiffbeforeafterboth
1818
19use fc_mapping_sync::{EthereumBlockNotification, EthereumBlockNotificationSinks};19use fc_mapping_sync::{EthereumBlockNotification, EthereumBlockNotificationSinks};
20use fc_rpc::{20use fc_rpc::{EthBlockDataCacheTask, EthConfig, OverrideHandle};
21 pending::AuraConsensusDataProvider, EthBlockDataCacheTask, EthConfig, OverrideHandle,
22};
23use fc_rpc_core::types::{FeeHistoryCache, FilterPool};21use fc_rpc_core::types::{FeeHistoryCache, FilterPool};
24use fp_rpc::NoTransactionConverter;22use fp_rpc::NoTransactionConverter;
221 client.clone(),219 client.clone(),
222 pool.clone(),220 pool.clone(),
223 graph.clone(),221 graph.clone(),
224 // We have no runtimes old enough to only accept converted transactions222 // We have no runtimes old enough to only accept converted transactions.
225 None::<NoTransactionConverter>,223 None::<NoTransactionConverter>,
226 sync.clone(),224 sync.clone(),
227 signers,225 signers,
234 execute_gas_limit_multiplier,232 execute_gas_limit_multiplier,
235 None,233 None,
236 pending_create_inherent_data_providers,234 pending_create_inherent_data_providers,
235 // Our extrinsics have nothing to do with consensus digest items yet.
237 Some(Box::new(AuraConsensusDataProvider::new(client.clone()))),236 None,
238 )237 )
239 .into_rpc(),238 .into_rpc(),
240 )?;239 )?;