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

Migrate slashing module to use new Simapp #5744

Merged
merged 14 commits into from
Mar 3, 2020

Conversation

jgimeno
Copy link
Contributor

@jgimeno jgimeno commented Mar 3, 2020

Closes: #4875

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]" (coding standards)

@alexanderbez alexanderbez added the A:automerge Automatically merge PR once all prerequisites pass. label Mar 3, 2020
Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

LGTM. One thing I want to be very cautious of is that the helpers and aux methods and functions found in simapp/test_helpers.go don't become tech debt. After we've updated all the modules, we should go back through these and make sure every method and function makes sense, keeping it DRY and maintainable.

@alexanderbez alexanderbez merged commit 027fe7f into master Mar 3, 2020
@alexanderbez alexanderbez deleted the jonathan/4875-slashing-use-simapp branch March 3, 2020 18:04
@codecov
Copy link

codecov bot commented Mar 3, 2020

Codecov Report

Merging #5744 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5744      +/-   ##
==========================================
+ Coverage   36.79%   36.81%   +0.02%     
==========================================
  Files         336      336              
  Lines       32752    32751       -1     
==========================================
+ Hits        12051    12058       +7     
+ Misses      19473    19465       -8     
  Partials     1228     1228
Impacted Files Coverage Δ
types/handler.go 77.77% <100%> (+77.77%) ⬆️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass. C:x/slashing T: Tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate x/mock, transition integration tests to use simapp
2 participants