Skip to content

Commit 72d2d30

Browse files
authored
Merge pull request #48 from NillionNetwork/chore/default-bridge-value
chore: default bridge value to 0 in keeper
2 parents b699b58 + 58bbebe commit 72d2d30

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/bin/keeper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ struct TickContext {
107107
#[tokio::main]
108108
async fn main() -> Result<()> {
109109
tracing_subscriber::registry()
110-
.with(fmt::layer().with_ansi(true))
110+
.with(fmt::layer())
111111
.with(EnvFilter::from_default_env().add_directive(tracing::Level::INFO.into()))
112112
.init();
113113

src/config/keeper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub struct CliArgs {
4242
pub private_key: String,
4343

4444
/// ETH value (wei) to forward for L1 -> L2 bridge messages
45-
#[arg(long, env = "L1_BRIDGE_VALUE_WEI")]
45+
#[arg(long, env = "L1_BRIDGE_VALUE_WEI", default_value_t = Default::default())]
4646
pub l1_bridge_value_wei: U256,
4747

4848
/// Lookback blocks for historical event queries

0 commit comments

Comments
 (0)