Skip to content

Commit 633921a

Browse files
authored
refactor network cli args (#330)
1 parent 9edd11c commit 633921a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

crates/node/src/args.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use alloy_signer_aws::AwsSigner;
1515
use alloy_signer_local::PrivateKeySigner;
1616
use alloy_transport::layers::RetryBackoffLayer;
1717
use aws_sdk_kms::config::BehaviorVersion;
18+
use clap::ArgAction;
1819
use reth_chainspec::EthChainSpec;
1920
use reth_network::NetworkProtocols;
2021
use reth_network_api::FullNetwork;
@@ -520,10 +521,10 @@ impl Default for ChainOrchestratorArgs {
520521
pub struct RollupNodeNetworkArgs {
521522
/// A bool to represent if new blocks should be bridged from the eth wire protocol to the
522523
/// scroll wire protocol.
523-
#[arg(long = "network.bridge")]
524+
#[arg(long = "network.bridge", default_value_t = true, action = ArgAction::Set)]
524525
pub enable_eth_scroll_wire_bridge: bool,
525526
/// A bool that represents if the scroll wire protocol should be enabled.
526-
#[arg(long = "network.scroll-wire")]
527+
#[arg(long = "network.scroll-wire", default_value_t = true, action = ArgAction::Set)]
527528
pub enable_scroll_wire: bool,
528529
/// The URL for the Sequencer RPC. (can be both HTTP and WS)
529530
#[arg(

0 commit comments

Comments
 (0)