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

fix and cleanup action tags #4045

Merged
merged 8 commits into from
Apr 8, 2019
Merged

Conversation

fedekunze
Copy link
Collaborator

@fedekunze fedekunze commented Apr 4, 2019

Fixes #3966
Closes #3793

  • 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: sdkch 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 Apr 4, 2019

Codecov Report

❗ No coverage uploaded for pull request base (develop@055d219). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff             @@
##             develop    #4045   +/-   ##
==========================================
  Coverage           ?   59.78%           
==========================================
  Files              ?      212           
  Lines              ?    15154           
  Branches           ?        0           
==========================================
  Hits               ?     9060           
  Misses             ?     5450           
  Partials           ?      644

@fedekunze fedekunze marked this pull request as ready for review April 4, 2019 13:26
@fedekunze fedekunze changed the title fix action tags fix and cleanup action tags Apr 4, 2019
@fedekunze fedekunze requested a review from alessio April 5, 2019 09:23
Copy link
Contributor

@alessio alessio left a comment

Choose a reason for hiding this comment

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

Looks good to me, though I'm not sure this is sufficient to close #3966
I'd wait for an extra approval then.

@fedekunze
Copy link
Collaborator Author

I need to make a few changes based on our endblocker tags discussions with @alessio

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.

Does this PR fully address #3966?

x/gov/tags/tags.go:13:  Action            = sdk.TagAction
x/slashing/tags/tags.go:9:      Action    = sdk.TagAction
x/staking/alias.go:180: TagAction       = tags.Action
x/staking/handler.go:63:                        tags.Action, ActionCompleteUnbonding,
x/staking/handler.go:79:                        tags.Action, tags.ActionCompleteRedelegation,
x/staking/tags/tags.go:12:      Action       = sdk.TagAction

@fedekunze
Copy link
Collaborator Author

Does this PR fully address #3966?

these are for the staking EndBlocker do we need to delete them as well ?

x/staking/handler.go:63:                        tags.Action, ActionCompleteUnbonding,
x/staking/handler.go:79:                        tags.Action, tags.ActionCompleteRedelegation,
x/staking/tags/tags.go:12:      Action       = sdk.TagAction

@alexanderbez
Copy link
Contributor

alexanderbez commented Apr 6, 2019

@fedekunze sorry, no begin/end blocker should keep their respective action tags iiuc. Also, CI is broken.

Copy link
Contributor

@alessio alessio left a comment

Choose a reason for hiding this comment

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

ACK from me

@alessio alessio merged commit c0a607c into develop Apr 8, 2019
@alessio alessio deleted the fedekunze/3966-fix-action-tags branch April 8, 2019 22:51
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