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

update x/slashing to match module spec #4717

Merged
merged 12 commits into from
Jul 19, 2019
Merged

Conversation

fedekunze
Copy link
Collaborator

  • 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 tests

  • Updated relevant documentation (docs/)

  • Added a relevant changelog entry: clog add [section] [stanza] [message]

  • rereviewed Files changed in the github PR explorer


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

@codecov
Copy link

codecov bot commented Jul 15, 2019

Codecov Report

Merging #4717 into master will decrease coverage by 0.19%.
The diff coverage is 48.18%.

@@           Coverage Diff            @@
##           master   #4717     +/-   ##
========================================
- Coverage    53.9%   53.7%   -0.2%     
========================================
  Files         273     273             
  Lines       17367   17277     -90     
========================================
- Hits         9362    9279     -83     
+ Misses       7321    7314      -7     
  Partials      684     684

@fedekunze fedekunze marked this pull request as ready for review July 15, 2019 09:49
@fedekunze fedekunze added R4R and removed WIP labels Jul 15, 2019
@fedekunze fedekunze requested a review from sabau July 15, 2019 10:12
Copy link
Member

@tac0turtle tac0turtle left a comment

Choose a reason for hiding this comment

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

⚡️

@jackzampolin
Copy link
Member

Looks like this could use some 👁 from @alexanderbez and @rigelrozanski

@@ -9,22 +9,23 @@ import (
abci "github.com/tendermint/tendermint/abci/types"

sdk "github.com/cosmos/cosmos-sdk/types"
slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/internal/keeper"
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 for an import alias here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is mostly for util test funcs that imho shouldn't be aliased

x/slashing/handler_test.go Show resolved Hide resolved
x/slashing/internal/keeper/querier.go Outdated Show resolved Hide resolved
x/slashing/internal/types/signing_info.go Outdated Show resolved Hide resolved
@alexanderbez
Copy link
Contributor

Reviewed + merge conflicts need to be addressed @fedekunze.

x/slashing/internal/keeper/signing_info.go Outdated Show resolved Hide resolved
x/slashing/internal/keeper/infractions.go Outdated Show resolved Hide resolved
fedekunze and others added 4 commits July 19, 2019 00:21
Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-Authored-By: colin axner <colinaxner@berkeley.edu>
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.

ACK

@alexanderbez alexanderbez merged commit 52edb03 into master Jul 19, 2019
@alexanderbez alexanderbez deleted the fedekunze/slashing-internal branch July 19, 2019 13:43
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.

6 participants