Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

Commit 5f90478

Browse files
Update main.rs
1 parent c871c8f commit 5f90478

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

bin/alphanet/src/main.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ use alphanet_node::{chainspec::AlphanetChainSpecParser, node::AlphaNetNode};
3030
use alphanet_wallet::{AlphaNetWallet, AlphaNetWalletApiServer};
3131
use async_trait::async_trait;
3232
use clap::Parser;
33+
use eyre::Context;
3334
use futures::StreamExt;
3435
use jsonrpsee::{
3536
core::RpcResult,
@@ -43,13 +44,7 @@ use reth_optimism_node::{args::RollupArgs, node::OptimismAddOns};
4344
use reth_optimism_rpc::sequencer::SequencerClient;
4445
use reth_provider::providers::BlockchainProvider2;
4546
use serde::{Deserialize, Serialize};
46-
use std::{
47-
future::Future,
48-
pin::Pin,
49-
task::{Poll},
50-
};
51-
use std::sync::mpsc;
52-
use eyre::Context;
47+
use std::{future::Future, pin::Pin, sync::mpsc, task::Poll};
5348
use tokio::sync::{mpsc, oneshot};
5449
use tokio_stream::wrappers::UnboundedReceiverStream;
5550
use tracing::{info, warn};
@@ -96,7 +91,8 @@ fn main() {
9691
.collect::<Result<_, _>>()
9792
.wrap_err("No valid EXP0001 delegations specified")?;
9893

99-
ctx.modules.merge_configured(WallTimeRpcExt { to_exex: rpc_tx }.into_rpc())?;
94+
ctx.modules
95+
.merge_configured(WallTimeRpcExt { to_exex: rpc_tx }.into_rpc())?;
10096

10197
ctx.modules.merge_configured(
10298
AlphaNetWallet::new(

0 commit comments

Comments
 (0)