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

SDK: Bump Cosmos SDK to v0.44.3 #326

Merged
merged 29 commits into from
Dec 1, 2021
Merged

SDK: Bump Cosmos SDK to v0.44.3 #326

merged 29 commits into from
Dec 1, 2021

Conversation

byeongminP
Copy link
Contributor

Closes: #XXX
Related: #XXX

Description


For contributor use:

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer

For admin use:

  • Added appropriate labels to PR (ex. WIP, R4R, docs, etc)
  • Reviewers assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]"

Copy link
Collaborator

@yoongbok-lee yoongbok-lee left a comment

Choose a reason for hiding this comment

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

Great work overall, with some minor points to be fixed/improved. Thanks for the work!

app/app.go Show resolved Hide resolved
app/app.go Outdated Show resolved Hide resolved
app/app.go Outdated Show resolved Hide resolved
app/app.go Outdated Show resolved Hide resolved
app/sim_test.go Outdated Show resolved Hide resolved
x/cvm/keeper/state.go Show resolved Hide resolved
x/gov/keeper/msg_server.go Outdated Show resolved Hide resolved
x/gov/keeper/keeper_test.go Outdated Show resolved Hide resolved
x/gov/keeper/keeper_test.go Outdated Show resolved Hide resolved
x/gov/simulation/decoder_test.go Outdated Show resolved Hide resolved
@yoongbok-lee
Copy link
Collaborator

I think mint and burn for CVM is fine for now. Also why did we change config.Marshaler to config.Codec?

@byeongminP
Copy link
Contributor Author

Cosmos renamed codec interfaces and methods from Marshaler to Codec, so I made the changes for consistency. But I guess it doesn't really apply to the case above.

Michael Park and others added 5 commits November 9, 2021 18:45
* 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
@byeongminP byeongminP changed the title SDK: Bump Cosmos SDK to v0.44.0 SDK: Bump Cosmos SDK to v0.44.3 Nov 10, 2021
* add dependencies requirement to lint

* update golang version

* add timeout config to lint
@yoongbok-lee
Copy link
Collaborator

Let's merge it in after writing a good changelog

@yoongbok-lee yoongbok-lee marked this pull request as ready for review November 11, 2021 21:52
@@ -162,7 +162,8 @@ func (k msgServer) Vote(goCtx context.Context, msg *govtypes.MsgVote) (*govtypes
if accErr != nil {
return nil, accErr
}
err := k.Keeper.AddVote(ctx, msg.ProposalId, accAddr, msg.Option)
options := govtypes.NewNonSplitVoteOption(msg.Option)
Copy link
Contributor

Choose a reason for hiding this comment

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

No need to create a variable here

byeongminP and others added 3 commits November 18, 2021 13:03
* 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

* 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>
@yoongbok-lee
Copy link
Collaborator

Let's merge this in and prepare for a release

@byeongminP byeongminP merged commit 6652a4f into master Dec 1, 2021
@byeongminP byeongminP deleted the bm/sdkv0.44.0 branch December 1, 2021 23:48
@yoongbok-lee yoongbok-lee restored the bm/sdkv0.44.0 branch January 20, 2022 17:29
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