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

Change counterpartyInfo to channel #100

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

AdityaSripal
Copy link
Member

Description

This PR renames counterpartyInfo to channel

Moreover it does not assume that the counterpartyId is necessarily a clientID. I think here the logic looks much more in-line with IBC-go and hopefully will do a lot to remove the confusions raised in the referenced spec issue.

For now, I have a single contract implementing ICS02 and ICS04 specs since ICS04 doesn't have too many additional functions. I can rename the file to CoreRouter to make this clearer rather than ICS02Client.

TODO:

  • Rename ICS02Client to something that indicates it is doing both ICS02 client and ICS04 channel
  • Fix e2e tests

ref: cosmos/ibc#1164


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.

  • Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
  • Wrote unit and integration tests.
  • Added relevant natspec and godoc comments.
  • Provide a conventional commit message to follow the repository standards.
  • Re-reviewed Files changed in the GitHub PR explorer.
  • Review SonarCloud Report in the comment section below once CI passes.

@@ -52,7 +52,7 @@ test-e2e testname:

# Install the sp1-ics07-tendermint operator for use in the e2e tests
install-operator:
cargo install --git https://github.com/cosmos/sp1-ics07-tendermint --rev {{sp1_operator_rev}} sp1-ics07-tendermint-operator --bin operator --locked
cargo +nightly install --git https://github.com/cosmos/sp1-ics07-tendermint --rev {{sp1_operator_rev}} sp1-ics07-tendermint-operator --bin operator --locked
Copy link
Member Author

Choose a reason for hiding this comment

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

i had to do this to get it to install on my machine. Can remove if desired

Copy link
Member

Choose a reason for hiding this comment

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

Ah yes, makes sense. The most recent operator commit doesn't need this since we removed the union dependencies

@AdityaSripal AdityaSripal marked this pull request as ready for review November 19, 2024 15:03
@AdityaSripal AdityaSripal changed the title DRAFT: Change counterpartyInfo to channel Change counterpartyInfo to channel Nov 19, 2024
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.

2 participants