@@ -40,37 +40,37 @@ echo "generating initial config in $CHAIN_HOME/config"
4040
4141echo " editing generated configs"
4242# RPC endpoint (in config.toml, under [rpc])
43- python3 toml_edit.py " $CHAIN_HOME /config/config.toml" " rpc.laddr" " tcp://0.0.0.0:$RPC "
43+ python3 " $HOME /app/ toml_edit.py" " $CHAIN_HOME /config/config.toml" " rpc.laddr" " tcp://0.0.0.0:$RPC "
4444
4545# Set CORS allowed origins (in config.toml, under [rpc])
46- python3 toml_edit.py " $CHAIN_HOME /config/config.toml" " rpc.cors_allowed_origins" " [\" *\" ]"
46+ python3 " $HOME /app/ toml_edit.py" " $CHAIN_HOME /config/config.toml" " rpc.cors_allowed_origins" " [\" *\" ]"
4747
4848# REST endpoint (in app.toml, under [api])
49- python3 toml_edit.py " $CHAIN_HOME /config/app.toml" " api.address" " tcp://0.0.0.0:$REST "
49+ python3 " $HOME /app/ toml_edit.py" " $CHAIN_HOME /config/app.toml" " api.address" " tcp://0.0.0.0:$REST "
5050
5151# Enable the REST API and unsafe CORS (in app.toml, under [api])
52- python3 toml_edit.py " $CHAIN_HOME /config/app.toml" " api.enable" true
53- python3 toml_edit.py " $CHAIN_HOME /config/app.toml" " api.enabled-unsafe-cors" true
52+ python3 " $HOME /app/ toml_edit.py" " $CHAIN_HOME /config/app.toml" " api.enable" true
53+ python3 " $HOME /app/ toml_edit.py" " $CHAIN_HOME /config/app.toml" " api.enabled-unsafe-cors" true
5454
5555# Peer exchange settings in config.toml:
5656# Update pprof_laddr (global key) to use the new port
57- python3 toml_edit.py " $CHAIN_HOME /config/config.toml" " pprof_laddr" " localhost:$PROFF "
57+ python3 " $HOME /app/ toml_edit.py" " $CHAIN_HOME /config/config.toml" " pprof_laddr" " localhost:$PROFF "
5858
5959# Update the P2P listen address (in config.toml, under [p2p])
60- python3 toml_edit.py " $CHAIN_HOME /config/config.toml" " p2p.laddr" " tcp://0.0.0.0:$P2P "
60+ python3 " $HOME /app/ toml_edit.py" " $CHAIN_HOME /config/config.toml" " p2p.laddr" " tcp://0.0.0.0:$P2P "
6161
6262# GRPC endpoints in app.toml:
6363# Set the gRPC server address (in [grpc])
64- python3 toml_edit.py " $CHAIN_HOME /config/app.toml" " grpc.address" " 0.0.0.0:$GRPC "
64+ python3 " $HOME /app/ toml_edit.py" " $CHAIN_HOME /config/app.toml" " grpc.address" " 0.0.0.0:$GRPC "
6565
6666# Set the gRPC-web address (in [grpc-web]) – if your file uses an address key here
67- python3 toml_edit.py " $CHAIN_HOME /config/app.toml" " grpc-web.address" " 0.0.0.0:$GRPC_WEB "
67+ python3 " $HOME /app/ toml_edit.py" " $CHAIN_HOME /config/app.toml" " grpc-web.address" " 0.0.0.0:$GRPC_WEB "
6868
6969# Rosetta API endpoint (in app.toml)
70- python3 toml_edit.py " $CHAIN_HOME /config/app.toml" " rosetta.address" " 0.0.0.0:$ROSETTA "
70+ python3 " $HOME /app/ toml_edit.py" " $CHAIN_HOME /config/app.toml" " rosetta.address" " 0.0.0.0:$ROSETTA "
7171
7272# Faster blocks: update consensus timeout_commit (in config.toml, under [consensus])
73- python3 toml_edit.py " $CHAIN_HOME /config/config.toml" " consensus.timeout_commit" " $BLOCK_TIME "
73+ python3 " $HOME /app/ toml_edit.py" " $CHAIN_HOME /config/config.toml" " consensus.timeout_commit" " $BLOCK_TIME "
7474
7575# Min gas price
76- python3 toml_edit.py " $CHAIN_HOME /config/app.toml" " minimum-gas-prices" " 0npush"
76+ python3 " $HOME /app/ toml_edit.py" " $CHAIN_HOME /config/app.toml" " minimum-gas-prices" " 0npush"
0 commit comments