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

[prefix-trans]migrate store for staking, gov and feegrant #747

Merged
merged 11 commits into from
Aug 7, 2023

Conversation

haozhan9
Copy link
Contributor

@haozhan9 haozhan9 commented Aug 2, 2023

This PR covers the following issues:
#gov
#feegrant
#bank no-op
#simulation no-op
#staking

@haozhan9 haozhan9 requested a review from a team as a code owner August 2, 2023 03:31
@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Merging #747 (41e4510) into shentu-prefix (725de9b) will increase coverage by 0.89%.
Report is 3 commits behind head on shentu-prefix.
The diff coverage is 48.20%.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                @@
##           shentu-prefix     #747      +/-   ##
=================================================
+ Coverage          46.54%   47.43%   +0.89%     
=================================================
  Files                126      130       +4     
  Lines              11905    12671     +766     
=================================================
+ Hits                5541     6011     +470     
- Misses              5871     6079     +208     
- Partials             493      581      +88     
Files Changed Coverage Δ
app/upgrade_handler.go 46.25% <47.82%> (+25.20%) ⬆️
common/prefix.go 55.55% <100.00%> (+1.70%) ⬆️

... and 10 files with indirect coverage changes

Copy link
Contributor

@0311xuyang 0311xuyang left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@skyargos skyargos left a comment

Choose a reason for hiding this comment

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

LGTM

* Store migration for slashing, auth and authz
@haozhan9 haozhan9 merged commit 1364d46 into shentu-prefix Aug 7, 2023
@haozhan9 haozhan9 deleted the prefix-trans-stkazf branch August 7, 2023 06:59
kevin-yuhh added a commit that referenced this pull request Aug 24, 2023
* change address prefix to shentu

* Migrate shield (#738)

* migrate shield certik prefix to shentu

* migrate shield certik prefix to shentu

* migrate shield certik prefix to shentu

* migrate shield stored prefix to shentu

* sort import files

* update ConsensusVersion

* update pool migration

* change v280 to v4

* add v4_test package

* migrate oracle certik prefix to shentu (#740)

* migrate oracle certik prefix to shentu

* update ConsensusVersion

* update operator migration

* add oracle withdraw migration

* sort imports

* change v280 to v3

* add v3

* migrate cert stored prefix to shentu (#739)

* migrate cert stored prefix to shentu

* sort import files

* update ConsensusVersion

* add cert library migration

* change v280 to v2

* migrate certificate.content

* [prefix-trans]migrate store for staking, gov and feegrant (#747)

* initially add staking store migration

* finish store migration for staking

* add store migration for feegrant and gov

* add unit test

* fix feegrant unit test

* fix lint

* using cosmos sdk 0.45.11-3

* add negative tests

* change impl for feegrant

* simplify code

* Store migration for slashing, auth and authz (#746)

* Store migration for slashing, auth and authz

---------

Co-authored-by: zheng-bin <[email protected]>

* skip empty certificate's proposer (#749)

add v3

* change migration certificate MustMarshalLengthPrefixed function  to M… (#750)

* change migration certificate MustMarshalLengthPrefixed function  to MustMarshal function

* change migration certificate MustMarshalLengthPrefixed function  to MustMarshal function

* Shentu prefix revoke certificate (#754)

* fix revoke-certificate, platform cmd

* fix revoke-certificate, platform cmd

* fix revoke-certificate, platform cmd

* Replace certik word (#752)

* replace shentu

* change to shentu word

* change to shentu word

* replace to shentu

* add address prefix conversion for specific gov proposal content (#758)

* add address conversion for specific proposal contens

* add more negative test

---------

Co-authored-by: haozhan9 <[email protected]>
Co-authored-by: zheng-bin <[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.

3 participants