Skip to content

Commit 8bbb547

Browse files
committed
#303 Upgrade Cosmos-SDK to v0.47.8
Fix docs Signed-off-by: Abdulbois <abdulbois.tursunov@dsr-corporation.com> Signed-off-by: Abdulbois <abdulbois123@gmail.com>
1 parent 6c5aa27 commit 8bbb547

5 files changed

+14
-7
lines changed

README-DEV.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,12 @@ Please take into account the following when sending a PR:
157157
Consider using a docker container built from the provided [Dockerfile](scripts/Dockerfile) to have a predictable version of ignite. See [README.md](scripts/README.md).
158158
- Have a look at the scripts and commands used for generation of existing modules, messages and CRUD operations and do it in a similar way
159159
(for example [PKI module commands](scripts/starport/upgrade-0.44/07.pki_types.sh)).
160-
Note: On previous scaffolding of modules `starport` cli used instead of `ignite`.
161-
While generating new module, command structure will the same except it must start with `ignite`.
160+
-
161+
**Note**:
162+
1. On previous scaffolding of modules `starport` cli used instead of `ignite`.
163+
While generating new module, command structure will the same except it must start with `ignite`.
164+
2. After execution of command `ignite scaffold ...` generated `.proto` files will be added into `proto/distributedcoplianceledger/{module}/{proto}`
165+
. So make sure to put contents of generated proto files into related folders inside `proto/zigbeealliance/..` folder.
162166
- If a new transaction with a new data in state (key-value) and new queries needs to be created, then both message and CRUD commands need to be executed.
163167
- If just a message to update existing state values need to be created, then a message command is enough.
164168
- Adjust the generated code

docs/how-to.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Here is the list of supported settings:
4848
- `output <type>` - Output format (text/json)
4949
- `node <node-ip>` - Address `<host>:<port>` of the node to connect.
5050
- `broadcast-mode <mode>` - Write transaction broadcast mode to use (one of: `sync`, `async`. `sync` is default).
51-
- Note: In `sync` broadcast mode, to get the actual result of transaction(`dcld tx ..`) one more query call with `txHash` must be executed(`dcld query tx=txHash`)
51+
- Note: To get the actual result of transaction(`dcld tx ..`) one more query call with the `txHash` must be executed(`dcld query tx txHash`)
5252

5353
In order to connect the CLI to a DC Ledger Network (Chain), the following parameters should be used:
5454

docs/running-light-client-proxy.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A Full Node (Validator or Observer) should be used for multi-value query request
99

1010
See the following links for details about a Light Client:
1111

12-
- <https://docs.cometbft.com/main/explanation/core/light-client>
12+
- <https://docs.cometbft.com/v0.37/core/light-client>
1313

1414
## Running Light Client Proxy - Short
1515

@@ -21,7 +21,7 @@ dcld config node tcp://<light-client-proxy-host>:8888
2121

2222
## Running Light Client Proxy - Detailed
2323

24-
See <https://docs.cometbft.com/main/explanation/core/light-client> for details
24+
See <https://docs.cometbft.com/v0.37/core/light-client> for details
2525

2626
### 1. Choose Semi-trusted or Non-trusted Nodes for Connection
2727

genlocalnetconfig.sh

-2
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ for node_name in node0 node1 node2 node3 observer0; do
175175
sed -i $SED_EXT 's/laddr = "tcp:\/\/127.0.0.1:26657"/laddr = "tcp:\/\/0.0.0.0:26657"/g' "$LOCALNET_DIR/${node_name}/config/config.toml"
176176
# Make REST endpoints available externally
177177
sed -i $SED_EXT 's/address = "tcp:\/\/localhost:1317"/address = "tcp:\/\/0.0.0.0:1317"/g' "$LOCALNET_DIR/${node_name}/config/app.toml"
178-
# Make gRPC endpoints available externally
179-
sed -i $SED_EXT 's/address = "localhost:9090"/address = "0.0.0.0:9090"/g' "$LOCALNET_DIR/${node_name}/config/app.toml"
180178

181179
# Make REST endpoints available externally
182180
sed -i $SED_EXT 's/address = "tcp:\/\/localhost:1317"/address = "tcp:\/\/0.0.0.0:1317"/g' "$LOCALNET_DIR/${node_name}/config/app.toml"

scripts/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ Build proto (for example `buf generate --template buf.gen.gogo.yaml`).
2929
```bash
3030
./scripts/protocgen.sh
3131
```
32+
or
33+
34+
```bash
35+
ignite chain build
36+
```
3237

3338
Generate Cosmos base openapi
3439

0 commit comments

Comments
 (0)