-
Notifications
You must be signed in to change notification settings - Fork 586
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
refactor: Move Counterparty to packet server #7280
Conversation
Co-authored-by: Aditya <[email protected]>
Co-authored-by: Aditya <[email protected]>
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.
Nice work! I presume you'll separate client ID and channel ID in a future pr?
suite.Require().True(found, "GetCounterparty does not return counterparty") | ||
suite.Require().Equal(counterparty, retrievedCounterparty, "Counterparty retrieved not equal") | ||
|
||
retrievedCounterparty, found = suite.chainA.App.GetIBCKeeper().PacketServerKeeper.GetCounterparty(suite.chainA.GetContext(), "client-0") |
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.
maybe note this clientid doesn't exist or use ibctesting constant invalid client id (think it exists)
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.
LGTM, Looked through all the changes and they all seem good, nice job on the shuffling!
Quality Gate passed for 'ibc-go'Issues Measures |
Description
As tiny as I could get this diff. Simply moves it over for now. Follow ups will add the a query server for packet server and change the counterparty struct to contain the additional identifiers.
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.
docs/
).godoc
comments.Files changed
in the GitHub PR explorer.SonarCloud Report
in the comment section below once CI passes.