mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
Re-enable Amino JSON signing for wasmd messages
This commit is contained in:
parent
96de8b980b
commit
ab0d6b1475
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user