Remove assumption that there is a local bootnode in RPC collator (#2091)

* Remove assumption that there is a local bootnode

* Bump zombienet to 1.3.29

* Separate "--"
This commit is contained in:
Sebastian Kunert
2023-01-24 15:07:18 +01:00
committed by GitHub
parent 2098caefca
commit ad453c556b
5 changed files with 4 additions and 37 deletions
@@ -127,10 +127,6 @@ async fn new_minimal_relay_chain(
) -> Result<NewMinimalNode, RelayChainError> {
let role = config.role.clone();
// Use the given RPC node as bootnode, since we do not have a chain spec with valid boot nodes
let mut boot_node_address = relay_chain_rpc_client.local_listen_addresses().await?;
config.network.boot_nodes.append(&mut boot_node_address);
let task_manager = {
let registry = config.prometheus_config.as_ref().map(|cfg| &cfg.registry);
TaskManager::new(config.tokio_handle.clone(), registry)?