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