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

APP: Fix Auth module MVA in-place migration #344

Merged
merged 2 commits into from
Nov 22, 2021

Conversation

yoongbok-lee
Copy link
Collaborator

Fix Auth migration order issue by doing the migration again (since it resets the delegation entries while migrating anyway).

@yoongbok-lee yoongbok-lee changed the title Module level migration temp APP: Fix Auth module MVA in-place migration Nov 18, 2021
@yoongbok-lee yoongbok-lee merged commit 49b2a21 into migration Nov 22, 2021
@yoongbok-lee yoongbok-lee deleted the module-level-migration-temp branch November 22, 2021 19:43
yoongbok-lee added a commit that referenced this pull request Nov 29, 2021
* implement in-place store migration

* fix consensus versions and add a test

* update unit test

* lint

* remove tx hash from gov votes and add migration

* remove tx hash from gov type Deposit

* unit test fix

* update upgrade name

* separate migration logic from app.go

* reorder upgrade handler and register legacy types for migration

* APP: Fix Auth module MVA in-place migration (#344)

* module level migration WIP

* add auth migration again after first migration

* changelog

* Update CHANGELOG.md

Co-authored-by: yoongbok-lee <52583590+yoongbok-lee@users.noreply.github.com>
priyanshiiit pushed a commit to priyanshiiit/shentu that referenced this pull request Dec 1, 2021
* implement in-place store migration

* fix consensus versions and add a test

* update unit test

* lint

* remove tx hash from gov votes and add migration

* remove tx hash from gov type Deposit

* unit test fix

* update upgrade name

* separate migration logic from app.go

* reorder upgrade handler and register legacy types for migration

* APP: Fix Auth module MVA in-place migration (shentufoundation#344)

* module level migration WIP

* add auth migration again after first migration

* changelog

* Update CHANGELOG.md

Co-authored-by: yoongbok-lee <52583590+yoongbok-lee@users.noreply.github.com>
byeongminP added a commit that referenced this pull request Dec 1, 2021
* feat: bump cosmos and ibc proto files

* feat: bump dependencies in go.mod and add ibc

* chore: run proto-gen

* feat: rename codec interfaces and methods

* feat: update API breaking name and parameter changes

* fix: make vote options weighted

* chore: remove legacy migration code

* feat: add authz and feegrant modules

* feat: remove unsafe bank module apis in module tests

feat: add authz and feegrant modules to simapp
fix: replace InitializeandSeal with Seal in app

* feat: remove bech32 pubkey support

* feat: get rid of unsafe bank module api in cvm and cert

fix: update upgrade handler template

* fix composite literal warning in simapp

* fix: correctly mint and burn tokens in cvm

* fix: uncomment check for expired entries in shield purchase

* fix: remove capability seal and upgrade handler contents

* fix: use NewNonSplitVoteOption for single option votes

* fix: use sdk simapp test helpers

* chore: separate ibc imports from sdk imports

* SDK: 0.44.3 upgrade from 0.44.0 & sim test fix (#331)

* fix some bugs & structs. upgrade to sdk 0.44.3

* remove authz and feegrant modules

* revert banktypes to sdkbanktypes

* rename Codec to Marshaler, and fix simulations

* fix gov tally logic

* add evidence to exportgenesis

* refactor voteoptions handling

* CI: fix lint failure (#335)

* add dependencies requirement to lint

* update golang version

* add timeout config to lint

* Update Changelog to Reflect SDK v0.44.3 Bump (#336)

* chore: clean up and add entries to changelog

* chore: update changelog to reflect recent changes

Co-authored-by: Michael Park <michael.park@certik.org>

* Implement in-place store migration (#334)

* implement in-place store migration

* fix consensus versions and add a test

* update unit test

* lint

* remove tx hash from gov votes and add migration

* remove tx hash from gov type Deposit

* unit test fix

* update upgrade name

* separate migration logic from app.go

* reorder upgrade handler and register legacy types for migration

* APP: Fix Auth module MVA in-place migration (#344)

* module level migration WIP

* add auth migration again after first migration

* changelog

* Update CHANGELOG.md

Co-authored-by: yoongbok-lee <52583590+yoongbok-lee@users.noreply.github.com>

* run lint

* Oracle: Add sender checks when removing an operator (#345)

* upgrade go-ibc to 2.0.0 (#348)

* fix upgrade order (#349)

Co-authored-by: Michael Park <michael.park@certik.org>
Co-authored-by: Subal Pant <email@example.com>
Co-authored-by: yoongbok-lee <52583590+yoongbok-lee@users.noreply.github.com>
Co-authored-by: Hyoung-yoon Kim <hy.kim@certik.org>
Co-authored-by: yoongbok lee <yoongbok.lee@certik.org>
yoongbok-lee added a commit that referenced this pull request Feb 1, 2022
* feat: bump cosmos and ibc proto files

* feat: bump dependencies in go.mod and add ibc

* chore: run proto-gen

* feat: rename codec interfaces and methods

* feat: update API breaking name and parameter changes

* fix: make vote options weighted

* chore: remove legacy migration code

* feat: add authz and feegrant modules

* feat: remove unsafe bank module apis in module tests

feat: add authz and feegrant modules to simapp
fix: replace InitializeandSeal with Seal in app

* feat: remove bech32 pubkey support

* feat: get rid of unsafe bank module api in cvm and cert

fix: update upgrade handler template

* fix composite literal warning in simapp

* fix: correctly mint and burn tokens in cvm

* fix: uncomment check for expired entries in shield purchase

* fix: remove capability seal and upgrade handler contents

* fix: use NewNonSplitVoteOption for single option votes

* fix: use sdk simapp test helpers

* chore: separate ibc imports from sdk imports

* SDK: 0.44.3 upgrade from 0.44.0 & sim test fix (#331)

* fix some bugs & structs. upgrade to sdk 0.44.3

* remove authz and feegrant modules

* revert banktypes to sdkbanktypes

* rename Codec to Marshaler, and fix simulations

* fix gov tally logic

* add evidence to exportgenesis

* refactor voteoptions handling

* CI: fix lint failure (#335)

* add dependencies requirement to lint

* update golang version

* add timeout config to lint

* Update Changelog to Reflect SDK v0.44.3 Bump (#336)

* chore: clean up and add entries to changelog

* chore: update changelog to reflect recent changes

Co-authored-by: Michael Park <michael.park@certik.org>

* fix: add param validation and testing for genesis

* test: revise msg test for consistency

* Implement in-place store migration (#334)

* implement in-place store migration

* fix consensus versions and add a test

* update unit test

* lint

* remove tx hash from gov votes and add migration

* remove tx hash from gov type Deposit

* unit test fix

* update upgrade name

* separate migration logic from app.go

* reorder upgrade handler and register legacy types for migration

* APP: Fix Auth module MVA in-place migration (#344)

* module level migration WIP

* add auth migration again after first migration

* changelog

* Update CHANGELOG.md

Co-authored-by: yoongbok-lee <52583590+yoongbok-lee@users.noreply.github.com>

* run lint

* Oracle: Add sender checks when removing an operator (#345)

* test: add grpc test

* chore: make lint

* chore: move operator testing to separate file

Co-authored-by: Michael Park <michael.park@certik.org>
Co-authored-by: Subal Pant <email@example.com>
Co-authored-by: yoongbok-lee <52583590+yoongbok-lee@users.noreply.github.com>
Co-authored-by: Hyoung-yoon Kim <hy.kim@certik.org>
Co-authored-by: yoongbok lee <yoongbok.lee@certik.org>
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.

3 participants