From 3c5e38ee3f257cae18b08e4947e3588b62414434 Mon Sep 17 00:00:00 2001 From: lesterli Date: Thu, 7 Nov 2024 18:06:05 +0800 Subject: [PATCH] add consumer desc --- .github/workflows/publish-babylon-deployment-utils.yml | 2 +- scripts/babylon-integration/utils/register-consumer-chain.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-babylon-deployment-utils.yml b/.github/workflows/publish-babylon-deployment-utils.yml index 5307fd1..997f18f 100644 --- a/.github/workflows/publish-babylon-deployment-utils.yml +++ b/.github/workflows/publish-babylon-deployment-utils.yml @@ -3,7 +3,7 @@ name: publish-babylon-deployment-utils on: push: branches: - - main + - chore/improvements paths: - 'scripts/babylon-integration/utils/**' diff --git a/scripts/babylon-integration/utils/register-consumer-chain.sh b/scripts/babylon-integration/utils/register-consumer-chain.sh index b71a7e3..a6dc145 100755 --- a/scripts/babylon-integration/utils/register-consumer-chain.sh +++ b/scripts/babylon-integration/utils/register-consumer-chain.sh @@ -18,10 +18,13 @@ if echo "$CONSUMER_IDS" | grep -q "^${CONSUMER_ID}$"; then fi # register the consumer chain +# TODO: for now, we can use the consumer chain name as the consumer description, +# remove it after issue #255 (https://github.com/babylonlabs-io/babylon/issues/255) is fixed echo "Registering consumer chain $CONSUMER_ID..." CONSUMER_REGISTRATION_TX_HASH=$(babylond tx btcstkconsumer register-consumer \ "$CONSUMER_ID" \ "$CONSUMER_CHAIN_NAME" \ + "$CONSUMER_CHAIN_NAME" \ --chain-id $BABYLON_CHAIN_ID \ --node $BABYLON_RPC_URL \ --from $BABYLON_PREFUNDED_KEY \