Skip to content

Commit

Permalink
Done at rpc/evm create
Browse files Browse the repository at this point in the history
  • Loading branch information
NunoAlexandre committed Oct 11, 2023
1 parent 30ab312 commit 376432e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 23 deletions.
31 changes: 9 additions & 22 deletions src/rpc/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,32 +252,19 @@ where
pubsub_notification_sinks.clone(),
)
.into_rpc(),
)?;

/*
EthPubSub::new(
pool,
Arc::clone(&client),
sync.clone(),
subscription_task_executor,
overrides,
pubsub_notification_sinks.clone(),
io.merge(
Net::new(
client.clone(),
network,
// Whether to format the `peer_count` response as Hex (default) or not.
true,
)
*/
.into_rpc(),
)?;

// io.merge(
// Net::new(
// client.clone(),
// network,
// // Whether to format the `peer_count` response as Hex (default) or not.
// true,
// )
// .into_rpc(),
// )?;
//
// io.merge(Web3::new(client).into_rpc())?;
io.merge(Web3::new(client).into_rpc())?;

Ok(io)
}
1 change: 0 additions & 1 deletion src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,6 @@ pub async fn start_development_node(
execute_gas_limit_multiplier: eth_config.execute_gas_limit_multiplier,
forced_parent_hashes: None,
};
// nuno pass pubsub_notification_sinks
let module = rpc::evm::create(module, eth_deps, subscription_task_executor, Arc::new(Default::default()))?;
Ok(module)
},
Expand Down

0 comments on commit 376432e

Please sign in to comment.