misc test, api, readme updates
parent
78945f2bc0
commit
edba09b124
1
Makefile
1
Makefile
|
@ -5,6 +5,7 @@ SHELL = /bin/bash
|
||||||
test:
|
test:
|
||||||
./tests/test_locking_funds.sh
|
./tests/test_locking_funds.sh
|
||||||
./tests/test_auction_flow.sh
|
./tests/test_auction_flow.sh
|
||||||
|
./tests/test_auction_flow_verified.sh
|
||||||
|
|
||||||
utest:
|
utest:
|
||||||
go test ./...
|
go test ./...
|
||||||
|
|
|
@ -23,11 +23,15 @@ This repository contains the base chain implementation that Colinear's compute m
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
### Requirements
|
### Build Requirements
|
||||||
|
|
||||||
- `ignite` - [CLI Installation Guide](https://docs.ignite.com/guide/install)
|
- `ignite` - [CLI Installation Guide](https://docs.ignite.com/guide/install)
|
||||||
- `go >= 1.18`
|
- `go >= 1.18`
|
||||||
|
|
||||||
|
### Integration Test Requirements
|
||||||
|
|
||||||
- `bash`
|
- `bash`
|
||||||
|
- `bc`
|
||||||
- `jq`
|
- `jq`
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
|
@ -60,7 +64,7 @@ go test ./path/to/package
|
||||||
|
|
||||||
### Integration Tests
|
### Integration Tests
|
||||||
|
|
||||||
Integration tests use a custom bash testing framework that interacts with a running instance of the chain.
|
Integration tests use a custom-built testing framework that interacts with a running instance of the chain.
|
||||||
|
|
||||||
Before running any tests, make sure that the dev chain is running:
|
Before running any tests, make sure that the dev chain is running:
|
||||||
|
|
||||||
|
|
|
@ -215,6 +215,16 @@ paths:
|
||||||
in: query
|
in: query
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
- name: pagination.reverse
|
||||||
|
description: >-
|
||||||
|
reverse is set to true if results are to be returned in the
|
||||||
|
descending order.
|
||||||
|
|
||||||
|
|
||||||
|
Since: cosmos-sdk 0.43
|
||||||
|
in: query
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
tags:
|
tags:
|
||||||
- Query
|
- Query
|
||||||
'/colinearcore/colinearcore/auction/{index}':
|
'/colinearcore/colinearcore/auction/{index}':
|
||||||
|
|
|
@ -7,6 +7,15 @@
|
||||||
HERE=$(cd $(dirname $BASH_SOURCE) && pwd)
|
HERE=$(cd $(dirname $BASH_SOURCE) && pwd)
|
||||||
source $HERE/testutil.sh
|
source $HERE/testutil.sh
|
||||||
|
|
||||||
|
colineard tx colinearcore unlock-all-funds -y --from alice \
|
||||||
|
| swallow "Unlock all funds before proceeding"
|
||||||
|
|
||||||
|
colineard tx colinearcore lock-funds 550000000 -y --from alice \
|
||||||
|
| expect_success "Re-lock funds (Alice)"
|
||||||
|
|
||||||
|
colineard tx colinearcore lock-funds 550000000 -y --from bob \
|
||||||
|
| expect_success "Re-lock funds (Bob)"
|
||||||
|
|
||||||
colineard tx colinearcore new-auction asdf asdf 200 uusdc $(now + 3700) \
|
colineard tx colinearcore new-auction asdf asdf 200 uusdc $(now + 3700) \
|
||||||
$ALICE \
|
$ALICE \
|
||||||
-y --from bob \
|
-y --from bob \
|
||||||
|
|
Loading…
Reference in New Issue