From 118e7094deadd699e1fc0f472f3d39e155430bb8 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Tue, 2 Aug 2022 14:55:07 +0200 Subject: [PATCH] Don't test MsgVoteWeighted against simapp42 --- packages/stargate/src/modules/gov/messages.spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/stargate/src/modules/gov/messages.spec.ts b/packages/stargate/src/modules/gov/messages.spec.ts index 378147ea..6724ca6a 100644 --- a/packages/stargate/src/modules/gov/messages.spec.ts +++ b/packages/stargate/src/modules/gov/messages.spec.ts @@ -12,6 +12,7 @@ import { faucet, nonNegativeIntegerMatcher, pendingWithoutSimapp, + pendingWithoutSimapp44, simapp, simappEnabled, validator, @@ -170,7 +171,7 @@ describe("gov messages", () => { describe("MsgVoteWeighted", () => { it("works", async () => { - pendingWithoutSimapp(); + pendingWithoutSimapp44(); // MsgVoteWeighted does not yet exist in Cosmos SDK 0.42 assert(voterWallet); assert(proposalId, "Missing proposal ID"); const client = await SigningStargateClient.connectWithSigner(simapp.tendermintUrl, voterWallet); @@ -203,7 +204,7 @@ describe("gov messages", () => { }); it("works with Amino JSON sign mode", async () => { - pendingWithoutSimapp(); + pendingWithoutSimapp44(); // MsgVoteWeighted does not yet exist in Cosmos SDK 0.42 assert(voterWalletAmino); assert(proposalId, "Missing proposal ID"); const client = await SigningStargateClient.connectWithSigner(simapp.tendermintUrl, voterWalletAmino);