mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
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:
@@ -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)?
|
||||
|
||||
Reference in New Issue
Block a user