Skip to content

Commit b6944c9

Browse files
committed
#303 Upgrade Cosmos-SDK to v0.47.3
- Update `broadcast-mode` to `sync` Signed-off-by: Abdulbois <abdulbois.tursunov@dsr-corporation.com> Signed-off-by: Abdulbois <abdulbois123@gmail.com>
1 parent 43e0a4c commit b6944c9

File tree

8 files changed

+9
-10
lines changed

8 files changed

+9
-10
lines changed

bench/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ WORKDIR /home/locust
2020
RUN dcld config node ${DCLD_NODE}
2121
RUN dcld config chain-id ${DCLD_CHAIN_ID}
2222
RUN dcld config keyring-backend test
23-
RUN dcld config broadcast-mode block
23+
RUN dcld config broadcast-mode sync
2424
RUN dcld config output json

deployment/ansible/roles/configure/defaults/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ client:
2828
# <host>:<port> to Tendermint RPC interface for this chain
2929
node: "tcp://localhost:26657"
3030
# Transaction broadcasting mode (sync|async|block)
31-
broadcast-mode: block
31+
broadcast-mode: sync
3232
config: {}
3333
app: {}

deployment/scripts/run_dcl_node

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ function config_cli {
230230

231231
./dcld config chain-id "$_chain_id"
232232
./dcld config output json
233-
./dcld config broadcast-mode block
233+
./dcld config broadcast-mode sync
234234
if [[ -n "$KEYRING_BACKEND" ]]; then
235235
./dcld config keyring-backend "$KEYRING_BACKEND"
236236
fi

genlocalnetconfig.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $DCL_BINARY config chain-id "$CHAIN_ID"
5353
$DCL_BINARY config output json
5454
$DCL_BINARY config node "tcp://localhost:26657"
5555
$DCL_BINARY config keyring-backend test
56-
$DCL_BINARY config broadcast-mode block
56+
$DCL_BINARY config broadcast-mode sync
5757

5858
(echo "$KEYPASSWD"; echo "$KEYPASSWD") | $DCL_BINARY keys add jack
5959
(echo "$KEYPASSWD"; echo "$KEYPASSWD") | $DCL_BINARY keys add alice
@@ -197,9 +197,9 @@ function init_light_client_proxy {
197197

198198
$DCL_BINARY config chain-id "$CHAIN_ID"
199199
$DCL_BINARY config node "tcp://localhost:26657"
200-
$DCL_BINARY config broadcast-mode block
200+
$DCL_BINARY config broadcast-mode sync
201201
$DCL_BINARY config keyring-backend test
202-
$DCL_BINARY config broadcast-mode block
202+
$DCL_BINARY config broadcast-mode sync
203203

204204
cp -R "$LOCALNET_DIR"/client/* "$DCL_DIR"
205205

integration_tests/cli/common.sh

-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ wait_for_height() {
192192
fi
193193

194194
while true; do
195-
docker logs -n 100 node0
196195
sleep "${wait_interval}"
197196
waited=$((waited + wait_interval))
198197

integration_tests/cli/validator-demo.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ docker exec $container /bin/sh -c "
6464
./dcld config output json &&
6565
./dcld config node $node0conn &&
6666
./dcld config keyring-backend test &&
67-
./dcld config broadcast-mode block"
67+
./dcld config broadcast-mode sync"
6868

6969
test_divider
7070

integration_tests/upgrade/test-upgrade-0.12-to-1.2.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ add_validator_node() {
117117
./dcld config output json &&
118118
./dcld config node $node0conn &&
119119
./dcld config keyring-backend test &&
120-
./dcld config broadcast-mode block"
120+
./dcld config broadcast-mode sync"
121121

122122
test_divider
123123

integration_tests/upgrade/test-upgrade-1.2-to-1.3.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ add_validator_node() {
121121
./dcld config output json &&
122122
./dcld config node $node0conn &&
123123
./dcld config keyring-backend test &&
124-
./dcld config broadcast-mode block"
124+
./dcld config broadcast-mode sync"
125125

126126
test_divider
127127

0 commit comments

Comments
 (0)