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

Use new port router for OnChanUpgradeAck #7094

Conversation

chatton
Copy link
Contributor

@chatton chatton commented Aug 8, 2024

Description

closes: #7028


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.

  • Targeted PR against the correct branch (see CONTRIBUTING.md).
  • Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
  • Code follows the module structure standards and Go style guide.
  • Wrote unit and integration tests.
  • Updated relevant documentation (docs/).
  • Added relevant godoc comments.
  • Provide a conventional commit message to follow the repository standards.
  • Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
  • Re-reviewed Files changed in the GitHub PR explorer.
  • Review SonarCloud Report in the comment section below once CI passes.

@@ -334,7 +334,39 @@ func (im *LegacyIBCModule) OnChanUpgradeTry(ctx sdk.Context, portID, channelID s
}

// OnChanUpgradeAck implements the IBCModule interface
func (LegacyIBCModule) OnChanUpgradeAck(ctx sdk.Context, portID, channelID, counterpartyVersion string) error {
func (im *LegacyIBCModule) OnChanUpgradeAck(ctx sdk.Context, portID, channelID, counterpartyVersion string) error {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

same as OnChanUpgradeTry except the negotiatedVersions array was removed.

@@ -1285,70 +1285,6 @@ func (suite *KeeperTestSuite) TestChannelUpgradeAck() {
ibctesting.AssertEvents(&suite.Suite, expEvents, events)
},
},
{
"application callback returns error and error receipt is written",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

no more underlying app

@chatton chatton marked this pull request as ready for review August 8, 2024 10:58
@chatton chatton added feat: port-router priority PRs that need prompt reviews labels Aug 8, 2024
Copy link

sonarcloud bot commented Aug 8, 2024

Quality Gate Failed Quality Gate failed for 'ibc-go'

Failed conditions
61.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@chatton chatton merged commit d779697 into feat/port-router Aug 8, 2024
63 of 66 checks passed
@chatton chatton deleted the cian/issue#7028-use-new-port-router-for-onchanupgradeack branch August 8, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: port-router priority PRs that need prompt reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants