From c6d3b048b6bd9c4c8b81cdf43692132f1d3f9c69 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Thu, 26 May 2022 12:04:26 +0200 Subject: [PATCH] horizon: Highlight that Ingestion Filtering is experimental (#4411) --- services/horizon/internal/flags.go | 4 ++-- .../internal/integration/ingestion_filtering_test.go | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/horizon/internal/flags.go b/services/horizon/internal/flags.go index 55e7cd11cb..ffdeb697ed 100644 --- a/services/horizon/internal/flags.go +++ b/services/horizon/internal/flags.go @@ -200,11 +200,11 @@ func Flags() (*Config, support.ConfigOptions) { ConfigKey: &config.EnableCaptiveCoreIngestion, }, &support.ConfigOption{ - Name: "enable-ingestion-filtering", + Name: "exp-enable-ingestion-filtering", OptType: types.Bool, FlagDefault: false, Required: false, - Usage: "causes Horizon to enable Ingestion filtering and the ingestion admin HTTP endpoint at /ingestion/filter", + Usage: "causes Horizon to enable the experimental Ingestion Filtering and the ingestion admin HTTP endpoint at /ingestion/filter", ConfigKey: &config.EnableIngestionFiltering, }, &support.ConfigOption{ diff --git a/services/horizon/internal/integration/ingestion_filtering_test.go b/services/horizon/internal/integration/ingestion_filtering_test.go index f9e0a87e27..09d06ed2f3 100644 --- a/services/horizon/internal/integration/ingestion_filtering_test.go +++ b/services/horizon/internal/integration/ingestion_filtering_test.go @@ -18,8 +18,8 @@ func TestFilteringAccountWhiteList(t *testing.T) { const adminPort uint16 = 6000 itest := integration.NewTest(t, integration.Config{ HorizonParameters: map[string]string{ - "admin-port": strconv.Itoa(int(adminPort)), - "enable-ingestion-filtering": "true", + "admin-port": strconv.Itoa(int(adminPort)), + "exp-enable-ingestion-filtering": "true", }, }) @@ -94,8 +94,8 @@ func TestFilteringAssetWhiteList(t *testing.T) { const adminPort uint16 = 6000 itest := integration.NewTest(t, integration.Config{ HorizonParameters: map[string]string{ - "admin-port": strconv.Itoa(int(adminPort)), - "enable-ingestion-filtering": "true", + "admin-port": strconv.Itoa(int(adminPort)), + "exp-enable-ingestion-filtering": "true", }, })