Skip to content
This repository was archived by the owner on Jul 6, 2026. It is now read-only.

[LUM-409] Implement Cosmos v0.46.0 - #14

Merged
Segfaultd merged 16 commits into
masterfrom
feature/lum-409
Nov 7, 2022
Merged

[LUM-409] Implement Cosmos v0.46.0#14
Segfaultd merged 16 commits into
masterfrom
feature/lum-409

Conversation

@Segfaultd

@Segfaultd Segfaultd commented Oct 25, 2022

Copy link
Copy Markdown
Member

Introduction

This PR introduces a few changes related to the used Cosmos SDK version, but also the used IBC version.

It bumps the SDK to 0.46.0, which is a major upgrade with breaking changes:

  • Store keys now lives under the storetypes and not under the sdk namespace anymore
  • The mint module now takes an additional parameter that we don't require at the moment
  • The legacy REST routes are fully deprecated
  • The IBC Fee keeper is now required in order to initialize the IBC module
  • The default keyring backend is now "file" and not "testing" anymore
  • We now use iso-production parameters in unit testing, especially when it comes to the default Bond Denom
  • A single Entry point for testing is now provided, it ensures the app is fully initialized with the correct parameters, voting power and validator set

It also bumps IBC-Go to v5.

Upgrade guides

https://github.com/cosmos/ibc-go/blob/main/docs/migrations/v3-to-v4.md

https://github.com/cosmos/ibc-go/blob/main/docs/migrations/v4-to-v5.md

Testing

The unit tests have been patched to compile but no logic was touched.
Considering the deep changes we introduce, we must carefully test this on a dedicated network before sending to mainnet.

- Dependencies bump
- StoreTypes usage
- IBCFee module implementation
- Centralized testing chain init
- Default params and validator set
- Removed legacy rest endpoints
- Backported legacy proposal system
@Segfaultd
Segfaultd requested a review from lebascou October 25, 2022 10:17
Comment thread cmd/lumd/cmd/genaccounts.go Fixed
@Segfaultd
Segfaultd marked this pull request as ready for review October 25, 2022 10:18

@lebascou lebascou left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Implementation LGTM, we need to thoroughly test the following now:

  • Keplr: RPC behaviour since it's been heavily deprecated and edited
  • IBC: All features in a production like environment

Comment thread app/app.go
Comment thread app/keepers.go
Comment thread app/keepers.go Outdated
Comment thread x/dfract/client/cli/proposal.go Outdated
Comment thread app/app.go
@Segfaultd
Segfaultd merged commit a7682fe into master Nov 7, 2022
@Segfaultd
Segfaultd deleted the feature/lum-409 branch November 30, 2022 10:47
Ricardo-Remy added a commit that referenced this pull request May 30, 2023
[LUM-591] - MsgServer -> clean up and split tests
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants