Cleanup readme, circleci
This commit is contained in:
@@ -93,41 +93,6 @@ jobs:
|
|||||||
paths:
|
paths:
|
||||||
- "."
|
- "."
|
||||||
|
|
||||||
test-sim-nondeterminism:
|
|
||||||
executor: golang
|
|
||||||
steps:
|
|
||||||
- make:
|
|
||||||
target: test-sim-nondeterminism
|
|
||||||
description: "Test Gaia non-determinism simulations"
|
|
||||||
|
|
||||||
test-sim-import-export:
|
|
||||||
executor: golang
|
|
||||||
steps:
|
|
||||||
- make:
|
|
||||||
target: test-sim-import-export
|
|
||||||
description: "Test Gaia import/export simulation"
|
|
||||||
|
|
||||||
test-sim-after-import:
|
|
||||||
executor: golang
|
|
||||||
steps:
|
|
||||||
- make:
|
|
||||||
target: test-sim-after-import
|
|
||||||
description: "Test Gaia simulation after importing state"
|
|
||||||
|
|
||||||
test-sim-multi-seed-short:
|
|
||||||
executor: golang
|
|
||||||
steps:
|
|
||||||
- make:
|
|
||||||
target: test-sim-multi-seed-short
|
|
||||||
description: "Test Gaia multi-seed simulation (short-lived)"
|
|
||||||
|
|
||||||
test-sim-multi-seed-long:
|
|
||||||
executor: golang
|
|
||||||
steps:
|
|
||||||
- make:
|
|
||||||
target: test-sim-multi-seed-long
|
|
||||||
description: "Test Gaia multi-seed simulation (long-lived)"
|
|
||||||
|
|
||||||
integration-tests:
|
integration-tests:
|
||||||
executor: golang
|
executor: golang
|
||||||
steps:
|
steps:
|
||||||
@@ -221,58 +186,7 @@ jobs:
|
|||||||
make clean localnet-start
|
make clean localnet-start
|
||||||
./contrib/localnet-blocks-test.sh 40 5 10 localhost
|
./contrib/localnet-blocks-test.sh 40 5 10 localhost
|
||||||
|
|
||||||
deploy-docs:
|
|
||||||
executor: docs
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run:
|
|
||||||
name: Trigger website build
|
|
||||||
command: |
|
|
||||||
curl --silent \
|
|
||||||
--show-error \
|
|
||||||
-X POST \
|
|
||||||
--header "Content-Type: application/json" \
|
|
||||||
-d "{\"branch\": \"$CIRCLE_BRANCH\"}" \
|
|
||||||
"https://circleci.com/api/v1.1/project/github/$CIRCLE_PROJECT_USERNAME/$WEBSITE_REPO_NAME/build?circle-token=$TENDERBOT_API_TOKEN" > response.json
|
|
||||||
|
|
||||||
RESULT=`jq -r '.status' response.json`
|
|
||||||
MESSAGE=`jq -r '.message' response.json`
|
|
||||||
|
|
||||||
if [[ ${RESULT} == "null" ]] || [[ ${RESULT} -ne "200" ]]; then
|
|
||||||
echo "CircleCI API call failed: $MESSAGE"
|
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
echo "Website build started"
|
|
||||||
fi
|
|
||||||
|
|
||||||
macos-ci:
|
|
||||||
executor: mac
|
|
||||||
steps:
|
|
||||||
- mac_set_env
|
|
||||||
- run:
|
|
||||||
name: Install go
|
|
||||||
command: |
|
|
||||||
source $BASH_ENV
|
|
||||||
curl -L -O https://dl.google.com/go/go$GO_VERSION.darwin-amd64.tar.gz
|
|
||||||
tar -C $HOME -xzf go$GO_VERSION.darwin-amd64.tar.gz
|
|
||||||
rm go$GO_VERSION.darwin-amd64.tar.gz
|
|
||||||
go version
|
|
||||||
- checkout
|
|
||||||
- run:
|
|
||||||
name: Install SDK
|
|
||||||
command: |
|
|
||||||
source $BASH_ENV
|
|
||||||
make tools
|
|
||||||
make install
|
|
||||||
- run:
|
|
||||||
name: Integration tests
|
|
||||||
command: source $BASH_ENV
|
|
||||||
make test-build
|
|
||||||
- run:
|
|
||||||
name: Test full gaia simulation
|
|
||||||
command: |
|
|
||||||
source $BASH_ENV
|
|
||||||
make test-sim-gaia-fast
|
|
||||||
|
|
||||||
docker-image:
|
docker-image:
|
||||||
executor: golang
|
executor: golang
|
||||||
@@ -292,9 +206,9 @@ jobs:
|
|||||||
if [ -z "${GAIAD_VERSION}" ]; then
|
if [ -z "${GAIAD_VERSION}" ]; then
|
||||||
docker build .
|
docker build .
|
||||||
else
|
else
|
||||||
docker build -t tendermint/gaia:$GAIAD_VERSION .
|
docker build -t cosmwasm/wasmd:$GAIAD_VERSION .
|
||||||
docker login --password-stdin -u $DOCKER_USER \<<<$DOCKER_PASS
|
docker login --password-stdin -u $DOCKER_USER \<<<$DOCKER_PASS
|
||||||
docker push tendermint/gaia:$GAIAD_VERSION
|
docker push cosmwasm/wasmd:$GAIAD_VERSION
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker-tagged:
|
docker-tagged:
|
||||||
@@ -360,31 +274,19 @@ workflows:
|
|||||||
version: 2
|
version: 2
|
||||||
test-suite:
|
test-suite:
|
||||||
jobs:
|
jobs:
|
||||||
- docker-image:
|
# - docker-image:
|
||||||
requires:
|
# requires:
|
||||||
- setup-dependencies
|
# - setup-dependencies
|
||||||
- docker-tagged:
|
# - docker-tagged:
|
||||||
filters:
|
# filters:
|
||||||
tags:
|
# tags:
|
||||||
only:
|
# only:
|
||||||
- /^v.*/
|
# - /^v.*/
|
||||||
branches:
|
# branches:
|
||||||
ignore:
|
# ignore:
|
||||||
- /.*/
|
# - /.*/
|
||||||
requires:
|
# requires:
|
||||||
- setup-dependencies
|
# - setup-dependencies
|
||||||
- macos-ci:
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
- develop
|
|
||||||
- deploy-docs:
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
- develop
|
|
||||||
- setup-dependencies:
|
- setup-dependencies:
|
||||||
# filters here are needed to enable this job also for tags
|
# filters here are needed to enable this job also for tags
|
||||||
filters:
|
filters:
|
||||||
@@ -394,42 +296,19 @@ workflows:
|
|||||||
- integration-tests:
|
- integration-tests:
|
||||||
requires:
|
requires:
|
||||||
- setup-dependencies
|
- setup-dependencies
|
||||||
- test-sim-nondeterminism:
|
|
||||||
requires:
|
|
||||||
- setup-dependencies
|
|
||||||
- test-sim-import-export:
|
|
||||||
requires:
|
|
||||||
- setup-dependencies
|
|
||||||
- test-sim-after-import:
|
|
||||||
requires:
|
|
||||||
- setup-dependencies
|
|
||||||
- test-sim-multi-seed-short:
|
|
||||||
requires:
|
|
||||||
- setup-dependencies
|
|
||||||
- test-sim-multi-seed-long:
|
|
||||||
requires:
|
|
||||||
- setup-dependencies
|
|
||||||
# These filters ensure that the long sim only runs during release
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
ignore: /.*/
|
|
||||||
tags:
|
|
||||||
only:
|
|
||||||
- /^v.*/
|
|
||||||
- test-cover:
|
- test-cover:
|
||||||
requires:
|
requires:
|
||||||
- setup-dependencies
|
- setup-dependencies
|
||||||
- localnet
|
|
||||||
- upload-coverage:
|
- upload-coverage:
|
||||||
requires:
|
requires:
|
||||||
- test-cover
|
- test-cover
|
||||||
- reproducible-builds:
|
# - reproducible-builds:
|
||||||
filters:
|
# filters:
|
||||||
branches:
|
# branches:
|
||||||
only:
|
# only:
|
||||||
- master
|
# - master
|
||||||
requires:
|
# requires:
|
||||||
- setup-dependencies
|
# - setup-dependencies
|
||||||
# - contract_tests:
|
# - contract_tests:
|
||||||
# requires:
|
# requires:
|
||||||
# - setup-dependencies
|
# - setup-dependencies
|
||||||
|
|||||||
38
README.md
38
README.md
@@ -1,41 +1,27 @@
|
|||||||
# Cosmos Hub
|
# Wasm Zone
|
||||||

|
|
||||||
|
|
||||||
[](https://circleci.com/gh/cosmos/gaia/tree/master)
|
[](https://circleci.com/gh/cosmwasm/wasmd/tree/master)
|
||||||
[](https://codecov.io/gh/cosmos/gaia)
|
[](https://codecov.io/gh/cosmwasm/wasmd)
|
||||||
[](https://goreportcard.com/report/github.com/cosmwasm/wasmd)
|
[](https://goreportcard.com/report/github.com/cosmwasm/wasmd)
|
||||||
[](https://github.com/cosmwasm/wasmd/blob/master/LICENSE)
|
[](https://github.com/cosmwasm/wasmd/blob/master/LICENSE)
|
||||||
[](https://github.com/cosmwasm/wasmd)
|
[](https://github.com/cosmwasm/wasmd)
|
||||||
[](https://golangci.com/r/github.com/cosmwasm/wasmd)
|
<!-- [](https://golangci.com/r/github.com/cosmwasm/wasmd) -->
|
||||||
[](https://riot.im/app/#/room/#cosmos-sdk:matrix.org)
|
|
||||||
|
|
||||||
This repository hosts `Gaia`, the first implementation of the Cosmos Hub.
|
This repository hosts `Wasmd`, the first implementation of a cosmos zone with wasm smart contracts enabled.
|
||||||
|
|
||||||
|
This code was forked from the `cosmos/gaia` repository and the majority of the codebase is the same as `gaia`.
|
||||||
|
|
||||||
**Note**: Requires [Go 1.13+](https://golang.org/dl/)
|
**Note**: Requires [Go 1.13+](https://golang.org/dl/)
|
||||||
|
|
||||||
**DISCLAIMER**: The current version of Gaia running the Cosmos Hub (v0.34.x) is
|
|
||||||
__NOT__ maintained in this repository. Gaia and the [Cosmos SDK](https://github.com/cosmos/cosmos-sdk/)
|
|
||||||
have been recently split. All future versions of Gaia, including the next major
|
|
||||||
upgrade, will be maintained in this repository. However, until the next major upgrade,
|
|
||||||
Gaia should be fetched and built from the latest [released](https://github.com/cosmos/cosmos-sdk/releases)
|
|
||||||
__v0.34.x__ version in the SDK repository. In addition, this repository should be
|
|
||||||
considered unstable until the next major release of Gaia. Please bear with us
|
|
||||||
while we continue the migration process and update documentation.
|
|
||||||
|
|
||||||
## Cosmos Hub Mainnet
|
|
||||||
|
|
||||||
To run a full-node for the mainnet of the Cosmos Hub, first [install `gaia`](./docs/installation.md), then follow [the guide](./docs/join-mainnet.md).
|
|
||||||
|
|
||||||
For status updates and genesis file, see the [launch repo](https://github.com/cosmos/launch).
|
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
```
|
```
|
||||||
make install
|
make install
|
||||||
|
make test
|
||||||
```
|
```
|
||||||
|
|
||||||
## Disambiguation
|
To set up a single node testnet, [look at the deployment documentation](./docs/deploy-testnet.md).
|
||||||
|
|
||||||
This Cosmos-SDK project is not related to the [React-Cosmos](https://github.com/react-cosmos/react-cosmos) project (yet). Many thanks to Evan Coury and Ovidiu (@skidding) for this Github organization name. As per our agreement, this disambiguation notice will stay here.
|
|
||||||
|
|
||||||
|
If you want to deploy a whole cluster, [look at the network scripts](./networks/README.md).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user