cosmos / cosmjs

The Swiss Army knife to power JavaScript based client solutions ranging from Web apps/explorers over browser extensions to server-side clients like faucets/scrapers.
https://cosmos.github.io/cosmjs/
Apache License 2.0
649 stars 333 forks source link

Start Cosmos SDK 0.39 compatible chain in CI #242

Closed webmaster128 closed 4 years ago

webmaster128 commented 4 years ago

In order to test the upcoming @cosmjs/sdk39, we need a version of gaia running in the CI.

Examples scripts:

This includes 3 things

webmaster128 commented 4 years ago

The first item in the checkbox is answered by this PR: https://github.com/cosmos/cosmos-sdk/pull/6517 We'll use simapp instead of gaia.

ethanfrey commented 4 years ago

It seems there is no CI build yet, but you can do the following:

git clone https://github.com/cosmos/cosmos-sdk.git
cd cosmos-sdk
git checkout master
git pull

docker build -t cosmwasm/simapp:latest .
docker push cosmwasm/simapp;latest

I have just built and pushed this (with my accepted pr fixing the bank attributes): https://hub.docker.com/r/cosmwasm/simapp/tags

Note this has no scripts like the wasmd one does, but rather you must call docker from your scripts. eg docker run -p 26657:26657 -p 26656:26656 -v ~/.simapp:/root/.simapp simapp simd init test-chain

Note that simapp looks for both simcli and simd config in /root/.simapp, so you may want to mount them on different dirs. Also, there is a pending PR to merge them into one simd binary