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

Merge the *-ics variations into the mainline Cosmos SDK #828

Closed
AaronKutch opened this issue Apr 5, 2023 · 3 comments
Closed

Merge the *-ics variations into the mainline Cosmos SDK #828

AaronKutch opened this issue Apr 5, 2023 · 3 comments
Labels
status: waiting-triage This issue/PR has not yet been triaged by the team. type: bug Issues that need priority attention -- something isn't working

Comments

@AaronKutch
Copy link

AaronKutch commented Apr 5, 2023

Hello, we are planning to use interchain-security v1.1, and I presume that we should rebase our slightly customized SDK on v0.45.13-ics, which is what is used in this repo's go.mod. The first strange thing is a "This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository" warning. This repo is directly under cosmos/, so it should be a branch that completely exists on the cosmos-sdk repo? When I run make test on v0.45.13-ics (at commit d6c8598683ce1ac8efd39941109eae78b8211ddf), I get some test failures related to hashes. Is the *-ics series going to eventually be merged with the main series?

edit: I just remembered that the hash change is some spurious thing (?) related to having a high enough Go version cosmos/cosmos-sdk#13355

@AaronKutch AaronKutch added type: bug Issues that need priority attention -- something isn't working status: waiting-triage This issue/PR has not yet been triaged by the team. labels Apr 5, 2023
@faddat
Copy link
Contributor

faddat commented Apr 6, 2023

I think that we should instead get the needed changes into the next version of the sdk.

Well, I suppose that we need docs too, but well, here's a comparison for you:

https://docs.google.com/document/d/1ljXZkdbd7g0UjcWlTaigFycfpSlZfN3uNhTXiq6gbVE/edit?usp=sharing

It's in the SDK section of the document.

@AaronKutch AaronKutch changed the title Document why the *-ics variations of the Cosmos SDK exist Merge the *-ics variations into the mainline Cosmos SDK Apr 6, 2023
@AaronKutch
Copy link
Author

AaronKutch commented Apr 6, 2023

So, right now there are both PRs for 0.45.15-ics and 0.47 open with both of them seeming to be close to completion. Just to make sure, there is going to be a point release using 0.45.15-ics before 0.47? Although, we may want to jump straight to 0.47 anyway since 0.45.15 is supposed to be the last point release for 0.45.x and has some weird stuff in it

@jtremback
Copy link
Contributor

jtremback commented Apr 6, 2023

Cosmos-SDK 0.47.x already contains all needed interfaces for ICS, for example in this file. The 0.45.x-ics backports are being maintained since 0.47.x was not ready at launch and audit of ICS.

As for which version of the SDK you should base a consumer chain on, we are currently supporting 0.45.x-ics. There are several third parties working on upgrades to 0.47.x, but we do not yet officially support it.

ThanhNhann pushed a commit to decentrio/interchain-security that referenced this issue Jan 3, 2024
## Description



closes: cosmos#828


### Commit Message / Changelog Entry

```bash
imp(api!): rename `IsBound` to `HasCapability` for IBC application modules
```

see the [guidelines](https://github.com/cosmos/ibc-go/blob/main/docs/dev/pull-requests.md#commit-messages) for commit messages. (view raw markdown for examples)




---

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 correct branch (see [CONTRIBUTING.md](https://github.com/cosmos/ibc-go/blob/main/docs/dev/pull-requests.md#pull-request-targeting)).
- [x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
- [x] Code follows the [module structure standards](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules/10-structure.md) and [Go style guide](../docs/dev/go-style-guide.md).
- [ ] Wrote unit and integration [tests](https://github.com/cosmos/ibc-go/blob/main/testing/README.md#ibc-testing-package).
- [ ] Updated relevant documentation (`docs/`) or specification (`x/<module>/spec/`).
- [ ] Added relevant `godoc` [comments](https://blog.golang.org/godoc-documenting-go-code).
- [ ] Provide a [commit message](https://github.com/cosmos/ibc-go/blob/main/docs/dev/pull-requests.md#commit-messages) 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-triage This issue/PR has not yet been triaged by the team. type: bug Issues that need priority attention -- something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants