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

Quasar chain uprgade #607

Merged
merged 25 commits into from
Jul 22, 2024
Merged

Quasar chain uprgade #607

merged 25 commits into from
Jul 22, 2024

Conversation

arhamchordia
Copy link
Collaborator

@arhamchordia arhamchordia commented May 29, 2024

1. Overview

Chain upgrade from sdk45 to sdk47

2. Implementation details

Changes made in this PR are mostly on adding few new modules into play and upgrading versions of old dependencies :

  1. Wasm bumped from v31 to v45
  2. IBC from v4 to v7
  3. Wasmvm from 1.2 to 1.5
  4. IBC was light client added
  5. Cosmos sdk from v45 to v47.12
  6. Async ICQ from v4 to v7
  7. Tendermint to cometbft
  8. and so on...

3. How to test/use

Testing can be done by running :

  1. Compile v1.0.0 or download from tagged versions as quasarnodedv1
  2. Change directory to demos/upgrade-handler/v2.0.0
  3. Run upgrade_test.sh.

Upgrade test will run the old binary with relayer setup and some IBC connections to Osmosis chain.
And then it will perform some pre upgrade transactions and then post the upgrade proposal.
Once the desired block height is reached then the setup will automatically stop the old chain and start with new binary.
New binary once started, it will be tested using the post_upgrade actions on chain.

4. Checklist

  • Does the Readme need to be updated?

5. Limitations (optional)

6. Future Work (optional)

akure and others added 9 commits October 19, 2023 11:57
## 1. Overview

- `genutil` module was not initalised with `DefaultMessageValidator`
- added a simple test script in `/scripts` 
<!-- What are you changing, removing, or adding in this review? -->

## 2. Implementation details

<!-- Describe the implementation (highlights only) as well as design
rationale. -->

## 3. How to test/use

<!-- How can people test/use this? -->

## 4. Checklist

<!-- Checklist for PR author(s). -->

- [ ] Does the Readme need to be updated?

## 5. Limitations (optional)

<!-- Describe any limitation of the capabilities listed in the Overview
section. -->

## 6. Future Work (optional)

<!-- Describe follow up work, if any. -->

Co-authored-by: Ajaz Ahmed <[email protected]>
@arhamchordia arhamchordia changed the title Feature/update sdk47 Quasar chain uprgade May 29, 2024
@arhamchordia arhamchordia marked this pull request as ready for review July 4, 2024 06:58
app/keepers/keepers.go Outdated Show resolved Hide resolved
cmd/quasarnoded/main.go Outdated Show resolved Hide resolved
Copy link
Contributor

@ajansari95 ajansari95 left a comment

Choose a reason for hiding this comment

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

A thorough cleanup of the PR is required. Points that need to be addressed include:

  • A lot of commented code.
  • Inconsistent import grouping.
  • TODOs , if addressed, should be removed. Additionally, we have at numerous placesmentioned we need to recheck if the fix works was it rechecked?if yes the comment should be removed.

I believe our CI is very weak; this PR shouldn't have passed any lint checks. We need to specify strict linting rules.

app/simulation_test.go Outdated Show resolved Hide resolved
cmd/quasarnoded/cmd/root.go Outdated Show resolved Hide resolved
cmd/quasarnoded/cmd/root.go Outdated Show resolved Hide resolved
cmd/quasarnoded/cmd/root.go Outdated Show resolved Hide resolved
x/tokenfactory/client/cli/tx.go Outdated Show resolved Hide resolved
x/tokenfactory/client/cli/tx.go Outdated Show resolved Hide resolved
x/tokenfactory/client/cli/tx.go Outdated Show resolved Hide resolved
x/tokenfactory/module.go Outdated Show resolved Hide resolved
x/tokenfactory/types/codec.go Show resolved Hide resolved
@arhamchordia arhamchordia requested review from akure and ajansari95 July 15, 2024 08:56
Makefile Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
app/export.go Show resolved Hide resolved
app/keepers/keepers.go Show resolved Hide resolved
app/keepers/keepers.go Outdated Show resolved Hide resolved
x/qvesting/handler.go Show resolved Hide resolved
app/app.go Outdated Show resolved Hide resolved
app/app.go Outdated Show resolved Hide resolved
app/app.go Show resolved Hide resolved
proto/osmosis/gamm/v1beta1/query.proto Outdated Show resolved Hide resolved
@arhamchordia arhamchordia requested a review from magiodev July 15, 2024 14:28
magiodev
magiodev previously approved these changes Jul 16, 2024
ajansari95
ajansari95 previously approved these changes Jul 16, 2024
akure
akure previously approved these changes Jul 16, 2024
Copy link
Contributor

@akure akure left a comment

Choose a reason for hiding this comment

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

Looks good.

@arhamchordia arhamchordia dismissed stale reviews from akure, ajansari95, and magiodev via 4ed0b31 July 22, 2024 08:46
@arhamchordia arhamchordia merged commit 662bd74 into main Jul 22, 2024
15 checks passed
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.

4 participants