Skip to content

Commit

Permalink
refactor: storing balance in a file
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Jul 24, 2024
1 parent bc76985 commit 30525bb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/emerynet-localchain-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,12 @@ jobs:
expected_length: '2'

- name: Store Emerynet Wallet Balance in a file
run: |
curl https://emerynet.api.agoric.net/cosmos/bank/v1beta1/balances/$WALLET_ADDRESS_EMERYNET |
jq -r '.balances[] | select(.denom == "ubld") | .amount' > $EMERYNET_BALANCE_FILE
uses: ./.github/actions/store-balances
with:
url: https://emerynet.api.agoric.net/cosmos/bank/v1beta1/balances
address: ${{ env.WALLET_ADDRESS_LOCAL }}
denom: ubld
file: ${{ env.EMERYNET_BALANCE_FILE }}

- name: Execute IBC Token Transfer from Local Chain to Emerynet
run: |
Expand Down

0 comments on commit 30525bb

Please sign in to comment.