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

chore: x/upgrade audit changes #11879

Merged
merged 7 commits into from
May 5, 2022
Merged

chore: x/upgrade audit changes #11879

merged 7 commits into from
May 5, 2022

Conversation

blushi
Copy link
Contributor

@blushi blushi commented May 5, 2022

Description

ref: #11362


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • included the correct type prefix in the PR title
  • added ! to the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • followed the guidelines for building modules
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • updated the relevant documentation or specification
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

Reviewers Checklist

All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.

I have...

  • confirmed the correct type prefix in the PR title
  • confirmed ! in the type prefix if API or client breaking change
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

@blushi blushi requested a review from a team as a code owner May 5, 2022 10:03
@@ -160,8 +159,9 @@ Ref: https://keepachangelog.com/en/1.0.0/
* [\#11274](https://github.com/cosmos/cosmos-sdk/pull/11274) `types/errors.New` now is an alias for `types/errors.Register` and should only be used in initialization code.
* (authz)[\#11060](https://github.com/cosmos/cosmos-sdk/pull/11060) `authz.NewMsgGrant` `expiration` is now a pointer. When `nil` is used then no expiration will be set (grant won't expire).
* (x/distribution)[\#11457](https://github.com/cosmos/cosmos-sdk/pull/11457) Add amount field to `distr.MsgWithdrawDelegatorRewardResponse` and `distr.MsgWithdrawValidatorCommissionResponse`.
* [\#11334](https://github.com/cosmos/cosmos-sdk/pull/11334) Move `x/gov/types/v1beta2` to `x/gov/types/v1`.
Copy link
Contributor Author

@blushi blushi May 5, 2022

Choose a reason for hiding this comment

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

not strictly related to x/upgrade but reviewing the changelog, I realized that we didn't have any item for x/gov v1beta2 -> v1 change

@codecov
Copy link

codecov bot commented May 5, 2022

Codecov Report

Merging #11879 (0fc627f) into main (3e3c114) will decrease coverage by 0.14%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #11879      +/-   ##
==========================================
- Coverage   66.03%   65.89%   -0.15%     
==========================================
  Files         672      675       +3     
  Lines       70718    70965     +247     
==========================================
+ Hits        46702    46759      +57     
- Misses      21345    21530     +185     
- Partials     2671     2676       +5     
Impacted Files Coverage Δ
x/upgrade/keeper/grpc_query.go 76.74% <ø> (ø)
x/upgrade/types/msgs.go 55.55% <ø> (ø)
x/upgrade/client/cli/tx.go 20.68% <50.00%> (ø)
x/upgrade/client/cli/parse.go 40.00% <100.00%> (ø)
x/group/keeper/keeper.go 53.36% <0.00%> (-0.43%) ⬇️
x/upgrade/client/cli/query.go 0.00% <0.00%> (ø)
x/distribution/simulation/operations.go 90.27% <0.00%> (+9.72%) ⬆️
x/upgrade/keeper/msg_server.go 100.00% <0.00%> (+36.36%) ⬆️

Copy link
Member

@julienrbrt julienrbrt left a comment

Choose a reason for hiding this comment

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

lgtm!

@alexanderbez alexanderbez merged commit 8416394 into main May 5, 2022
@alexanderbez alexanderbez deleted the marie/11362-upgrade branch May 5, 2022 13:38
@alexanderbez
Copy link
Contributor

Ditto on this being backported as a result of the 0.46 audit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants