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

Modify stake to uatom in gaia's doc. #3833 #3935

Merged
merged 5 commits into from
Mar 25, 2019
Merged

Modify stake to uatom in gaia's doc. #3833 #3935

merged 5 commits into from
Mar 25, 2019

Conversation

yangyanqing
Copy link
Contributor

  • 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 Mar 19, 2019

Codecov Report

Merging #3935 into develop will decrease coverage by 0.01%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           develop    #3935      +/-   ##
===========================================
- Coverage    60.26%   60.25%   -0.02%     
===========================================
  Files          196      196              
  Lines        14615    14615              
===========================================
- Hits          8808     8806       -2     
- Misses        5214     5216       +2     
  Partials       593      593

@fedekunze
Copy link
Collaborator

should be uatom instead of atom

@yangyanqing
Copy link
Contributor Author

should be uatom instead of atom

Denom in genesis.json is uatom. atom should be the demon when value was decimal, because uatom is an indivisible denom.

We are preparing to add multi-demon to sdk.

{
  ...
  "app_state": {
    "accounts": [
      {
        "address": "cosmos1000ya26q2cmh399q4c5aaacd9lmmdqp92z6l7q",
        "coins": [
          {
            "denom": "uatom",
            "amount": "5000000000"
          }
        ],
        "sequence_number": "0",
        "account_number": "0",
        "original_vesting": null,
        "delegated_free": null,
        "delegated_vesting": null,
        "start_time": "0",
        "end_time": "0"
      },
    ]
    ...
}

Copy link
Contributor

@rigelrozanski rigelrozanski left a comment

Choose a reason for hiding this comment

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

Many instances where stake should still be used otherwise, uatom should be used or mainnet documentation (not atom)... see my detailed comments

RE: your most recent comment - we should still use uatom in the documentation for the time being, when we make the switch then we can switch the docs

x/gov/client/cli/tx.go Outdated Show resolved Hide resolved
x/staking/client/cli/tx.go Outdated Show resolved Hide resolved
cmd/gaia/cli_test/README.md Outdated Show resolved Hide resolved
cmd/gaia/init/testnet.go Outdated Show resolved Hide resolved
docs/gaia/deploy-testnet.md Outdated Show resolved Hide resolved
docs/translations/cn/gaia/delegator-guide-cli.md Outdated Show resolved Hide resolved
docs/translations/kr/gaia/deploy-testnet.md Outdated Show resolved Hide resolved
docs/translations/kr/gaia/gaiacli.md Outdated Show resolved Hide resolved
docs/translations/kr/gaia/ledger.md Outdated Show resolved Hide resolved
docs/translations/kr/gaia/validators/validator-setup.md Outdated Show resolved Hide resolved
@yangyanqing yangyanqing changed the title Modify stake to atom in gaia's doc. #3833 Modify stake to uatom in gaia's doc. #3833 Mar 19, 2019
@yangyanqing
Copy link
Contributor Author

RE: your most recent comment - we should still use uatom in the documentation for the time being, when we make the switch then we can switch the docs

Our team wants to add multi-demon support to sdk. We are preparing the solution and will commit issue soon. Could you share your plan and solution ? @rigelrozanski

@yangyanqing
Copy link
Contributor Author

Thanks for your review and so particular comment ! :) @rigelrozanski

@rigelrozanski
Copy link
Contributor

@yangyanqing well if you want to keep the usage of atom in this PR then maybe we just hold off merging this PR and until CLI functionality for atom is enabled (CC @alexanderbez )

Frank Yang and others added 2 commits March 20, 2019 11:22
@yangyanqing
Copy link
Contributor Author

@rigelrozanski All atom had been modify to uatom. What I want to modify in another PR is (aka redefine cobra.Command.Long in gaia).

@alexanderbez alexanderbez added T:Docs Changes and features related to documentation. ready-for-review labels Mar 20, 2019
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 pending the changes to the modifications in x/ docs.

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.

ACKed - provided that @alexanderbez's comment is addressed

@rigelrozanski rigelrozanski merged commit 5c2077c into cosmos:develop Mar 25, 2019
@yangyanqing yangyanqing deleted the frank/issues-3833-replace-stake-in-gaia branch March 26, 2019 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T:Docs Changes and features related to documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants