Skip to content

Commit

Permalink
query supply typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dasanchez committed Apr 17, 2024
1 parent 4132132 commit 42c0d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/gaia-v16/test_rate_limits.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function test_transfer {
}

# supply=$($CHAIN_BINARY q bank total --home $HOME_1 -o json | jq -r '.supply[0].amount')
supply=$($CHAIN_BINARY q ratelimit rate-limit $channel_id --home $HOM_1 -o json | jq -r '.[0].flow.channel_value')
supply=$($CHAIN_BINARY q ratelimit rate-limit $channel_id --home $HOME_1 -o json | jq -r '.[0].flow.channel_value')
fraction=$(echo "$rate_limit" | bc)
amount=$(echo "($supply * $fraction)/1 " | bc )
echo "uatom supply: $supply"
Expand Down

0 comments on commit 42c0d2c

Please sign in to comment.