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: remove IsOpen and IsClosed channel methods #5691

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

damiannolan
Copy link
Member

Description

Removes IsClosed and IsOpen channel methods.


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/) or specification (x/<module>/spec/).
  • Added relevant godoc comments.
  • Provide a commit message to be used for the changelog entry in the PR description for review.
  • Re-reviewed Files changed in the Github PR explorer.
  • Review Codecov Report in the comment section below once CI passes.

Copy link
Contributor

@DimitrisJim DimitrisJim left a comment

Choose a reason for hiding this comment

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

should slap bp to 8.1 yea?

Copy link
Contributor

@charleenfei charleenfei left a comment

Choose a reason for hiding this comment

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

🚀

@damiannolan
Copy link
Member Author

should slap bp to 8.1 yea?

Indeed! why not :)

@damiannolan damiannolan enabled auto-merge (squash) January 23, 2024 15:50
@crodriguezvega
Copy link
Contributor

If we're removing these functions, do you agree on closing this issue then? :)

@damiannolan damiannolan merged commit e49cadd into main Jan 23, 2024
65 checks passed
@damiannolan damiannolan deleted the damian/rm-open-closed-chan-methods branch January 23, 2024 15:52
mergify bot pushed a commit that referenced this pull request Jan 23, 2024
damiannolan added a commit that referenced this pull request Jan 23, 2024
(cherry picked from commit e49cadd)

Co-authored-by: Damian Nolan <damiannolan@gmail.com>
@colin-axner
Copy link
Contributor

Happy with the change! But it shouldn't have been backported if it is removing functions?

@colin-axner
Copy link
Contributor

#5700

@damiannolan
Copy link
Member Author

Happy with the change! But it shouldn't have been backported if it is removing functions?

Indeed! My bad, I didn't realise these were in v8.0.0

@DimitrisJim
Copy link
Contributor

Are they? Pretty sure we added these with chan upgradability but could be wrong.

@colin-axner
Copy link
Contributor

https://github.com/cosmos/ibc-go/blob/release/v8.0.x/modules/core/04-channel/types/channel.go#L55

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.

5 participants