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

feat: upgrade Cosmos SDK to v0.46.0 and IBC to v5 #2677

Merged
merged 38 commits into from
Aug 17, 2022
Merged

Conversation

ilgooz
Copy link
Member

@ilgooz ilgooz commented Jul 29, 2022

No description provided.

@ilgooz ilgooz requested a review from aljo242 as a code owner July 29, 2022 07:56
@ilgooz ilgooz changed the title docs(changelog): add unreleased section feat: upgrade Cosmos SDK to v0.46.0 and IBC to v5 Jul 29, 2022
@ilgooz ilgooz linked an issue Jul 29, 2022 that may be closed by this pull request
8 tasks
@ilgooz ilgooz marked this pull request as draft July 29, 2022 08:03
* update go mod

* update ibc path

* fix merge errors

* add temp client mock

* fix: deps (#2676)

* revert packages to old ibc-go

* fix remaining ibc paths

* fix template go.sum

* panic keyring errors

* add mockery generate instructions

* regenerate mocks

Co-authored-by: İlker G. Öztürk <[email protected]>
@aljo242
Copy link
Contributor

aljo242 commented Jul 29, 2022

Not sure why it's failing now

EDIT: It was because of the added node commands - fixed

@fadeev
Copy link
Contributor

fadeev commented Aug 3, 2022

wdyt about following the transfer module pattern and having a separate IBCModule type:

https://github.com/cosmos/ibc-go/blob/v5.0.0-beta1/modules/apps/transfer/ibc_module.go#L21-L30

and AppModuleBasic type:

https://github.com/cosmos/ibc-go/blob/v5.0.0-beta1/modules/apps/transfer/module.go#L33

This is how it could potentially look like:

https://github.com/fadeev/templateIBCv4/tree/master/x/foobar

@aljo242
Copy link
Contributor

aljo242 commented Aug 3, 2022

wdyt about following the transfer module pattern and having a separate IBCModule type:

https://github.com/cosmos/ibc-go/blob/v5.0.0-beta1/modules/apps/transfer/ibc_module.go#L21-L30

and AppModuleBasic type:

https://github.com/cosmos/ibc-go/blob/v5.0.0-beta1/modules/apps/transfer/module.go#L33

This is how it could potentially look like:

https://github.com/fadeev/templateIBCv4/tree/master/x/foobar

Yeah, I like this pattern and it would be relatively easy to add !

@aljo242 aljo242 marked this pull request as ready for review August 3, 2022 13:15
@aljo242 aljo242 self-assigned this Aug 3, 2022
Alex Johnson and others added 2 commits August 9, 2022 18:56
* fix comment

* use proto Any

* Update ignite/pkg/cosmosclient/cosmosclient.go

Co-authored-by: Lucas Btd <[email protected]>

Co-authored-by: Lucas Btd <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2022

Visit the preview URL for this PR (updated for commit b1c9d12):

https://ignite-go-docs--pr2677-feat-sdk-ibc-upgrade-78213w5i.web.app

(expires Tue, 23 Aug 2022 13:32:55 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

lumtis and others added 3 commits August 10, 2022 14:25
* update template for ica

* Update ignite/templates/app/stargate/app/app.go.plush

Co-authored-by: Lucas Btd <[email protected]>

Co-authored-by: Lucas Btd <[email protected]>
jeronimoalbi and others added 3 commits August 10, 2022 20:14
tbruyelle
tbruyelle previously approved these changes Aug 12, 2022
Copy link
Contributor

@tbruyelle tbruyelle left a comment

Choose a reason for hiding this comment

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

I successfully ran the interchain tutorial with a CLI binary compiled with this branch, so LGTM!

- Change `ibc-go` import to use "v5"
- Add package missing definition to code examples that can be copy/pasted
- Change file references to paths, for consistency with other tutorials
- Fix interchange tutorial to use ports that don't overlap
- Remove unused imports
- Fix documentation issues
tbruyelle
tbruyelle previously approved these changes Aug 12, 2022
* chore: upgrade `@confio/relayer` to the latest version 0.5.1
* chore: update `@cosmjs` to version 0.28.9
* chore: remove `@cosmjs/launchpad` from dependencies
* chore: add new dependency `@cosmjs/encoding` for relayer
* chore: add `sinon` dependency required to build the relayer
* fix: remove "gasLimit" option from relayer
* fix: update `@cosmjs` to version 0.28.11
Alex Johnson and others added 2 commits August 12, 2022 09:31
* fix(cosmosclient): account prefix config not correct when broadcasting a tx from a newly created default account

* add issue
@aljo242
Copy link
Contributor

aljo242 commented Aug 16, 2022

Any remaining issues with this PR?

@ilgooz
Copy link
Member Author

ilgooz commented Aug 17, 2022

Great! Thanks everyone for making this happen!

@jeronimoalbi, @lubtd would you be able to give a review before we merge?

@aljo242 aljo242 merged commit 693bf79 into develop Aug 17, 2022
@aljo242 aljo242 deleted the feat/sdk-ibc-upgrade branch August 17, 2022 15:02
Jchicode pushed a commit to Jchicode/cli that referenced this pull request Aug 9, 2023
* docs(changelog): add unreleased section

* feat!: Cosmos SDK v0.46.0 (ignite#2675)

* update go mod

* update ibc path

* fix merge errors

* add temp client mock

* fix: deps (ignite#2676)

* revert packages to old ibc-go

* fix remaining ibc paths

* fix template go.sum

* panic keyring errors

* add mockery generate instructions

* regenerate mocks

Co-authored-by: İlker G. Öztürk <[email protected]>

* fix merge

* update spn

* upgrade spn

* remove ibc-go fork

* template updates

* fix ibc and oracle templates

* update templates

* remaining tempalte updates

* fix template

* fix faucet test

* use beta ibc release

* update deps in template

* use ibcmodule idiom (ignite#2692)

* Update ignite/templates/module/create/ibc/x/{{moduleName}}/module_ibc.go.plush

Co-authored-by: Lucas Btd <[email protected]>

* fix(`pkg/cosmosaccount`): register cryptocodec interfaces (ignite#2702)

* register crypto codec interfaces

* improve error messages

* fix(template): removed unused methods and fix comments (ignite#2708)

* fix(`cosmosclient`): use protobuf Any for TxMsgData  (ignite#2714)

* fix comment

* use proto Any

* Update ignite/pkg/cosmosclient/cosmosclient.go

Co-authored-by: Lucas Btd <[email protected]>

Co-authored-by: Lucas Btd <[email protected]>

* chore(0.46): upgrade spn version (ignite#2730)

* feat(`app`): add interchain accounts for `v0.46.0` (ignite#2703)

* update template for ica

* Update ignite/templates/app/stargate/app/app.go.plush

Co-authored-by: Lucas Btd <[email protected]>

Co-authored-by: Lucas Btd <[email protected]>

* fix: change relayer call to use secp256k1 private keys in call (ignite#2729)

This chage uses secp256k1 private keys instead of ASCII armored ones as
gRPC arguments when calling the TS relayer.

* docs: update tutorials (ignite#2737)

- Change `ibc-go` import to use "v5"
- Add package missing definition to code examples that can be copy/pasted
- Change file references to paths, for consistency with other tutorials
- Fix interchange tutorial to use ports that don't overlap
- Remove unused imports
- Fix documentation issues

* feat: upgrade `ts-relayer` dependencies (ignite#2722)

* chore: upgrade `@confio/relayer` to the latest version 0.5.1
* chore: update `@cosmjs` to version 0.28.9
* chore: remove `@cosmjs/launchpad` from dependencies
* chore: add new dependency `@cosmjs/encoding` for relayer
* chore: add `sinon` dependency required to build the relayer
* fix: remove "gasLimit" option from relayer
* fix: update `@cosmjs` to version 0.28.11

* fix(cosmosclient): fix account prefix config (ignite#2743)

* fix(cosmosclient): account prefix config not correct when broadcasting a tx from a newly created default account

* add issue

Co-authored-by: Alex Johnson <[email protected]>
Co-authored-by: Lucas Btd <[email protected]>
Co-authored-by: Denis Fadeev <[email protected]>
Co-authored-by: Jerónimo Albi <[email protected]>
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.

Cosmos SDK v0.46.0 upgrade tracking issue
6 participants