From af9714bd311cfd613fbbc8edca29fd832394aa4a Mon Sep 17 00:00:00 2001 From: David Ryan Date: Wed, 9 Oct 2024 12:43:12 +1100 Subject: [PATCH] Change config and error message. --- .../tech/pegasys/teku/storage/server/StorageConfiguration.java | 2 +- .../tech/pegasys/teku/cli/options/BeaconNodeDataOptions.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/src/main/java/tech/pegasys/teku/storage/server/StorageConfiguration.java b/storage/src/main/java/tech/pegasys/teku/storage/server/StorageConfiguration.java index f912425119b..2fb01204c92 100644 --- a/storage/src/main/java/tech/pegasys/teku/storage/server/StorageConfiguration.java +++ b/storage/src/main/java/tech/pegasys/teku/storage/server/StorageConfiguration.java @@ -288,7 +288,7 @@ public Builder blobsArchivePath(final String blobsArchivePath) { File file = Path.of(blobsArchivePath).toFile(); if (!file.exists()) { throw new InvalidConfigurationException( - String.format("blobsArchivePath does not exist: '%s'", blobsArchivePath)); + String.format("Blobs archive path does not exist: '%s'", blobsArchivePath)); } } this.blobsArchivePath = blobsArchivePath; diff --git a/teku/src/main/java/tech/pegasys/teku/cli/options/BeaconNodeDataOptions.java b/teku/src/main/java/tech/pegasys/teku/cli/options/BeaconNodeDataOptions.java index 1feeaaaa254..5f728947678 100644 --- a/teku/src/main/java/tech/pegasys/teku/cli/options/BeaconNodeDataOptions.java +++ b/teku/src/main/java/tech/pegasys/teku/cli/options/BeaconNodeDataOptions.java @@ -171,7 +171,7 @@ public class BeaconNodeDataOptions extends ValidatorClientDataOptions { private int blobsPruningLimit = StorageConfiguration.DEFAULT_BLOBS_PRUNING_LIMIT; @CommandLine.Option( - names = {"--Xdata-storage-archive-path"}, + names = {"--Xdata-storage-blobs-archive-path"}, hidden = true, paramLabel = "", description = "Path to write pruned blobs",