Skip to content

Add upgrade handlers for rust-rc1 and rust. #1549

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

Merged
merged 12 commits into from
May 19, 2023
Merged

Conversation

SpicyLemon
Copy link
Contributor

@SpicyLemon SpicyLemon commented May 17, 2023

Description

Remove the paua and paua-rc2 upgrades and stuff specific to those upgrades.

Add upgrade handlers for rust-rc1 and rust. The rust-rc1 upgrade will create a gov v1 MsgSubmitProposal message fee (if it doesn't already exist). Both upgrades will delete the MsgP8eMemorializeContractRequest message fee since that message no longer exists.


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • 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.
  • 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
  • Review Codecov Report in the comment section below once CI passes

…ng now: The owner seems to have abandoned the linter. Replaced by unused.
… standard logging around the module migrations.
…e gov v1 MsgSubmitProposal fee in the rust upgrades.
@SpicyLemon SpicyLemon requested a review from a team as a code owner May 17, 2023 19:45
@SpicyLemon SpicyLemon changed the title Add empty upgrade handlers for rust-rc1 and rust. Add upgrade handlers for rust-rc1 and rust. May 17, 2023
@codecov
Copy link

codecov bot commented May 17, 2023

Codecov Report

Merging #1549 (299c474) into main (e14f80a) will increase coverage by 0.11%.
The diff coverage is 73.80%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1549      +/-   ##
==========================================
+ Coverage   61.84%   61.95%   +0.11%     
==========================================
  Files         198      198              
  Lines       25586    25611      +25     
==========================================
+ Hits        15823    15868      +45     
+ Misses       8661     8637      -24     
- Partials     1102     1106       +4     
Impacted Files Coverage Δ
app/upgrades.go 54.07% <73.80%> (+44.98%) ⬆️

... and 2 files with indirect coverage changes

… since the plan doesn't provide any usable info, but we regularly need to get that version map. Just create the noopHandler function in the loop the same way we create the non-no-op one. Add a log message about the upgrade starting. Rename the map to upgrades (from handlers) since they're defining more than just handlers.
…lizeContractFee, on the rust and rust-rc1 upgrades and also some testing on the keys defined in the upgrades map. Move the log buffer stuff to the suite level.
…tests can create an app without interference from those tests.
iramiller
iramiller previously approved these changes May 18, 2023
Copy link
Member

@iramiller iramiller left a comment

Choose a reason for hiding this comment

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

The name rust still makes me think of the Rust programming language every time I see it... It is hard to remember that it is the color for our 1.16.x release

@SpicyLemon
Copy link
Contributor Author

The name rust still makes me think of the Rust programming language every time I see it... It is hard to remember that it is the color for our 1.16.x release

Heh. It was picked partially for that reference. Also not to be confused with the book or soon-to-be-movie.

@SpicyLemon SpicyLemon merged commit 602285f into main May 19, 2023
@SpicyLemon SpicyLemon deleted the dwedul/rust-upgrade branch May 19, 2023 16:50
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