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 missing channel upgrade tests #5502

Merged
merged 12 commits into from
Jan 4, 2024
Prev Previous commit
Next Next commit
chore: adding additional type assertions
chatton committed Jan 2, 2024
commit 2616ac69016dec3d055704c12f09f7dd58df4be8
3 changes: 3 additions & 0 deletions modules/core/04-channel/types/msgs.go
Original file line number Diff line number Diff line change
@@ -40,6 +40,9 @@ var (
_ sdk.HasValidateBasic = (*MsgChannelUpgradeTry)(nil)
_ sdk.HasValidateBasic = (*MsgChannelUpgradeAck)(nil)
_ sdk.HasValidateBasic = (*MsgChannelUpgradeConfirm)(nil)
_ sdk.HasValidateBasic = (*MsgChannelUpgradeTimeout)(nil)
_ sdk.HasValidateBasic = (*MsgChannelUpgradeCancel)(nil)
_ sdk.HasValidateBasic = (*MsgPruneAcknowledgements)(nil)
)

// NewMsgChannelOpenInit creates a new MsgChannelOpenInit. It sets the counterparty channel