Skip to content

Commit

Permalink
Add l1_network to ChainCreateArgsFinal
Browse files Browse the repository at this point in the history
  • Loading branch information
matias-gonz committed Oct 31, 2024
1 parent a15b7f2 commit 9d25c9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions zkstack_cli/crates/zkstack/src/commands/chain/args/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ impl ChainCreateArgs {
chain_path,
era_chain_id,
number_of_chains,
l1_network,
})
}
}
Expand All @@ -282,6 +283,7 @@ pub struct ChainCreateArgsFinal {
pub chain_path: PathBuf,
pub era_chain_id: L2ChainId,
pub number_of_chains: u32,
pub l1_network: L1Network,
}

#[derive(Debug, Clone, EnumIter, Display, PartialEq, Eq)]
Expand Down
2 changes: 1 addition & 1 deletion zkstack_cli/crates/zkstack/src/commands/chain/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ pub(crate) fn create_chain_inner(args: ChainCreateArgsFinal, shell: &Shell) -> a
name: default_chain_name.clone(),
chain_id,
prover_version: args.prover_version,
l1_network: Default::default(), // ecosystem_config.l1_network,
l1_network: args.l1_network,
link_to_code: link_to_code.clone(),
rocks_db_path,
artifacts,
Expand Down

0 comments on commit 9d25c9b

Please sign in to comment.