mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
Reuse test account from testutils.spec
This commit is contained in:
parent
0dbed5ac29
commit
62bc3eb99e
@ -6,22 +6,12 @@ import { assert } from "@iov/utils";
|
|||||||
import { PrivateCosmWasmClient } from "./cosmwasmclient";
|
import { PrivateCosmWasmClient } from "./cosmwasmclient";
|
||||||
import { RestClient } from "./restclient";
|
import { RestClient } from "./restclient";
|
||||||
import { SigningCosmWasmClient, UploadMeta } from "./signingcosmwasmclient";
|
import { SigningCosmWasmClient, UploadMeta } from "./signingcosmwasmclient";
|
||||||
import { getHackatom, makeRandomAddress, pendingWithoutWasmd } from "./testutils.spec";
|
import { faucet, getHackatom, makeRandomAddress, pendingWithoutWasmd } from "./testutils.spec";
|
||||||
|
|
||||||
const { toHex } = Encoding;
|
const { toHex } = Encoding;
|
||||||
|
|
||||||
const httpUrl = "http://localhost:1317";
|
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("SigningCosmWasmClient", () => {
|
||||||
describe("makeReadOnly", () => {
|
describe("makeReadOnly", () => {
|
||||||
it("can be constructed", async () => {
|
it("can be constructed", async () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user