From 6d627fbd428f86303bd6f129727ad988a9dec84e Mon Sep 17 00:00:00 2001 From: Shawn Reuland Date: Thu, 6 Jun 2024 22:23:32 -0700 Subject: [PATCH] #hubble-271: fixed ci docker test --- exp/services/ledgerexporter/docker/start | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/exp/services/ledgerexporter/docker/start b/exp/services/ledgerexporter/docker/start index eca213de0c..d8c05a6d74 100644 --- a/exp/services/ledgerexporter/docker/start +++ b/exp/services/ledgerexporter/docker/start @@ -17,7 +17,7 @@ files_per_partition="${FILES_PER_PARTITION:-64000}" # Generate TOML configuration cat < config.toml -network = "${NETWORK}" +network_name = "${NETWORK}" [datastore_config] type = "GCS" @@ -25,15 +25,18 @@ type = "GCS" [datastore_config.params] destination_bucket_path = "${ARCHIVE_TARGET}" -[exporter_config] +[datastore_config.schema] ledgers_per_file = $ledgers_per_file files_per_partition = $files_per_partition + +[stellar_core_config] + preconfigured_network = "pubnet" EOF # Check if START or END variables are set if [[ -n "$START" || -n "$END" ]]; then echo "START: $START END: $END" - /usr/bin/ledgerexporter --config-file config.toml --start $START --end $END + /usr/bin/ledgerexporter scan-and-fill --config-file config.toml --start $START --end $END else echo "Error: No ledger range provided." exit 1