(
&'s mut self,
node: &'a DockerNode,
seed_nodes: &'a [&'a DockerNode],
)
| 765 | } |
| 766 | |
| 767 | async fn start_node<'s, 'a>( |
| 768 | &'s mut self, |
| 769 | node: &'a DockerNode, |
| 770 | seed_nodes: &'a [&'a DockerNode], |
| 771 | ) -> anyhow::Result<()> |
| 772 | where |
| 773 | 's: 'a, |
| 774 | { |
| 775 | // Overwrite the env file which has seed addresses, then start the node (unless it's already running). |
| 776 | node.start_all_containers(seed_nodes).await?; |
| 777 | node.wait_for_apis_to_start(*STARTUP_TIMEOUT).await?; |
| 778 | // Trying to avoid `Tendermint RPC error: server returned malformatted JSON (no 'result' or 'error')` on first subnet creation attempt. |
| 779 | tokio::time::sleep(Duration::from_secs(5)).await; |
| 780 | Ok(()) |
| 781 | } |
| 782 | |
| 783 | async fn create_subnet<'s, 'a>( |
| 784 | &'s mut self, |
nothing calls this directly
no test coverage detected