Compare commits

..

2 Commits

Author SHA1 Message Date
michael 5dfbc0d96f specify ignite == 0.23.0
versions newer than 0.23.0 make breaking changes. migrate later.
2022-09-15 17:54:39 +00:00
michael 5ce80bece8 test remaining claimable amount decrease 2022-09-15 06:39:35 +00:00
2 changed files with 17 additions and 1 deletions

View File

@ -25,7 +25,7 @@ This repository contains the base chain implementation that Colinear's compute m
### Build Requirements
- `ignite` - [CLI Installation Guide](https://docs.ignite.com/guide/install)
- `ignite == 0.23.0` (see the [setup section](#setup))
- `go >= 1.18`
### Integration Test Requirements
@ -36,6 +36,16 @@ This repository contains the base chain implementation that Colinear's compute m
### Setup
To get ignite 0.23.0:
```
curl https://get.ignite.com/cli@v0.23.0?type=script! | bash
```
...or download it from the [GitHub release page](https://github.com/ignite/cli/releases/tag/v0.23.0).
Then, move it anywhere on `$PATH`.
To build the chain:
```

View File

@ -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 ---
before=$(get_balance $ALICE uusdc)
remaining_before=$(colineard q colinearcore show-auction $(get_last_auction_index) \
| jq -rM ".auction.remaining")
wait=5
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 \
| 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"