Skip to content

Commit

Permalink
use config chain-id before using default (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec authored Jan 9, 2025
1 parent 064efc4 commit fbf14a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async fn main() -> anyhow::Result<()> {
.with_l1_pubdata_price(
config.l1_pubdata_price.or(Some(fee_v2.l1_pubdata_price())),
)
.with_chain_id(Some(TEST_NODE_NETWORK_ID));
.with_chain_id(config.chain_id.or(Some(TEST_NODE_NETWORK_ID)));
}
FeeParams::V1(_) => {
return Err(anyhow!("Unsupported FeeParams::V1 in this context"));
Expand Down

0 comments on commit fbf14a3

Please sign in to comment.