Skip to content

Commit c5de5d0

Browse files
authored
docs: update docs to reflect v15 (cosmos-sdk v0.47) changes (#2938)
* docs: partially update gov proposals tutorials * docs: update submitting, formating gov pages * docs: update auth parms * docs: update bank, distribution * docs: crisis, distr, gov, mint * docs: slashing * docs: update staking params * docs: rm deprecated bank params
1 parent 86382aa commit c5de5d0

17 files changed

+528
-432
lines changed

docs/docs/delegators/delegator-guide-cli.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ If you run your own full-node, just use `tcp://localhost:26657` as the address.
300300
Finally, let us set the `chain-id` of the blockchain we want to interact with:
301301

302302
```bash
303-
gaiad config chain-id cosmoshub-2
303+
gaiad config chain-id cosmoshub-4
304304
```
305305

306306
## Querying the State
@@ -484,7 +484,8 @@ At the end of the voting period, the proposal is accepted if there are more than
484484
// <type>=text/parameter_change/software_upgrade
485485
// ex value for flag: <gasPrice>=0.0025uatom
486486
487-
gaiad tx gov submit-proposal --title "Test Proposal" --description "My awesome proposal" --type <type> --deposit=10000000uatom --gas auto --gas-adjustment 1.5 --gas-prices <gasPrice> --from <delegatorKeyName>
487+
// the proposal must meet the minimum deposit amount - please check the current chain params
488+
gaiad tx gov submit-legacy-proposal --title "Test Text Proposal" --description "My awesome proposal" --type "text" --deposit=10000000uatom --gas auto --gas-adjustment 1.5 --gas-prices <gasPrice> --from <delegatorKeyName>
488489
489490
// Increase deposit of a proposal
490491
// Retrieve proposalID from $gaiad query gov proposals --status deposit_period
@@ -512,10 +513,10 @@ gaiad tx staking delegate <validatorAddress> <amountToBond> --from <delegatorAdd
512513
513514
In order to sign, you will also need the `chain-id`, `account-number` and `sequence`. The `chain-id` is a unique identifier for the blockchain on which you are submitting the transaction. The `account-number` is an identifier generated when your account first receives funds. The `sequence` number is used to keep track of the number of transactions you have sent and prevent replay attacks.
514515
515-
Get the chain-id from the genesis file (`cosmoshub-2`), and the two other fields using the account query:
516+
Get the chain-id from the genesis file (`4`), and the two other fields using the account query:
516517
517518
```bash
518-
gaiad query account <yourAddress> --chain-id cosmoshub-2
519+
gaiad query account <yourAddress> --chain-id cosmoshub-4
519520
```
520521
521522
Then, copy `unsignedTx.json` and transfer it (e.g. via USB) to the offline computer. If it is not done already, [create an account on the offline computer](#using-a-computer). For additional security, you can double check the parameters of your transaction before signing it using the following command:
@@ -527,7 +528,7 @@ cat unsignedTx.json
527528
Now, sign the transaction using the following command. You will need the `chain-id`, `sequence` and `account-number` obtained earlier:
528529
529530
```bash
530-
gaiad tx sign unsignedTx.json --from <delegatorKeyName> --offline --chain-id cosmoshub-2 --sequence <sequence> --account-number <account-number> > signedTx.json
531+
gaiad tx sign unsignedTx.json --from <delegatorKeyName> --offline --chain-id cosmoshub-4 --sequence <sequence> --account-number <account-number> > signedTx.json
531532
```
532533
533534
Copy `signedTx.json` and transfer it back to the online computer. Finally, use the following command to broadcast the transaction:

docs/docs/getting-started/installation.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This guide will explain how to install the `gaiad` binary and run the cli. With
77

88
## Build Requirements
99

10-
At present, the SDK fully supports installation on linux distributions. For the purpose of this instruction set, we'll be using `Ubuntu 20.04.3 LTS`. It is also possible to install `gaiad` on Unix, while Windows may require additional unsupported third party installation. All steps are listed below for a clean install.
10+
At present, the SDK fully supports installation on linux distributions. For the purpose of this instruction set, we'll be using `Ubuntu 22.04 LTS`. It is also possible to install `gaiad` on Unix, while Windows may require additional unsupported third party installation. All steps are listed below for a clean install.
1111

1212
1. [Update & install build tools](#build-tools)
1313
2. [Install Go](#install-go)
@@ -28,7 +28,7 @@ sudo apt-get install -y make gcc
2828
## Install Go
2929

3030
:::tip
31-
**Go 1.20+** is required.
31+
**Go 1.21+** is required.
3232
:::
3333

3434
We suggest the following two ways to install Go. Check out the [official docs](https://golang.org/doc/install) and Go installer for the correct download for your operating system. Alternatively, you can install Go yourself from the command line. Detailed below are standard default installation locations, but feel free to customize.
@@ -37,12 +37,12 @@ We suggest the following two ways to install Go. Check out the [official docs](h
3737

3838
**Ubuntu:**
3939

40-
At the time of this writing, the latest release is `1.20.3`. We're going to download the tarball, extract it to `/usr/local`, and export `GOROOT` to our `$PATH`
40+
At the time of this writing, the latest release is `1.21.7`. We're going to download the tarball, extract it to `/usr/local`, and export `GOROOT` to our `$PATH`
4141

4242
```bash
43-
curl -OL https://go.dev/dl/go1.20.3.linux-amd64.tar.gz
43+
curl -OL https://go.dev/dl/go1.21.7.darwin-amd64.tar.gz
4444

45-
sudo tar -C /usr/local -xvf https://go.dev/dl/go1.20.3.linux-amd64.tar.gz
45+
sudo tar -C /usr/local -xvf https://go.dev/dl/go1.21.7.darwin-amd64.tar.gz
4646

4747

4848
export PATH=$PATH:/usr/local/go/bin
@@ -94,10 +94,10 @@ You should see something similar to the following:
9494
```bash
9595
name: gaia
9696
server_name: gaiad
97-
version: v9.0.0
97+
version: v15.0.0
9898
commit: 682770f2410ab0d33ac7f0c7203519d7a99fa2b6
9999
build_tags: netgo,ledger
100-
go: go version go1.20.3 linux/amd64
100+
go: go version go1.21.7 linux/amd64
101101
```
102102

103103
### Build Tags

docs/docs/getting-started/quickstart.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ For reference, the list of `rpc_servers` and `persistent` peers can be found in
2424
```bash
2525
# Build gaiad binary and initialize chain
2626
cd $HOME
27-
git clone -b v14.1.0 https://github.com/cosmos/gaia --depth=1
27+
git clone -b v15.0.0 https://github.com/cosmos/gaia --depth=1
2828
cd gaiad
2929
make install
3030
gaiad init CUSTOM_MONIKER --chain-id cosmoshub-4

0 commit comments

Comments
 (0)