Adapt scripts, config, docs to new folder name ./scripts/wasmd/
This commit is contained in:
parent
28f5cb643f
commit
a22a201fe7
@ -47,7 +47,7 @@ jobs:
|
||||
steps:
|
||||
- checkout
|
||||
- run: # start early for less wait time below
|
||||
command: ./scripts/cosm/start.sh
|
||||
command: ./scripts/wasmd/start.sh
|
||||
background: true
|
||||
- attach_workspace:
|
||||
at: /tmp/builds
|
||||
@ -82,7 +82,7 @@ jobs:
|
||||
- ~/.cache/yarn
|
||||
- run:
|
||||
name: Initialize blockchain (deploy contracts and friends)
|
||||
command: ./scripts/cosm/init.sh
|
||||
command: ./scripts/wasmd/init.sh
|
||||
- run:
|
||||
environment:
|
||||
COSMOS_ENABLED: 1
|
||||
@ -95,7 +95,7 @@ jobs:
|
||||
SKIP_BUILD: 1
|
||||
command: yarn selftest
|
||||
- run:
|
||||
command: ./scripts/cosm/stop.sh
|
||||
command: ./scripts/wasmd/stop.sh
|
||||
lint:
|
||||
docker:
|
||||
- image: circleci/node:10
|
||||
|
||||
@ -21,7 +21,8 @@ yarn format && yarn lint
|
||||
To run the entire test suite, you need to run a local blockchain to test against. This should work on any Linux/OSX system with docker installed.
|
||||
|
||||
```sh
|
||||
./scripts/cosm/start.sh
|
||||
./scripts/wasmd/start.sh
|
||||
./scripts/wasmd/init.sh
|
||||
COSMOS_ENABLED=1 yarn test
|
||||
./scripts/cosm/stop.sh
|
||||
./scripts/wasmd/stop.sh
|
||||
```
|
||||
|
||||
@ -81,9 +81,9 @@ The above code shows you the use of the API and various objects and is a great w
|
||||
how to embed cosmwasm-js into your project. However, if you just want a cli to perform some
|
||||
quick queries on a chain, you can use an extended set of helpers:
|
||||
|
||||
1. Start a local wasmd blockchain, for example running the setup from `../../scripts/cosm/start.sh`
|
||||
1. Start a local wasmd blockchain, for example running the setup from `../../scripts/wasmd/start.sh`
|
||||
2. Start with `./bin/cosmwasm-cli --init examples/helpers.ts` (note the new init file)
|
||||
3. Deploy some erc20 contracts: `../../scripts/cosm/init.sh`
|
||||
3. Deploy some erc20 contracts: `../../scripts/wasmd/init.sh`
|
||||
4. Play around as in the following example code
|
||||
|
||||
```ts
|
||||
|
||||
@ -279,7 +279,7 @@ describe("RestClient", () => {
|
||||
});
|
||||
});
|
||||
|
||||
// This fails in the first test run if you forget to run `./scripts/cosm/init.sh`
|
||||
// This fails in the first test run if you forget to run `./scripts/wasmd/init.sh`
|
||||
it("has correct pubkey for faucet", async () => {
|
||||
pendingWithoutCosmos();
|
||||
const client = new RestClient(httpUrl);
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
# Local Cosmos test network
|
||||
# Local Wasmd development network
|
||||
|
||||
## Starting the blockchain
|
||||
|
||||
Run the following:
|
||||
|
||||
```
|
||||
cd scripts/wasmd
|
||||
./start.sh && ./init.sh
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user