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

fix(golang): complete ledger support for MsgWallet{Spend}Action #5779

Merged
merged 3 commits into from
Jul 29, 2022

Conversation

dckc
Copy link
Member

@dckc dckc commented Jul 18, 2022

refs #3628

register amino codec for WalletAction, SpendAction filling in LegacyMsg methods.

This avoids:

panic: expected *legacytx.LegacyMsg when using amino JSON

Testing Considerations

I've been testing it manually:
#3628 (comment)

@dckc dckc requested a review from JimLarson July 18, 2022 19:49
}

// GetSignBytes encodes the message for signing
func (msg MsgWalletSpendAction) GetSignBytes() []byte {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please move the MsgWalletSpendAction methods down to the end of the ...SpendAction section below.

@dckc dckc added the automerge:squash Automatically squash merge label Jul 23, 2022
dckc added 2 commits July 29, 2022 16:51
refs #3628

register amino codec for WalletAction, SpendAction
... and MsgWalletSpendAction by filling in LegacyMsg methods.

This avoids:

panic: expected *legacytx.LegacyMsg when using amino JSON
@mergify mergify bot merged commit 6cbf3c2 into master Jul 29, 2022
@mergify mergify bot deleted the 3628-wallet-golang branch July 29, 2022 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:squash Automatically squash merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants