Skip to content

Commit 883140a

Browse files
glanduaclaude
andcommitted
fix(docs): update CLI commands and versions for v7.2.0
Replace deprecated `regen config` syntax with new confix-based subcommands (`regen config set/view/get`), update binary versions from v6.0.0 to v7.2.0, update Go requirement to 1.23, remove rosetta references, and add CLI migration documentation. Fixes #2311, fixes #2312. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4b0a87a commit 883140a

11 files changed

Lines changed: 146 additions & 40 deletions

File tree

docs/.vuepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export default defineUserConfig({
195195
{ text: 'regen migrate', link: '/commands/regen_migrate' },
196196
{ text: 'regen query', link: '/commands/regen_query' },
197197
{ text: 'regen rollback', link: '/commands/regen_rollback' },
198-
{ text: 'regen rosetta', link: '/commands/regen_rosetta' },
198+
199199
{ text: 'regen start', link: '/commands/regen_start' },
200200
{ text: 'regen status', link: '/commands/regen_status' },
201201
{ text: 'regen tendermint', link: '/commands/regen_tendermint' },

docs/README_commands.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Commands
22

3+
<!-- TODO: Regenerate command docs from the v7.2.0 binary to reflect new config subcommands and removed rosetta command -->
4+
35
The following commands are available using the `regen` binary. The documentation for each command is auto-generated from the help text.
46

57
- [regen](regen.md)
@@ -14,7 +16,7 @@ The following commands are available using the `regen` binary. The documentation
1416
- [regen migrate](regen_migrate.md)
1517
- [regen query](regen_query.md)
1618
- [regen rollback](regen_rollback.md)
17-
- [regen rosetta](regen_rosetta.md)
19+
1820
- [regen start](regen_start.md)
1921
- [regen status](regen_status.md)
2022
- [regen tendermint](regen_tendermint.md)

docs/ledger/get-started/README.md

Lines changed: 40 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ If you have not already, check out [Command-Line Interface](../interfaces.md#com
88

99
The following instructions are for building and installing the `regen` binary from its source code. This is the recommended way for most users. If you do not have Git, Make, and Go installed, and you would prefer not to install them, you can install the `regen` binary using a [pre-built package](#pre-built-package).
1010

11-
In the following examples we use the latest available version of Regen Ledger (`v6.0.0`), which is the same version used by node operators running [Regen Mainnet](regen-mainnet.md) and [Regen Testnet](regen-testnet.md).
11+
In the following examples we use the latest available version of Regen Ledger (`v7.2.0`), which is the same version used by node operators running [Regen Mainnet](regen-mainnet.md) and [Regen Testnet](regen-testnet.md).
1212

1313
### Prerequisites
1414

1515
In order to build the `regen` binary from source, you'll need the following:
1616

1717
- [Git](https://git-scm.com) `>=2` .
1818
- [Make](https://www.gnu.org/software/make/) `>=4`
19-
- [Go](https://golang.org/) `>=1.21`
19+
- [Go](https://golang.org/) `>=1.23`
2020

2121
*Note: If you are new to go and installing it for the first time, make sure you include the following `PATH` export in your bash profile: `export PATH=$(go env GOPATH)/bin:$PATH`.*
2222

@@ -37,7 +37,7 @@ cd regen-ledger
3737
Check out the latest stable version:
3838

3939
```bash
40-
git checkout v6.0.0
40+
git checkout v7.2.0
4141
```
4242

4343
### Build Only
@@ -59,7 +59,7 @@ Check to make sure the build was successful:
5959
You should see the following:
6060

6161
```bash
62-
v6.0.0
62+
v7.2.0
6363
```
6464

6565
Are you not seeing the above?
@@ -85,7 +85,7 @@ regen version
8585
You should see the following:
8686

8787
```bash
88-
v6.0.0
88+
v7.2.0
8989
```
9090

9191
Are you not seeing the above?
@@ -99,36 +99,59 @@ The following instructions are for installing the `regen` binary using a pre-bui
9999

100100
### For Linux Distributions
101101

102-
Download the zip file:
102+
#### Option A: Standalone Binary
103103

104-
```bash
105-
curl -LO https://github.com/regen-network/regen-ledger/releases/download/v6.0.0/regen-ledger-6.0.0-linux-amd64.tar.gz
104+
Download the binary:
106105

106+
```bash
107+
curl -LO https://github.com/regen-network/regen-ledger/releases/download/v7.2.0/regen-ledger-v7.2.0-linux-amd64
107108
```
108109

109110
Verify the checksum:
110111

111112
```bash
112-
sha256sum regen-ledger-6.0.0-linux-amd64.tar.gz
113+
sha256sum regen-ledger-v7.2.0-linux-amd64
113114
```
114115

115116
You should see the following:
116117

117118
```bash
118-
b50f0bca044a06d7c9e6012c1297bce382ed97facb2dbba6a3a9d7e6399d8c86 regen-ledger-6.0.0-linux-amd64.tar.gz
119+
953905826b096085f6574a08c8a1b21471cdd8e8a07c6d8e00cf8780061d1634 regen-ledger-v7.2.0-linux-amd64
119120
```
120121

121-
Uncompress the tar.gz file:
122+
Move the binary to your local bin directory:
122123

123124
```bash
124-
mkdir regen-ledger-6.0.0-linux-amd64
125-
tar -xzf regen-ledger-6.0.0-linux-amd64.tar.gz -C regen-ledger-6.0.0-linux-amd64
125+
sudo mv regen-ledger-v7.2.0-linux-amd64 /usr/local/bin/regen
126+
sudo chmod +x /usr/local/bin/regen
126127
```
127128

128-
Move the binary to your local bin directory:
129+
#### Option B: Tarball
130+
131+
Download the tarball:
132+
133+
```bash
134+
curl -LO https://github.com/regen-network/regen-ledger/releases/download/v7.2.0/regen-ledger-v7.2.0-linux-amd64.tar.gz
135+
```
136+
137+
Verify the checksum:
138+
139+
```bash
140+
sha256sum regen-ledger-v7.2.0-linux-amd64.tar.gz
141+
```
142+
143+
You should see the following:
144+
145+
```bash
146+
c961c27be0f327bfcce0aa2b2dfecb58b3973bf7c95230700ad2eee657f89a57 regen-ledger-v7.2.0-linux-amd64.tar.gz
147+
```
148+
149+
Uncompress the tar.gz file and move the binary:
129150

130151
```bash
131-
sudo mv regen-ledger-6.0.0-linux-amd64/regend /usr/local/bin/regen
152+
tar -xzf regen-ledger-v7.2.0-linux-amd64.tar.gz
153+
sudo mv regen-ledger-v7.2.0-linux-amd64 /usr/local/bin/regen
154+
sudo chmod +x /usr/local/bin/regen
132155
```
133156

134157
Check if the installation was successful:
@@ -140,9 +163,9 @@ regen version
140163
You should see the following:
141164

142165
```bash
143-
v6.0.0
166+
v7.2.0
144167
```
145168

146169
### Additional Packages
147170

148-
Additional packages and checksums are available under "Assets" on the [Release Page](https://github.com/regen-network/regen-ledger/releases/tag/v6.0.0).
171+
Additional packages and checksums are available under "Assets" on the [Release Page](https://github.com/regen-network/regen-ledger/releases/tag/v7.2.0).

docs/ledger/get-started/local-testnet.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,18 @@ Now that you have updated the `genesis.json` file, you are ready to start the no
100100
## Set the minimum gas price
101101

102102
We need to update the minimum gas price before we can start the node.
103-
Open the `~/.regen/config/app.toml` file and set the value as:
103+
You can either edit the `~/.regen/config/app.toml` file directly and set the value as:
104104

105105
```
106106
minimum-gas-prices = "0uregen"
107107
```
108108

109+
Or use the `config set` command:
110+
111+
```bash
112+
regen config set app minimum-gas-prices "0uregen"
113+
```
114+
109115
## Start Node
110116

111117
Well, what are you waiting for?

docs/ledger/get-started/manage-keys.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ The `test` keyring backend is best for testing, i.e. when security or recovery i
1919
To check the current configuration, run the following:
2020

2121
```sh
22-
regen config
22+
regen config view client
2323
```
2424

2525
To configure the keyring backend for all commands, run the following:
2626

2727
```sh
28-
regen config keyring-backend [keyring-backend]
28+
regen config set client keyring-backend [keyring-backend]
2929
```
3030

3131
## Add Key

docs/ledger/get-started/regen-mainnet.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ To interact with a node on Regen Mainnet, we first need to make sure we have `ch
2525
To view your current configuration, run the following command:
2626

2727
```bash
28-
regen config
28+
regen config view client
2929
```
3030

31-
The above command displays the configuration in the `~/.regen/config/client.toml` file. This file can be updated using the same `config` command along with key-value pairs (see below).
31+
The above command displays the configuration in the `~/.regen/config/client.toml` file. This file can be updated using the `config set` subcommand (see below).
3232

3333
#### Chain ID
3434

@@ -37,7 +37,7 @@ The chain ID for Regen Mainnet is `regen-1`. When using the `regen` binary to co
3737
To configure the chain ID for all commands, run the following:
3838

3939
```sh
40-
regen config chain-id regen-1
40+
regen config set client chain-id regen-1
4141
```
4242

4343
#### Node Endpoint
@@ -47,5 +47,5 @@ When interacting with a live network, you need to connect to a remote node or ha
4747
To configure the node endpoint for all commands, run the following:
4848

4949
```sh
50-
regen config node http://mainnet.regen.network:26657/
50+
regen config set client node http://mainnet.regen.network:26657/
5151
```

docs/ledger/get-started/regen-testnet.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ To interact with a node on Regen Testnet, we first need to make sure we have `ch
3131
To view your current configuration, run the following command:
3232

3333
```bash
34-
regen config
34+
regen config view client
3535
```
3636

37-
The above command displays the configuration in the `~/.regen/config/client.toml` file. This file can be updated using the same `config` command along with key-value pairs (see below).
37+
The above command displays the configuration in the `~/.regen/config/client.toml` file. This file can be updated using the `config set` subcommand (see below).
3838

3939
#### Chain ID
4040

@@ -43,7 +43,7 @@ The chain ID for Regen Testnet is `regen-upgrade`. When using the `regen` binary
4343
To configure the chain ID for all commands, run the following:
4444

4545
```sh
46-
regen config chain-id regen-upgrade
46+
regen config set client chain-id regen-upgrade
4747
```
4848

4949
#### Node Endpoint
@@ -53,5 +53,5 @@ When interacting with a live network, you need to connect to a remote node or ha
5353
To configure the node endpoint for all commands, run the following:
5454

5555
```sh
56-
regen config node https://rpc-regen-upgrade.vitwit.com:443
56+
regen config set client node https://rpc-regen-upgrade.vitwit.com:443
5757
```

docs/ledger/migrations/v7.0-migration.md

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ Response
6666

6767
##### Denom object format
6868

69-
Old format (DenomTrace)
69+
Old format (DenomTrace)
7070
``` json
7171
{
7272
"base_denom": "uregen",
7373
"path": "transfer/channel-0/transfer/channel-1"
74-
}
74+
}
7575
```
7676

7777
New format (Denom)
@@ -92,3 +92,58 @@ New format (Denom)
9292
}
9393
```
9494
---
95+
96+
### CLI Changes
97+
98+
Regen Ledger v7.0 replaces the legacy `regen config` command with a new subcommand structure powered by [confix](https://docs.cosmos.network/main/build/tooling/confix). Several other commands have been added or removed.
99+
100+
#### Configuration Commands
101+
102+
| Old Command (v6.x) | New Command (v7.x) |
103+
|---------------------|---------------------|
104+
| `regen config` (view) | `regen config view client` |
105+
| `regen config <key> <value>` | `regen config set client <key> <value>` |
106+
| N/A | `regen config get client <key>` |
107+
| N/A | `regen config set app <key> <value>` |
108+
| N/A | `regen config view app` |
109+
| N/A | `regen config migrate <target-version> <config-path>` |
110+
| N/A | `regen config diff <config-path>` |
111+
112+
#### Removed Commands
113+
114+
- `regen rosetta` — The Rosetta API integration has been removed.
115+
- `regen tx aux-to-fee` — Replaced by `regen tx simulate`.
116+
117+
#### New Commands
118+
119+
- `regen tx simulate` — Simulate a transaction.
120+
- `regen query wait-tx` — Wait for a transaction to be included in a block.
121+
- `regen query blocks` — Query for paginated blocks matching events.
122+
- `regen query block-results` — Query for block results at a given height.
123+
124+
#### AutoCLI
125+
126+
Many query and transaction commands are now auto-generated using [AutoCLI](https://docs.cosmos.network/main/build/building-modules/autocli). The command interface remains the same, but help text and flag names may differ slightly.
127+
128+
### Configuration File Migration
129+
130+
After upgrading to v7.x, you should migrate your configuration files to the latest format:
131+
132+
```bash
133+
regen config migrate v0.53 ~/.regen/config/app.toml
134+
```
135+
136+
You can also check what has changed compared to the defaults:
137+
138+
```bash
139+
regen config diff ~/.regen/config/app.toml
140+
```
141+
142+
### Environment Variables
143+
144+
Regen Ledger v7.x supports environment variable overrides following the `REGEN_*` pattern. For example:
145+
146+
- `REGEN_MINIMUM_GAS_PRICES` overrides `minimum-gas-prices` in `app.toml`
147+
- `REGEN_API_ENABLE` overrides `api.enable` in `app.toml`
148+
149+
Environment variables use the pattern `REGEN_<SECTION>_<KEY>` with dots and hyphens replaced by underscores.

docs/validators/get-started/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ We recommend the following hardware specifications:
1010

1111
## Setup Instructions
1212

13-
We recommend using Ubuntu 18.04 or 20.04. The following setup instructions are assuming you are using one of these images and the setup may be different if not.
13+
We recommend using Ubuntu 22.04 or 24.04. The following setup instructions are assuming you are using one of these images and the setup may be different if not.
1414

1515
### Install Dependencies
1616

@@ -31,25 +31,25 @@ sudo apt install git build-essential wget jq -y
3131
Download Go:
3232

3333
```bash
34-
wget https://dl.google.com/go/go1.19.4.linux-amd64.tar.gz
34+
wget https://dl.google.com/go/go1.23.8.linux-amd64.tar.gz
3535
```
3636

3737
Verify data integrity:
3838

3939
```bash
40-
sha256sum go1.19.4.linux-amd64.tar.gz
40+
sha256sum go1.23.8.linux-amd64.tar.gz
4141
```
4242

4343
Verify SHA-256 hash:
4444

4545
```bash
46-
9df122d6baf6f2275270306b92af3b09d7973fb1259257e284dba33c0db14f1b
46+
45b87381172a58d62c977f27c4683c8681ef36580abecd14fd124d24ca306d3f
4747
```
4848

4949
Unpack Go download:
5050

5151
```bash
52-
sudo tar -C /usr/local -xzf go1.19.4.linux-amd64.tar.gz
52+
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.23.8.linux-amd64.tar.gz
5353
```
5454

5555
Set up environment:

docs/validators/get-started/install-regen.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Install Regen
22

3-
The following instructions are for building and installing the `regen` binary. In these instructions, we use the same version that was used to start both Regen Mainnet. An alternative to syncing a node from genesis is [Using State Sync](using-state-sync.md) with the latest version.
3+
The following instructions are for building and installing the `regen` binary. In these instructions, we use the latest version running on Regen Mainnet. An alternative to syncing a node from genesis is [Using State Sync](using-state-sync.md) with the latest version, which is the recommended approach for new validators.
44

55
## Prerequisites
66

@@ -23,7 +23,7 @@ cd regen-ledger
2323
Check out the genesis version:
2424

2525
```bash
26-
git checkout v6.0.0
26+
git checkout v7.2.0
2727
```
2828

2929
Build and install the `regen` binary:
@@ -42,5 +42,5 @@ regen version
4242
You should see the following:
4343

4444
```bash
45-
v6.0.0
45+
v7.2.0
4646
```

0 commit comments

Comments
 (0)