Re-enable Amino JSON signing for wasmd messages

This commit is contained in:
Simon Warta 2024-04-15 11:49:09 +02:00
parent 96de8b980b
commit ab0d6b1475

View File

@ -128,7 +128,6 @@ describe("SigningCosmWasmClient", () => {
it("works with legacy Amino signer access type", async () => { it("works with legacy Amino signer access type", async () => {
pendingWithoutWasmd(); pendingWithoutWasmd();
pending("wasmd 0.50 does not work with Amino JSON signing");
const wallet = await Secp256k1HdWallet.fromMnemonic(alice.mnemonic, { prefix: wasmd.prefix }); const wallet = await Secp256k1HdWallet.fromMnemonic(alice.mnemonic, { prefix: wasmd.prefix });
const options = { ...defaultSigningClientOptions, prefix: wasmd.prefix }; const options = { ...defaultSigningClientOptions, prefix: wasmd.prefix };
const client = await SigningCosmWasmClient.connectWithSigner(wasmd.endpoint, wallet, options); const client = await SigningCosmWasmClient.connectWithSigner(wasmd.endpoint, wallet, options);
@ -264,7 +263,6 @@ describe("SigningCosmWasmClient", () => {
it("works with legacy Amino signer", async () => { it("works with legacy Amino signer", async () => {
pendingWithoutWasmd(); pendingWithoutWasmd();
pending("wasmd 0.50 does not work with Amino JSON signing");
const wallet = await Secp256k1HdWallet.fromMnemonic(alice.mnemonic, { prefix: wasmd.prefix }); const wallet = await Secp256k1HdWallet.fromMnemonic(alice.mnemonic, { prefix: wasmd.prefix });
const client = await SigningCosmWasmClient.connectWithSigner( const client = await SigningCosmWasmClient.connectWithSigner(
wasmd.endpoint, wasmd.endpoint,
@ -348,7 +346,6 @@ describe("SigningCosmWasmClient", () => {
it("works with Amino JSON signing", async () => { it("works with Amino JSON signing", async () => {
pendingWithoutWasmd(); pendingWithoutWasmd();
pending("wasmd 0.50 does not work with Amino JSON signing");
const aminoJsonWallet = await Secp256k1HdWallet.fromMnemonic(alice.mnemonic, { const aminoJsonWallet = await Secp256k1HdWallet.fromMnemonic(alice.mnemonic, {
prefix: wasmd.prefix, prefix: wasmd.prefix,
}); });
@ -530,7 +527,6 @@ describe("SigningCosmWasmClient", () => {
it("works with legacy Amino signer", async () => { it("works with legacy Amino signer", async () => {
pendingWithoutWasmd(); pendingWithoutWasmd();
pending("wasmd 0.50 does not work with Amino JSON signing");
const wallet = await Secp256k1HdWallet.fromMnemonic(alice.mnemonic, { prefix: wasmd.prefix }); const wallet = await Secp256k1HdWallet.fromMnemonic(alice.mnemonic, { prefix: wasmd.prefix });
const client = await SigningCosmWasmClient.connectWithSigner( const client = await SigningCosmWasmClient.connectWithSigner(
wasmd.endpoint, wasmd.endpoint,
@ -634,7 +630,6 @@ describe("SigningCosmWasmClient", () => {
it("works with legacy Amino signer", async () => { it("works with legacy Amino signer", async () => {
pendingWithoutWasmd(); pendingWithoutWasmd();
pending("wasmd 0.50 does not work with Amino JSON signing");
const wallet = await Secp256k1HdWallet.fromMnemonic(alice.mnemonic, { prefix: wasmd.prefix }); const wallet = await Secp256k1HdWallet.fromMnemonic(alice.mnemonic, { prefix: wasmd.prefix });
const client = await SigningCosmWasmClient.connectWithSigner( const client = await SigningCosmWasmClient.connectWithSigner(
wasmd.endpoint, wasmd.endpoint,