Skip to content

Commit

Permalink
add 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
dasanchez committed Apr 17, 2024
1 parent 82c9c99 commit c45fa35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/gaia-v16/test_rate_limits.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,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 $HOME_1 -o json | jq -r '.[0].flow.channel_value')
fraction=$(echo "$rate_limit" | bc)
amount=$(echo "($supply * $fraction)/1 + 1" | bc )
amount=$(echo "($supply * $fraction)/1 + 1000" | bc )
echo "uatom supply: $supply"
echo "Sending $amount..."
result=$(test_transfer $amount)
Expand All @@ -36,7 +36,7 @@ else
fi

fraction=$(echo "$rate_limit / 2" | bc -l )
amount=$(echo "($supply * $fraction)/1 + 1" | bc )
amount=$(echo "($supply * $fraction)/1 + 1000" | bc )
echo "Sending $amount..."
result=$(test_transfer $amount)
echo "test transfer result: $result"
Expand Down

0 comments on commit c45fa35

Please sign in to comment.