From 5925d55d3ada17aebe0d8d5fe7ac8c90f8924ee6 Mon Sep 17 00:00:00 2001 From: Elizabeth Engelman <4752801+elizabethengelman@users.noreply.github.com> Date: Fri, 14 Jun 2024 09:27:19 -0400 Subject: [PATCH] Fix/update network container start command to use updated enable flags (#1371) * Update network container start to use --enable rpc,horizon instead of --enable-soroban-rpc * Update network container start to use testing quickstart tag for local network --- cmd/soroban-cli/src/commands/network/container/start.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/soroban-cli/src/commands/network/container/start.rs b/cmd/soroban-cli/src/commands/network/container/start.rs index bb67ac408..9d24cd960 100644 --- a/cmd/soroban-cli/src/commands/network/container/start.rs +++ b/cmd/soroban-cli/src/commands/network/container/start.rs @@ -122,7 +122,7 @@ async fn run_docker_command(cmd: &Cmd) -> Result<(), Error> { fn get_container_args(cmd: &Cmd) -> Vec { [ format!("--{}", cmd.network), - "--enable-soroban-rpc".to_string(), + "--enable rpc,horizon".to_string(), get_protocol_version_arg(cmd), get_limits_arg(cmd), ] @@ -135,9 +135,9 @@ fn get_container_args(cmd: &Cmd) -> Vec { fn get_image_name(cmd: &Cmd) -> String { // this can be overriden with the `-t` flag let mut image_tag = match cmd.network { - Network::Testnet => "testing", + Network::Pubnet => "latest", Network::Futurenet => "future", - _ => "latest", // default to latest for local and pubnet + _ => "testing", // default to testing for local and testnet }; if let Some(image_override) = &cmd.image_tag_override {