From d0071c660e875e24e9d721f555620a4c9d2eac69 Mon Sep 17 00:00:00 2001 From: Chenyao Yu <4844716+chenyaoy@users.noreply.github.com> Date: Fri, 9 Aug 2024 15:30:21 -0400 Subject: [PATCH] fix TEST-USD marketmap genesis (#2066) (cherry picked from commit 8d550604c6e4abb221d7291c7db01bb3ee2ae315) --- protocol/scripts/genesis/sample_pregenesis.json | 2 +- protocol/testing/genesis.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/scripts/genesis/sample_pregenesis.json b/protocol/scripts/genesis/sample_pregenesis.json index 56fef12467..64bfd04dea 100644 --- a/protocol/scripts/genesis/sample_pregenesis.json +++ b/protocol/scripts/genesis/sample_pregenesis.json @@ -2557,7 +2557,7 @@ "TEST/USD": { "provider_configs": [ { - "name": "TestVolatileExchange", + "name": "volatile-exchange-provider", "off_chain_ticker": "TEST-USD" } ], diff --git a/protocol/testing/genesis.sh b/protocol/testing/genesis.sh index 312a8d1627..2e7af418ac 100755 --- a/protocol/testing/genesis.sh +++ b/protocol/testing/genesis.sh @@ -1203,7 +1203,7 @@ function edit_genesis() { dasel put -t int -f "$GENESIS" '.app_state.marketmap.market_map.markets.TEST/USD.ticker.min_provider_count' -v '1' dasel put -t bool -f "$GENESIS" '.app_state.marketmap.market_map.markets.TEST/USD.ticker.enabled' -v 'true' - dasel put -t json -f "$GENESIS" '.app_state.marketmap.market_map.markets.TEST/USD.provider_configs.[]' -v '{"name": "TestVolatileExchange", "off_chain_ticker": "TEST-USD"}' + dasel put -t json -f "$GENESIS" '.app_state.marketmap.market_map.markets.TEST/USD.provider_configs.[]' -v '{"name": "volatile-exchange-provider", "off_chain_ticker": "TEST-USD"}' # Marketmap: USDT-USD