mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-05 00:04:26 -08:00
test remaining claimable amount decrease
This commit is contained in:
@@ -88,6 +88,8 @@ get_balance $BOB uusdc | expect_change 100 $before "Change in Bob's balance (fro
|
|||||||
# --- Test vesting payout after some wait time ---
|
# --- Test vesting payout after some wait time ---
|
||||||
|
|
||||||
before=$(get_balance $ALICE uusdc)
|
before=$(get_balance $ALICE uusdc)
|
||||||
|
remaining_before=$(colineard q colinearcore show-auction $(get_last_auction_index) \
|
||||||
|
| jq -rM ".auction.remaining")
|
||||||
|
|
||||||
wait=5
|
wait=5
|
||||||
log_info "Waiting $wait s for vested funds to accumulate..."
|
log_info "Waiting $wait s for vested funds to accumulate..."
|
||||||
@@ -99,3 +101,7 @@ colineard tx colinearcore claim-funds $(get_last_auction_index) \
|
|||||||
|
|
||||||
get_balance $ALICE uusdc \
|
get_balance $ALICE uusdc \
|
||||||
| expect_increase $before "Alice's balance"
|
| expect_increase $before "Alice's balance"
|
||||||
|
|
||||||
|
colineard q colinearcore show-auction $(get_last_auction_index) \
|
||||||
|
| jq -rM ".auction.remaining" \
|
||||||
|
| expect_decrease $remaining_before "Remaining claimable amount in auction"
|
||||||
|
|||||||
Reference in New Issue
Block a user