Update validator addresses after genesis regeneration

This commit is contained in:
Simon Warta
2020-10-08 16:25:55 +02:00
parent dd4cbe6c1f
commit b77c19a673
5 changed files with 11 additions and 17 deletions
@@ -17,14 +17,7 @@ import { assert } from "@cosmjs/utils";
import { PrivateCosmWasmClient } from "./cosmwasmclient";
import { setupWasmExtension, WasmExtension } from "./lcdapi/wasm";
import { PrivateSigningCosmWasmClient, SigningCosmWasmClient, UploadMeta } from "./signingcosmwasmclient";
import {
alice,
getHackatom,
makeRandomAddress,
pendingWithoutWasmd,
unused,
validatorAddress,
} from "./testutils.spec";
import { alice, getHackatom, makeRandomAddress, pendingWithoutWasmd, unused, wasmd } from "./testutils.spec";
const httpUrl = "http://localhost:1317";
@@ -549,7 +542,7 @@ describe("SigningCosmWasmClient", () => {
type: "cosmos-sdk/MsgDelegate",
value: {
delegator_address: alice.address0,
validator_address: validatorAddress,
validator_address: wasmd.validator.address,
amount: coin(1234, "ustake"),
},
};
+3 -2
View File
@@ -45,10 +45,11 @@ export const deployedErc20 = {
export const wasmd = {
endpoint: "http://localhost:1317",
chainId: "testing",
validator: {
address: "cosmosvaloper1yfkkk04ve8a0sugj4fe6q6zxuvmvza8r3arurr",
},
};
export const validatorAddress = "cosmosvaloper103c7vm0c5mz85ecdy4ldftk4a3ydcyp2sscqrz";
export const alice = {
mnemonic: "enlist hip relief stomach skate base shallow young switch frequent cry park",
pubkey0: {