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

chore: clean up ProvideCounterparty tx. #7422

Merged

Conversation

DimitrisJim
Copy link
Contributor

Description

Remove uneeded fields which were made obsolete by the CreateChannel tx. Follow up to #7420

closes: #XXXX


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.

counterparty, found := suite.chainA.App.GetIBCKeeper().PacketServerKeeper.GetCounterparty(suite.chainA.GetContext(), path.EndpointA.ChannelID)
suite.Require().True(found)
suite.Require().Equal(counterparty, msg.Counterparty)
suite.Require().Equal(counterparty.CounterpartyChannelId, path.EndpointB.ChannelID)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO: we should do same thing we did for old chan creation flow to get unique channel identifiers. The channelIDs for both endpoints are channel-0 here.

Base automatically changed from jim/test-runs-create-channel to feat/ibc-eureka October 9, 2024 13:17
Copy link
Member

@AdityaSripal AdityaSripal left a comment

Choose a reason for hiding this comment

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

Couple nits

modules/core/keeper/msg_server_test.go Outdated Show resolved Hide resolved
modules/core/packet-server/client/cli/tx.go Show resolved Hide resolved
Copy link

sonarcloud bot commented Oct 9, 2024

@AdityaSripal AdityaSripal merged commit b509c50 into feat/ibc-eureka Oct 9, 2024
65 checks passed
@AdityaSripal AdityaSripal deleted the jim/trim-down-provide-counterparty-proto branch October 9, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants