mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-04-11 21:53:45 +00:00
fix(local): preserve initial reserved ports for generated nodes
This commit is contained in:
parent
a5dcc97763
commit
d131301d78
12
testing-framework/deployers/local/src/env/mod.rs
vendored
12
testing-framework/deployers/local/src/env/mod.rs
vendored
@ -111,14 +111,20 @@ where
|
||||
Self::initial_node_name_prefix(),
|
||||
Self::initial_local_port_names(),
|
||||
|context| {
|
||||
Self::build_node_config_from_template(
|
||||
let config = Self::build_local_node_config_with_peers(
|
||||
context.topology,
|
||||
context.index,
|
||||
context.ports,
|
||||
context.peers,
|
||||
context.peer_ports_by_name,
|
||||
context.options,
|
||||
context.peer_ports,
|
||||
context.template_config,
|
||||
)
|
||||
)?;
|
||||
|
||||
Ok(BuiltNodeConfig {
|
||||
config,
|
||||
network_port: context.ports.network_port(),
|
||||
})
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user