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

Support EncodeObj #129

Closed
wants to merge 6 commits into from
Closed

Support EncodeObj #129

wants to merge 6 commits into from

Conversation

abefernan
Copy link
Contributor

Part of #29.

@abefernan abefernan self-assigned this Jun 5, 2023
@vercel
Copy link

vercel bot commented Jun 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
cosmos-multisig-ui ✅ Ready (Inspect) Visit Preview Jun 5, 2023 6:30am

}
})();

const msg: EncodeObject = { typeUrl: msgTypeUrl, value: parsedMsgValue };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The value: parsedMsgValue here is the tricky part: here we need the telescope-specific format. E.g. 64bit integers need to be represented as a Long type. Binary data needs to be Uint8Array. There is no standardized way to get this from JSON without message specific JSON -> JavaScript importers.

@abefernan
Copy link
Contributor Author

Implementation not valid, will keep exploring in #29

@abefernan abefernan closed this Jun 19, 2024
@abefernan abefernan deleted the feat/support-encodeobj branch June 19, 2024 10:56
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