Skip to content

Commit

Permalink
Set CoreConfig environment detail value to a fixed reference as defin…
Browse files Browse the repository at this point in the history
…ed on the stellar-etl image
  • Loading branch information
edualvess committed Apr 17, 2024
1 parent e549c19 commit b30535e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/utils/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -631,21 +631,21 @@ func GetEnvironmentDetails(isTest bool, isFuture bool) (details EnvironmentDetai
details.NetworkPassphrase = network.TestNetworkPassphrase
details.ArchiveURLs = testArchiveURLs
details.BinaryPath = "/usr/bin/stellar-core"
details.CoreConfig = "docker/stellar-core_testnet.cfg"
details.CoreConfig = "/etl/docker/stellar-core_testnet.cfg"
return details
} else if isFuture {
// details.NetworkPassphrase = network.FutureNetworkPassphrase
details.NetworkPassphrase = "Test SDF Future Network ; October 2022"
details.ArchiveURLs = futureArchiveURLs
details.BinaryPath = "/usr/bin/stellar-core"
details.CoreConfig = "docker/stellar-core_futurenet.cfg"
details.CoreConfig = "/etl/docker/stellar-core_futurenet.cfg"
return details
} else {
// default: mainnet
details.NetworkPassphrase = network.PublicNetworkPassphrase
details.ArchiveURLs = mainArchiveURLs
details.BinaryPath = "/usr/bin/stellar-core"
details.CoreConfig = "docker/stellar-core.cfg"
details.CoreConfig = "/etl/docker/stellar-core.cfg"
return details
}
}
Expand Down

0 comments on commit b30535e

Please sign in to comment.