Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c2077c

Browse files
Frank Yangrigelrozanski
authored andcommitted
Merge PR cosmos#3935: Modify stake to uatom in gaia's doc
* Modify stake to atom in gaia's doc. cosmos#3833 * Scale up the amount from atom to uatom. * Scale up the amount from atom to uatom. * Update docs/gaia/validators/validator-setup.md Co-Authored-By: yangyanqing <[email protected]> * modify for review
1 parent 59765ce commit 5c2077c

File tree

7 files changed

+18
-17
lines changed

7 files changed

+18
-17
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#3833 Modify stake to atom in gaia's doc.

client/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ func PostCommands(cmds ...*cobra.Command) []*cobra.Command {
7575
c.Flags().Uint64(FlagAccountNumber, 0, "AccountNumber number to sign the tx")
7676
c.Flags().Uint64(FlagSequence, 0, "Sequence number to sign the tx")
7777
c.Flags().String(FlagMemo, "", "Memo to send along with transaction")
78-
c.Flags().String(FlagFees, "", "Fees to pay along with transaction; eg: 10stake,1atom")
79-
c.Flags().String(FlagGasPrices, "", "Gas prices to determine the transaction fee (e.g. 0.00001stake)")
78+
c.Flags().String(FlagFees, "", "Fees to pay along with transaction; eg: 10uatom")
79+
c.Flags().String(FlagGasPrices, "", "Gas prices to determine the transaction fee (e.g. 10uatom)")
8080
c.Flags().String(FlagNode, "tcp://localhost:26657", "<host>:<port> to tendermint rpc interface for this chain")
8181
c.Flags().Bool(FlagUseLedger, false, "Use a connected Ledger device")
8282
c.Flags().Float64(FlagGasAdjustment, DefaultGasAdjustment, "adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored ")

docs/gaia/validators/validator-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ file of the Cosmos Hub mainnet. If the mainnet is already live, skip this sectio
6363
:::
6464

6565
If you want to participate in genesis as a validator, you need to justify that
66-
you have some stake at genesis, create one (or multiple) transactions to bond this stake to your validator address, and include this transaction in the genesis file.
66+
you have some atoms at genesis, create one (or multiple) transactions to bond these atoms to your validator address, and include this transaction in the genesis file.
6767

6868
Your `cosmosvalconspub` can be used to create a new validator by staking tokens. You can find your validator pubkey by running:
6969

docs/translations/cn/gaia/delegator-guide-cli.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -399,20 +399,20 @@ fees = gas * gasPrices
399399
400400
```bash
401401
// 向指定验证人绑定一定数量的Atom通证
402-
// 参数设定样例: <validatorAddress>=cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, <amountToBound>=10000stake, <gasPrice>=0.001stake
402+
// 参数设定样例: <validatorAddress>=cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, <amountToBound>=10000000000uatom, <gasPrice>=1000uatom
403403
404404
gaiacli tx staking delegate <validatorAddress> <amountToBond> --from <delegatorKeyName> --gas auto --gas-prices <gasPrice>
405405
406406
407407
// 提取所有的奖励
408-
// 参数设定样例: <gasPrice>=0.001stake
408+
// 参数设定样例: <gasPrice>=1000uatom
409409
410410
gaiacli tx distr withdraw-all-rewards --from <delegatorKeyName> --gas auto --gas-prices <gasPrice>
411411
412412
413413
// 向指定验证人申请解绑一定数量的Atom通证
414414
// 解绑的通证需要3周后才能完全解绑并可以交易,
415-
// 参数设定样例: <validatorAddress>=cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, <amountToUnbound>=10000stake, <gasPrice>=0.001stake
415+
// 参数设定样例: <validatorAddress>=cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, <amountToUnbound>=10000000000uatom, <gasPrice>=1000uatom
416416
417417
gaiacli tx staking unbond <validatorAddress> <amountToUnbond> --from <delegatorKeyName> --gas auto --gas-prices <gasPrice>
418418
```
@@ -469,14 +469,14 @@ Cosmos Hub有一个内建的治理系统,该系统允许抵押通证的持有
469469
```bash
470470
// 提交一个提案
471471
// <type>=text/parameter_change/software_upgrade
472-
// ex value for flag: <gasPrice>=0.0001stake
472+
// ex value for flag: <gasPrice>=100uatom
473473
474-
gaiacli tx gov submit-proposal --title "Test Proposal" --description "My awesome proposal" --type <type> --deposit=10stake --gas auto --gas-prices <gasPrice> --from <delegatorKeyName>
474+
gaiacli tx gov submit-proposal --title "Test Proposal" --description "My awesome proposal" --type <type> --deposit=10000000uatom --gas auto --gas-prices <gasPrice> --from <delegatorKeyName>
475475
476476
// 增加对提案的抵押
477477
// Retrieve proposalID from $gaiacli query gov proposals --status deposit_period
478478
// 通过 $gaiacli query gov proposals --status deposit_period 命令获得 `proposalID`
479-
// 参数设定样例: <deposit>=1stake
479+
// 参数设定样例: <deposit>=1000000uatom
480480
481481
gaiacli tx gov deposit <proposalID> <deposit> --gas auto --gas-prices <gasPrice> --from <delegatorKeyName>
482482
@@ -495,7 +495,7 @@ gaiacli tx gov vote <proposalID> <option> --gas auto --gas-prices <gasPrice> --f
495495
496496
```bash
497497
// 抵押Atom通证
498-
// 参数设定样例: <amountToBound>=10000stake, <bech32AddressOfValidator>=cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, <gasPrice>=0.001stake
498+
// 参数设定样例: <amountToBound>=10000000000uatom, <bech32AddressOfValidator>=cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, <gasPrice>=1000uatom
499499
500500
gaiacli tx staking delegate <validatorAddress> <amountToBond> --from <delegatorKeyName> --gas auto --gas-prices <gasPrice> --generate-only > unsignedTX.json
501501
```

docs/translations/kr/gaia/gaiacli.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ gaiacli tx send ... --fees=100photino
136136
또는
137137

138138
```bash
139-
gaiacli tx send ... --gas-prices=0.000001stake
139+
gaiacli tx send ... --gas-prices=1uatom
140140
```
141141

142142
### 계정
@@ -335,7 +335,7 @@ gaiacli query staking validator <account_cosmosval(cosmosval 계정)>
335335

336336
```bash
337337
gaiacli tx staking delegate \
338-
--amount=10stake \
338+
--amount=10000000uatom \
339339
--validator=<validator(검증인 주소)> \
340340
--from=<key_name(트랜잭션을 발생할 키/계정 이름)> \
341341
--chain-id=<chain_id(체인 아이디)>
@@ -508,7 +508,7 @@ gaiacli tx gov submit-proposal \
508508
--title=<title(프로포절 제목)> \
509509
--description=<description(프로포절 설명)> \
510510
--type=<Text/ParameterChange/SoftwareUpgrade(프로포절 타입)> \
511-
--deposit=<40stake(예치금 수량)> \
511+
--deposit=<40000000uatom(예치금 수량)> \
512512
--from=<name(트랜잭션을 발생시킬 키/계정 이름)> \
513513
--chain-id=<chain_id(체인 아이디)>
514514
```
@@ -540,7 +540,7 @@ gaiacli query gov proposer <proposal_id(프로포절 ID)>
540540
프로포절이 네트워크에 전파되기 위해서는 해당 프로포절의 보증금이 `minDeposit` 값 이상이어야 합니다 (현재 기본 값은 `10 stake`입니다). 만약 사전에 생성한 프로포절이 해당 기준을 충족하지 못하였다면 추후에 보증금을 추가 예치하여 활성화할 수 있습니다. 프로포절의 보증금이 최소 값을 도달하면 해당 프로포절의 투표는 활성화 됩니다:
541541

542542
```bash
543-
gaiacli tx gov deposit <proposal_id(프로포절 ID)> <200stake(금액)> \
543+
gaiacli tx gov deposit <proposal_id(프로포절 ID)> <200000000uatom(금액)> \
544544
--from=<name(트랜잭션을 발생시킬 키/계정 이름)> \
545545
--chain-id=<chain_id(체인 아이디)>
546546
```
@@ -681,7 +681,7 @@ gaiacli keys show --address p1p2p3
681681
위 주소를 기반으로 멀티시그 트랜잭션을 생성하는 과정의 첫 단계는 다음과 같습니다:
682682

683683
```bash
684-
gaiacli tx send cosmos1570v2fq3twt0f0x02vhxpuzc9jc4yl30q2qned 10stake \
684+
gaiacli tx send cosmos1570v2fq3twt0f0x02vhxpuzc9jc4yl30q2qned 10000000uatom \
685685
--from=<multisig_address(멀티시그 주소)> \
686686
--generate-only > unsignedTx.json
687687
```

docs/translations/kr/gaia/ledger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ NAME: TYPE: ADDRESS: PUBKEY:
2424

2525

2626
```bash
27-
$ gaiacli tx send { .Destination.AccAddr } 10stake --from { .Key.Name } --chain-id=gaia-7000
27+
$ gaiacli tx send { .Destination.AccAddr } 10000000uatom --from { .Key.Name } --chain-id=gaia-7000
2828
```
2929
3030
레저 기기에서 해당 트랜잭션을 검토하신 후 서명이 되었다면 트랜잭션 결과를 레저 기기에서 확인하실 수 있습니다.

docs/translations/kr/gaia/validators/validator-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ gaiad tendermint show-validator
3636

3737
```bash
3838
gaiacli tx staking create-validator \
39-
--amount=5STAKE \
39+
--amount=5000000uatom \
4040
--pubkey=$(gaiad tendermint show-validator) \
4141
--moniker="choose a moniker" \
4242
--chain-id=<chain_id> \

0 commit comments

Comments
 (0)