Skip to content

Commit

Permalink
Fix/update network container start command to use updated enable flags (
Browse files Browse the repository at this point in the history
#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
  • Loading branch information
elizabethengelman authored Jun 14, 2024
1 parent 035b793 commit 5925d55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/soroban-cli/src/commands/network/container/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ async fn run_docker_command(cmd: &Cmd) -> Result<(), Error> {
fn get_container_args(cmd: &Cmd) -> Vec<String> {
[
format!("--{}", cmd.network),
"--enable-soroban-rpc".to_string(),
"--enable rpc,horizon".to_string(),
get_protocol_version_arg(cmd),
get_limits_arg(cmd),
]
Expand All @@ -135,9 +135,9 @@ fn get_container_args(cmd: &Cmd) -> Vec<String> {
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 {
Expand Down

0 comments on commit 5925d55

Please sign in to comment.