mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
Add Tendermint 0.35 scripts
This commit is contained in:
parent
b72e561f67
commit
79f14b37c7
@ -6,6 +6,7 @@ command -v shellcheck >/dev/null && shellcheck "$0"
|
||||
declare -a TM_VERSIONS
|
||||
# TM_VERSIONS[33]=v0.33.8
|
||||
TM_VERSIONS[34]=v0.34.10
|
||||
TM_VERSIONS[35]=v0.35.6
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
|
@ -5,6 +5,7 @@ command -v shellcheck >/dev/null && shellcheck "$0"
|
||||
declare -a TM_VERSIONS
|
||||
# TM_VERSIONS[33]=v0.33.8
|
||||
TM_VERSIONS[34]=v0.34.10
|
||||
TM_VERSIONS[35]=v0.35.6
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
|
@ -22,7 +22,7 @@ docker run --rm \
|
||||
--user="$UID" \
|
||||
-v "${TMP_DIR}:/tendermint" \
|
||||
"tendermint/tendermint:${TENDERMINT_VERSION}" \
|
||||
init
|
||||
init validator
|
||||
|
||||
# make sure we allow cors origins, only possible by modifying the config file
|
||||
# https://github.com/tendermint/tendermint/issues/3216
|
||||
@ -34,11 +34,11 @@ docker run --rm \
|
||||
--name "$TENDERMINT_NAME" \
|
||||
-p "${TENDERMINT_PORT}:26657" -v "${TMP_DIR}:/tendermint" \
|
||||
-e "TM_TX_INDEX_INDEX_ALL_KEYS=true" \
|
||||
-e "PROXY_APP=kvstore" \
|
||||
-e "LOG_LEVEL=state:info,rpc:info,*:error" \
|
||||
"tendermint/tendermint:${TENDERMINT_VERSION}" node \
|
||||
--proxy_app=kvstore \
|
||||
--rpc.laddr=tcp://0.0.0.0:26657 \
|
||||
--log_level=state:info,rpc:info,*:error \
|
||||
>"$LOGFILE" &
|
||||
>"$LOGFILE" 2>&1 &
|
||||
|
||||
echo "Tendermint running and logging into $LOGFILE"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user