Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
laynath242@gmail.com committed Aug 19, 2021
1 parent 59a6e9a commit 6d67682
Show file tree
Hide file tree
Showing 83 changed files with 3,352 additions and 2,137 deletions.
121 changes: 87 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node/rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ pub fn create_full<C, P, SC, B>(
io.extend_with(
EthFilterApiServer::to_delegate(EthFilterApi::new(
client.clone(),
frontier_backend,
filter_pool.clone(),
500 as usize, // max stored filters
overrides.clone(),
Expand Down
8 changes: 7 additions & 1 deletion node/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ use open_fb::open_frontier_backend;
use fc_consensus::FrontierBlockImport;
use fc_rpc::EthTask;
use fc_rpc_core::types::{FilterPool, PendingTransactions};
use fc_mapping_sync::MappingSyncWorker;
use fc_mapping_sync::{MappingSyncWorker, SyncStrategy};

pub use selendra_client::{
SelendraExecutor, FullBackend, FullClient, AbstractClient, Client, ClientHandle, ExecuteWithClient,
Expand Down Expand Up @@ -668,10 +668,16 @@ pub fn new_full<RuntimeApi, Executor, OverseerGenerator>(
client.clone(),
backend.clone(),
frontier_backend.clone(),
SyncStrategy::Normal,
)
.for_each(|()| futures::future::ready(())),
);

task_manager.spawn_essential_handle().spawn(
"frontier-schema-cache-task",
EthTask::ethereum_schema_cache_task(Arc::clone(&client), Arc::clone(&frontier_backend)),
);

let network_clone = network.clone();
let rpc_extensions_builder = move |deny_unsafe, subscription_executor| {
_rpc_extensions_builder(deny_unsafe, subscription_executor, network_clone.clone())
Expand Down
Loading

0 comments on commit 6d67682

Please sign in to comment.