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 message encode object interface in each module #47

Merged
merged 7 commits into from
Dec 1, 2022

Conversation

loin3
Copy link
Contributor

@loin3 loin3 commented Nov 18, 2022

By adding Msg*EncodeObject to each module messages, end user does not need to import lbmjs-types to create each message's encode object.

Other modules that exists in cosmjs already have message encode objects, so in this PR, token, collection, foundation module's message encode objects are added.

@loin3 loin3 changed the title Add create message functions in each module Add message encode object interface in each module Nov 18, 2022
@loin3 loin3 self-assigned this Nov 18, 2022
@loin3 loin3 linked an issue Nov 18, 2022 that may be closed by this pull request
isMsgCollectionModifyEncodeObject,
isMsgCollectionRevokePermissionEncodeObject,
isMsgCreateContractEncodeObject,
isMsgDetachFromEncodeObject,
Copy link
Member

Choose a reason for hiding this comment

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

There is not isMsgDetachEncodeObject.

@loin3 loin3 requested a review from zemyblue November 22, 2022 03:59
@loin3 loin3 merged commit 82a6cc5 into main Dec 1, 2022
@loin3 loin3 deleted the feat/add-create-message branch December 1, 2022 05:59
@zemyblue zemyblue mentioned this pull request Dec 8, 2022
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.

Add msg encode object functions
3 participants