@@ -17,13 +17,13 @@ WALLET_MNEMONIC_5="sleep garage unaware monster slide cruel barely blade sudden
1717
1818RLY_MNEMONIC_1=" alley afraid soup fall idea toss can goose become valve initial strong forward bright dish figure check leopard decide warfare hub unusual join cart"
1919
20- P2PPORT=36656
21- RPCPORT=36657
20+ P2PPORT=26656
21+ RPCPORT=26657
2222
23- RESTPORT=1417
24- ROSETTA=8180
25- GRPCPORT=9190
26- GRPCWEB=9191
23+ RESTPORT=1317
24+ ROSETTA=8080
25+ GRPCPORT=9090
26+ GRPCWEB=9091
2727
2828BLOCK_TIME=5
2929
@@ -120,7 +120,7 @@ echo "Changing defaults and ports in app.toml and config.toml files..."
120120sed -i -e ' s/cors_allowed_origins = \[\]/cors_allowed_origins = \["*"\]/g' $CHAIN_DIR /$CHAINID /config/config.toml
121121sed -i -e ' s#"tcp://0.0.0.0:26656"#"tcp://0.0.0.0:' " $P2PPORT " ' "#g' $CHAIN_DIR /$CHAINID /config/config.toml
122122sed -i -e ' s#"tcp://127.0.0.1:26657"#"tcp://0.0.0.0:' " $RPCPORT " ' "#g' $CHAIN_DIR /$CHAINID /config/config.toml
123- sed -i -e ' s/timeout_commit = "1s "/timeout_commit = "5s"/g' $CHAIN_DIR /$CHAINID /config/config.toml
123+ sed -i -e ' s/timeout_commit = "5s "/timeout_commit = "5s"/g' $CHAIN_DIR /$CHAINID /config/config.toml
124124sed -i -e ' s/timeout_propose = "3s"/timeout_propose = "5s"/g' $CHAIN_DIR /$CHAINID /config/config.toml
125125sed -i -e ' s/index_all_keys = false/index_all_keys = true/g' $CHAIN_DIR /$CHAINID /config/config.toml
126126
@@ -141,7 +141,7 @@ sed -i -e 's/"trusted_addresses": \[\]/"trusted_addresses": \["'"$VAL1_ADDR"'","
141141TRUSTED_PARTIES=' {"client_id": "07-tendermint-0", "connection_id": "connection-0", "channel_id": "channel-0"}'
142142
143143sed -i -e ' s/"trusted_counter_parties": \[\]/"trusted_counter_parties": \[' " $TRUSTED_PARTIES " ' \]/g' $CHAIN_DIR /$CHAINID /config/genesis.json
144- sed -i -e ' s/"key_expiry": "100"/"key_expiry": "1000000 "/g' $CHAIN_DIR /$CHAINID /config/genesis.json
144+ sed -i -e ' s/"key_expiry": "100"/"key_expiry": "50 "/g' $CHAIN_DIR /$CHAINID /config/genesis.json
145145sed -i -e ' s/"is_source_chain": false/"is_source_chain": true/g' $CHAIN_DIR /$CHAINID /config/genesis.json
146146
147147echo " Starting $CHAINID in $CHAIN_DIR ..."
@@ -202,4 +202,4 @@ echo "* Node RPC ENDPOINT: http://localhost:$RPCPORT *"
202202echo " * Node REST ENDPOINT: http://localhost:$RESTPORT *"
203203echo " * Node GRPC ENDPOINT: http://localhost:$GRPCPORT *"
204204echo " *******************************************************"
205- echo " Devnet data directory: $( pwd) /devnet_data/"
205+ echo " Devnet data directory: $( pwd) /devnet_data/"
0 commit comments