Skip to content

Commit

Permalink
add consumer desc
Browse files Browse the repository at this point in the history
  • Loading branch information
lesterli committed Nov 7, 2024
1 parent 1b60dbd commit 3c5e38e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-babylon-deployment-utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: publish-babylon-deployment-utils
on:
push:
branches:
- main
- chore/improvements
paths:
- 'scripts/babylon-integration/utils/**'

Expand Down
3 changes: 3 additions & 0 deletions scripts/babylon-integration/utils/register-consumer-chain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 3c5e38e

Please sign in to comment.