From 62bc3eb99e3b57b0dd173970497d83540e7a63a8 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Wed, 3 Jun 2020 08:07:41 +0200 Subject: [PATCH] Reuse test account from testutils.spec --- packages/cosmwasm/src/signingcosmwasmclient.spec.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/packages/cosmwasm/src/signingcosmwasmclient.spec.ts b/packages/cosmwasm/src/signingcosmwasmclient.spec.ts index 753bb76e..d617d9d0 100644 --- a/packages/cosmwasm/src/signingcosmwasmclient.spec.ts +++ b/packages/cosmwasm/src/signingcosmwasmclient.spec.ts @@ -6,22 +6,12 @@ import { assert } from "@iov/utils"; import { PrivateCosmWasmClient } from "./cosmwasmclient"; import { RestClient } from "./restclient"; import { SigningCosmWasmClient, UploadMeta } from "./signingcosmwasmclient"; -import { getHackatom, makeRandomAddress, pendingWithoutWasmd } from "./testutils.spec"; +import { faucet, getHackatom, makeRandomAddress, pendingWithoutWasmd } from "./testutils.spec"; const { toHex } = Encoding; const httpUrl = "http://localhost:1317"; -const faucet = { - mnemonic: - "economy stock theory fatal elder harbor betray wasp final emotion task crumble siren bottom lizard educate guess current outdoor pair theory focus wife stone", - pubkey: { - type: "tendermint/PubKeySecp256k1", - value: "A08EGB7ro1ORuFhjOnZcSgwYlpe0DSFjVNUIkNNQxwKQ", - }, - address: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", -}; - describe("SigningCosmWasmClient", () => { describe("makeReadOnly", () => { it("can be constructed", async () => {