Skip to content

Commit

Permalink
ports scanner fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sanekmelnikov committed Oct 1, 2024
1 parent 7e084a2 commit 3d5794f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ pub async fn init_configs(
ecosystem_config: &EcosystemConfig,
chain_config: &ChainConfig,
) -> anyhow::Result<ContractsConfig> {
// Port scanner should run before copying configs to avoid marking initial ports as assigned
let mut ecosystem_ports = EcosystemPortsScanner::scan(shell)?;
copy_configs(shell, &ecosystem_config.link_to_code, &chain_config.configs)?;

let mut ecosystem_ports = EcosystemPortsScanner::scan(shell)?;
if !init_args.no_port_reallocation {
ecosystem_ports.allocate_ports_in_yaml(
shell,
Expand Down

0 comments on commit 3d5794f

Please sign in to comment.