Skip to content

Commit

Permalink
nit: cleanup script
Browse files Browse the repository at this point in the history
  • Loading branch information
parketh committed Nov 12, 2024
1 parent 9757f19 commit ed6e196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-babylon-deployment-utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- feat/teardown-script
paths:
- 'scripts/babylon-integration/utils/**'

Expand Down
3 changes: 1 addition & 2 deletions scripts/babylon-integration/utils/teardown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ source "./common.sh"
# Get the consumer FP address
KEYRING_DIR=/home/.babylond
CONSUMER_FP_KEYRING_DIR=$KEYRING_DIR/$CONSUMER_FINALITY_PROVIDER_KEY
KEYRING_FILENAME=$(ls $CONSUMER_FP_KEYRING_DIR/keyring-test | grep '\.address$' | sed 's/\.address$//')
echo "Keyring filename: $KEYRING_FILENAME"
CONSUMER_FP_ADDRESS=$(babylond keys show -a consumer-finality-provider \
--keyring-dir $CONSUMER_FP_KEYRING_DIR \
--keyring-backend test)
Expand Down Expand Up @@ -67,4 +65,5 @@ echo
FINAL_BALANCE=$(babylond query bank balances "$CONSUMER_FP_ADDRESS" \
--node "$BABYLON_RPC_URL" \
-o json | jq -r '.balances[0].amount')
echo "Initial consumer FP balance: $CONSUMER_FP_BALANCE"
echo "Final consumer FP balance: $FINAL_BALANCE"

0 comments on commit ed6e196

Please sign in to comment.