Skip to content

Commit

Permalink
add compiler assertions for MsgPruneAcknowledgements
Browse files Browse the repository at this point in the history
  • Loading branch information
charleenfei committed Dec 21, 2023
1 parent b75e3bf commit bcc08ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/core/04-channel/types/msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ var (
_ sdk.Msg = (*MsgAcknowledgement)(nil)
_ sdk.Msg = (*MsgTimeout)(nil)
_ sdk.Msg = (*MsgTimeoutOnClose)(nil)
_ sdk.Msg = (*MsgPruneAcknowledgements)(nil)

_ sdk.HasValidateBasic = (*MsgChannelOpenInit)(nil)
_ sdk.HasValidateBasic = (*MsgChannelOpenTry)(nil)
Expand All @@ -40,6 +41,7 @@ var (
_ sdk.HasValidateBasic = (*MsgChannelUpgradeTry)(nil)
_ sdk.HasValidateBasic = (*MsgChannelUpgradeAck)(nil)
_ sdk.HasValidateBasic = (*MsgChannelUpgradeConfirm)(nil)
_ sdk.HasValidateBasic = (*PruneAcknowledgements)(nil)

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / lint

undefined: PruneAcknowledgements (typecheck)

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / lint

undefined: PruneAcknowledgements) (typecheck)

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / lint

undefined: PruneAcknowledgements) (typecheck)

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / lint

undefined: PruneAcknowledgements) (typecheck)

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / lint

undefined: PruneAcknowledgements) (typecheck)

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / lint

undefined: PruneAcknowledgements (typecheck)

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / lint

undefined: PruneAcknowledgements) (typecheck)

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / lint

undefined: PruneAcknowledgements) (typecheck)

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / lint

undefined: PruneAcknowledgements) (typecheck)

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / lint

undefined: PruneAcknowledgements) (typecheck)

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / build (arm)

undefined: PruneAcknowledgements

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / build (arm64)

undefined: PruneAcknowledgements

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / build (amd64)

undefined: PruneAcknowledgements

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / tests (00)

undefined: PruneAcknowledgements

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / tests (01)

undefined: PruneAcknowledgements

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / tests (01)

undefined: PruneAcknowledgements

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / tests (03)

undefined: PruneAcknowledgements

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / tests (02)

undefined: PruneAcknowledgements

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / tests (02)

undefined: PruneAcknowledgements

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / tests (02)

undefined: PruneAcknowledgements

Check failure on line 44 in modules/core/04-channel/types/msgs.go

View workflow job for this annotation

GitHub Actions / tests (02)

undefined: PruneAcknowledgements
)

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

0 comments on commit bcc08ce

Please sign in to comment.