diff --git a/.pending/improvements/gaiacli/3833-Modify-stake-to b/.pending/improvements/gaiacli/3833-Modify-stake-to new file mode 100644 index 000000000000..f399a0f76e7a --- /dev/null +++ b/.pending/improvements/gaiacli/3833-Modify-stake-to @@ -0,0 +1 @@ +#3833 Modify stake to atom in gaia's doc. \ No newline at end of file diff --git a/client/flags.go b/client/flags.go index 24a4206ca9b0..96f9ae939d46 100644 --- a/client/flags.go +++ b/client/flags.go @@ -79,8 +79,8 @@ func PostCommands(cmds ...*cobra.Command) []*cobra.Command { c.Flags().Uint64(FlagAccountNumber, 0, "AccountNumber number to sign the tx") c.Flags().Uint64(FlagSequence, 0, "Sequence number to sign the tx") c.Flags().String(FlagMemo, "", "Memo to send along with transaction") - c.Flags().String(FlagFees, "", "Fees to pay along with transaction; eg: 10stake,1atom") - c.Flags().String(FlagGasPrices, "", "Gas prices to determine the transaction fee (e.g. 0.00001stake)") + c.Flags().String(FlagFees, "", "Fees to pay along with transaction; eg: 10uatom") + c.Flags().String(FlagGasPrices, "", "Gas prices to determine the transaction fee (e.g. 10uatom)") c.Flags().String(FlagNode, "tcp://localhost:26657", ": to tendermint rpc interface for this chain") c.Flags().Bool(FlagUseLedger, false, "Use a connected Ledger device") 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 ") diff --git a/docs/gaia/validators/validator-setup.md b/docs/gaia/validators/validator-setup.md index 7dea4e6cf45e..65992d0e70ac 100644 --- a/docs/gaia/validators/validator-setup.md +++ b/docs/gaia/validators/validator-setup.md @@ -63,7 +63,7 @@ file of the Cosmos Hub mainnet. If the mainnet is already live, skip this sectio ::: If you want to participate in genesis as a validator, you need to justify that -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. +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. Your `cosmosvalconspub` can be used to create a new validator by staking tokens. You can find your validator pubkey by running: diff --git a/docs/translations/cn/gaia/delegator-guide-cli.md b/docs/translations/cn/gaia/delegator-guide-cli.md index 5d34db0d4636..ed0416313eab 100644 --- a/docs/translations/cn/gaia/delegator-guide-cli.md +++ b/docs/translations/cn/gaia/delegator-guide-cli.md @@ -399,20 +399,20 @@ fees = gas * gasPrices ```bash // 向指定验证人绑定一定数量的Atom通证 -// 参数设定样例: =cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, =10000stake, =0.001stake +// 参数设定样例: =cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, =10000000000uatom, =1000uatom gaiacli tx staking delegate --from --gas auto --gas-prices // 提取所有的奖励 -// 参数设定样例: =0.001stake +// 参数设定样例: =1000uatom gaiacli tx distr withdraw-all-rewards --from --gas auto --gas-prices // 向指定验证人申请解绑一定数量的Atom通证 // 解绑的通证需要3周后才能完全解绑并可以交易, -// 参数设定样例: =cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, =10000stake, =0.001stake +// 参数设定样例: =cosmosvaloper18thamkhnj9wz8pa4nhnp9rldprgant57pk2m8s, =10000000000uatom, =1000uatom gaiacli tx staking unbond --from --gas auto --gas-prices ``` @@ -469,14 +469,14 @@ Cosmos Hub有一个内建的治理系统,该系统允许抵押通证的持有 ```bash // 提交一个提案 // =text/parameter_change/software_upgrade -// ex value for flag: =0.0001stake +// ex value for flag: =100uatom -gaiacli tx gov submit-proposal --title "Test Proposal" --description "My awesome proposal" --type --deposit=10stake --gas auto --gas-prices --from +gaiacli tx gov submit-proposal --title "Test Proposal" --description "My awesome proposal" --type --deposit=10000000uatom --gas auto --gas-prices --from // 增加对提案的抵押 // Retrieve proposalID from $gaiacli query gov proposals --status deposit_period // 通过 $gaiacli query gov proposals --status deposit_period 命令获得 `proposalID` -// 参数设定样例: =1stake +// 参数设定样例: =1000000uatom gaiacli tx gov deposit --gas auto --gas-prices --from @@ -495,7 +495,7 @@ gaiacli tx gov vote