-
Notifications
You must be signed in to change notification settings - Fork 579
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
chore: adding MsgChannelUpgradeTimeout
fields and sdk.Msg
interface impl
#1830
chore: adding MsgChannelUpgradeTimeout
fields and sdk.Msg
interface impl
#1830
Conversation
if msg.CounterpartyChannel.State != OPEN { | ||
return sdkerrors.Wrapf(ErrInvalidChannelState, "expected: %s, got: %s", OPEN, msg.CounterpartyChannel.State) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AdityaSripal do you think there's any additional checks we need to perform on the counterparty channel?
Maybe check the channel version is not empty?
return sdkerrors.Wrap(sdkerrors.ErrInvalidHeight, "proof height must be non-zero") | ||
} | ||
|
||
if msg.CounterpartyChannel.State != OPEN { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could the counterparty channel state be in INITUPGRADE (crossing hellos?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I know crossing hellos are no longer supported, and won't be for channel upgrades?
cc. @AdityaSripal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tentative approval if we don't support crossing hellos anymore
I'm going to merge this. We can follow up with @AdityaSripal about this later 👍 |
Description
closes: #1626
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes