Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alliance amino codecs #19

Merged
merged 3 commits into from
Apr 26, 2023
Merged

Conversation

alecande11
Copy link
Contributor

No description provided.

@emidev98
Copy link
Contributor

emidev98 commented Apr 25, 2023

To complete this pull request an issue on amino encoding from Alliance module needs to be fixed:

@emidev98
Copy link
Contributor

This pull request includes a fix for the alliance module while reading the txInfo to parse the tx result correctly as shown in the following image:

branch version:
image

main version:
image

code

import {  LCDClient } from ".";

const lcd = LCDClient.fromDefaultConfig("testnet");

(async () => {
    const txInfo = await lcd.tx.txInfo("02B2A759D3CBCCD81FACD0846A7A7418F08650053BA8424F9DC55C9C988C48E3", "pisco-1");
    console.log("\n\n",txInfo.tx.body.messages[0])
})()

@alecande11 alecande11 merged commit 1b5358e into main Apr 26, 2023
@emidev98 emidev98 deleted the ST-394-support-alliance-amino-msgs branch April 27, 2023 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants