Skip to content

Commit

Permalink
build(upgrade-8): report faulty balance
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Feb 5, 2024
1 parent 8b63fef commit 58b77f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion proposals/16:upgrade-8/use.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ set -e

source /usr/src/upgrade-test-scripts/env_setup.sh

# XXX fix bug in this SDK's verison of agops
sed -i "s/--econCommAcceptOfferId /--previousOfferId /g" "/usr/src/agoric-sdk/packages/agoric-cli/src/commands/psm.js"

#region precheck
# ensure there's nothing in the provision pool
test_val "$(agd q bank balances agoric1megzytg65cyrgzs6fvzxgrcqvwwl7ugpt62346 -o json | jq -r '.balances | length')" "0" "ensure nothing is in provisionpool"
BALANCE="$(agd q bank balances agoric1megzytg65cyrgzs6fvzxgrcqvwwl7ugpt62346 -o json)"
test_val "$(echo $BALANCE | jq -r '.balances | length')" "0" "provisionpool balance should be empty but was $BALANCE"

# Test no smart wallet for
test_val "$(agd q vstorage data published.wallet.$GOV1ADDR -o json | jq -r .value)" "" "ensure gov1 not provisioned"
Expand Down

0 comments on commit 58b77f8

Please sign in to comment.