mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 13:47:12 +00:00
Print some Amino sign docs
This commit is contained in:
parent
287278004b
commit
ae7734e450
@ -98,5 +98,7 @@ export function escapeCharacters(input: string): string {
|
||||
|
||||
export function serializeSignDoc(signDoc: StdSignDoc): Uint8Array {
|
||||
const serialized = escapeCharacters(sortedJsonStringify(signDoc));
|
||||
// eslint-disable-next-line no-console
|
||||
console.log("Sign doc serialized:", serialized);
|
||||
return toUtf8(serialized);
|
||||
}
|
||||
|
@ -13,7 +13,6 @@ import {
|
||||
nonNegativeIntegerMatcher,
|
||||
pendingWithoutSimapp,
|
||||
simapp,
|
||||
simapp50Enabled,
|
||||
simappEnabled,
|
||||
validator,
|
||||
} from "../../testutils.spec";
|
||||
@ -206,9 +205,9 @@ describe("gov messages", () => {
|
||||
client.disconnect();
|
||||
});
|
||||
|
||||
it("works with Amino JSON sign mode", async () => {
|
||||
fit("works with Amino JSON sign mode", async () => {
|
||||
pendingWithoutSimapp();
|
||||
if (simapp50Enabled()) pending("Not working, see https://github.com/cosmos/cosmos-sdk/issues/18546");
|
||||
// if (simapp50Enabled()) pending("Not working, see https://github.com/cosmos/cosmos-sdk/issues/18546");
|
||||
assert(voterWalletAmino);
|
||||
assert(proposalId, "Missing proposal ID");
|
||||
const client = await SigningStargateClient.connectWithSigner(
|
||||
|
@ -12,7 +12,6 @@ import {
|
||||
faucet,
|
||||
pendingWithoutSimapp,
|
||||
simapp,
|
||||
simapp50Enabled,
|
||||
} from "../../testutils.spec";
|
||||
import { MsgCreateValidatorEncodeObject, MsgEditValidatorEncodeObject } from "./messages";
|
||||
|
||||
@ -94,9 +93,9 @@ describe("staking messages", () => {
|
||||
client.disconnect();
|
||||
});
|
||||
|
||||
it("works with Amino JSON sign mode", async () => {
|
||||
fit("works with Amino JSON sign mode", async () => {
|
||||
pendingWithoutSimapp();
|
||||
if (simapp50Enabled()) pending("Not working, see https://github.com/cosmos/cosmos-sdk/issues/18546");
|
||||
// if (simapp50Enabled()) pending("Not working, see https://github.com/cosmos/cosmos-sdk/issues/18546");
|
||||
|
||||
const valWallet = await Secp256k1HdWallet.generate();
|
||||
const [valAccount] = await valWallet.getAccounts();
|
||||
@ -235,9 +234,9 @@ describe("staking messages", () => {
|
||||
client.disconnect();
|
||||
});
|
||||
|
||||
it("works with Amino JSON sign mode", async () => {
|
||||
fit("works with Amino JSON sign mode", async () => {
|
||||
pendingWithoutSimapp();
|
||||
if (simapp50Enabled()) pending("Not working, see https://github.com/cosmos/cosmos-sdk/issues/18546");
|
||||
// if (simapp50Enabled()) pending("Not working, see https://github.com/cosmos/cosmos-sdk/issues/18546");
|
||||
|
||||
const valWallet = await Secp256k1HdWallet.generate();
|
||||
const [valAccount] = await valWallet.getAccounts();
|
||||
|
Loading…
x
Reference in New Issue
Block a user