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

Change the value of AminoMsg to the general type #19

Merged
merged 2 commits into from
Jul 11, 2023

Conversation

tranvanthai
Copy link
Contributor

@tranvanthai tranvanthai commented Jul 6, 2023

Change the value of AminoMsg to the general type

Description

Currently, the AminoMsg is only supported the MsgSend, It's hard to use the tx module. Thus, I change the value of AminoMsg to JsonElement. It's easy to implement with other messages: MsgDelegate, MsgUnDelegate.....

Motivation and context

It's hard to use the AminoMsg for other messages, I improve it to use with all messages.

How has this been tested?

I add the testing code in the examples/multisig-example. Please use it to test by yourself.

Screenshots (if appropriate):

Checklist:

  • I have added a relevant changelog to CHANGELOG.md.
  • I have added tests to cover my changes.
  • I have updated the documentation accordingly.

@CLAassistant
Copy link

CLAassistant commented Jul 6, 2023

CLA assistant check
All committers have signed the CLA.

@jaeseung-bae
Copy link
Contributor

@tranvanthai
Thanks for the PR.
Please update changelog.

@zemyblue zemyblue requested a review from ulbqb July 11, 2023 01:31
@jaeseung-bae jaeseung-bae merged commit ca73257 into Finschia:main Jul 11, 2023
4 checks passed
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.

None yet

4 participants