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

R4R: rename stake/ to staking/ #3280

Merged
merged 20 commits into from
Jan 11, 2019
Merged

R4R: rename stake/ to staking/ #3280

merged 20 commits into from
Jan 11, 2019

Conversation

rigelrozanski
Copy link
Contributor

@rigelrozanski rigelrozanski commented Jan 11, 2019

closes #2222

  • 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 entries in PENDING.md with issue #

  • 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 Jan 11, 2019

Codecov Report

Merging #3280 into develop will decrease coverage by 0.02%.
The diff coverage is 91.45%.

@@             Coverage Diff             @@
##           develop    #3280      +/-   ##
===========================================
- Coverage    55.27%   55.25%   -0.03%     
===========================================
  Files          134      134              
  Lines         9518     9518              
===========================================
- Hits          5261     5259       -2     
- Misses        3926     3928       +2     
  Partials       331      331

@rigelrozanski rigelrozanski changed the title WIP: rename stake/ to staking/ R4R: rename stake/ to staking/ Jan 11, 2019
@rigelrozanski rigelrozanski added C:x/staking T: API Breaking Breaking changes that impact APIs and the SDK only (not state machine). ready-for-review labels Jan 11, 2019
@cwgoes
Copy link
Contributor

cwgoes commented Jan 11, 2019

OK; this will cause merge conflicts for everything, can we wait until any relevant PRs have been merged?

@rigelrozanski
Copy link
Contributor Author

TBH I don't think there is ever going to be a "good" time to merge this in. I'd recommend merging sooner than later so everything working has more time to be adjusted (also I believe that fixes will be easier on unmerged branches than on updates on develop to this branch)

docs/gaia/gaiacli.md Show resolved Hide resolved
docs/gaia/gaiacli.md Outdated Show resolved Hide resolved
docs/gaia/validators/validator-setup.md Outdated Show resolved Hide resolved
docs/gaia/validators/validator-setup.md Outdated Show resolved Hide resolved
x/staking/handler_test.go Outdated Show resolved Hide resolved
cmd/gaia/cli_test/README.md Show resolved Hide resolved
cmd/gaia/cli_test/test_helpers.go Show resolved Hide resolved
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 and CI passes, haven't looked too in depth into the docs.

@jackzampolin
Copy link
Member

Do we really want to break all of our clients (stake -> staking and /stake/* -> /staking/*)? This has been a common complaint from users (and one I heard from a number of wallet devs this morning) and this change is just a simple rename with no real added functionality. I think we should consider if this is really necessary cc @fedekunze @faboweb

@rigelrozanski
Copy link
Contributor Author

it's a very easy upgrade on the client side, and generally, we should absolutely not let a dir name changes be blocked for this reason especially in pre-1.0 software. There will come a time however, post-launch when these changes will become much more arduous due to the large number of client implementations - we're not there however.

stake is an ambiguous name for a number of reasons, and was only ever intended to be temporary (was renamed stake long ago while we had another staking implementation we left as being named staking, while allowing new development to take place under stake). Anyways - that's all - we really ought to merge this.

fedekunze and others added 4 commits January 11, 2019 14:01
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
Copy link
Collaborator

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

LGTM. Agree with @rigelrozanski that's nbd to change the clients. I don't have strong feelings about this change so ¯_(ツ)_/¯

@jackzampolin jackzampolin merged commit 78a2135 into develop Jan 11, 2019
@rigelrozanski rigelrozanski deleted the rigel/stake-to-staking branch January 11, 2019 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:x/staking T: API Breaking Breaking changes that impact APIs and the SDK only (not state machine).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

x/stake -> x/staking
5 participants