From 3b52fd15f374e94fdd13d66880b02b75b99c8258 Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Fri, 22 May 2020 16:55:48 +0200 Subject: [PATCH] Bump up to wasmd v0.8.0-rc1 and fix validator address --- scripts/wasmd/deploy_staking.js | 4 +++- scripts/wasmd/env | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/wasmd/deploy_staking.js b/scripts/wasmd/deploy_staking.js index b102d744..1369fddf 100755 --- a/scripts/wasmd/deploy_staking.js +++ b/scripts/wasmd/deploy_staking.js @@ -16,13 +16,15 @@ const codeMeta = { builder: "cosmwasm/rust-optimizer:0.8.0", }; +// To get the proper validator address, run the demo chain (./scripts/wasmd/start.sh), then run: +// curl http://localhost:1317/staking/validators | jq .result[0].operator_address const bounty = { label: "Bounty", initMsg: { name: "Bounty", symbol: "BOUNTY", decimals: 3, - validator: "cosmosvaloper1ea5cpmcj2vf5d0xwurncx7zdnmkuc6eq696h9a", // cosmosvaloper17mggn4znyeyg25wd7498qxl7r2jhgue8u4qjcq + validator: "cosmosvaloper1ea5cpmcj2vf5d0xwurncx7zdnmkuc6eq696h9a", exit_tax: "0.005", // 0.5 % min_withdrawal: "7", }, diff --git a/scripts/wasmd/env b/scripts/wasmd/env index ce8fb0cb..6d1c2222 100644 --- a/scripts/wasmd/env +++ b/scripts/wasmd/env @@ -1,5 +1,5 @@ # Choose from https://hub.docker.com/r/cosmwasm/wasmd-demo/tags REPOSITORY="cosmwasm/wasmd-demo" -VERSION="v0.8.0-alpha3" +VERSION="v0.8.0-rc1" CONTAINER_NAME="wasmd"