Skip to content

Commit

Permalink
Merge branch 'release/v2.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnuj committed Jan 8, 2024
2 parents 6394aa3 + d4718d7 commit a1b651f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .env
@@ -1,2 +1,2 @@
COMPOSE_PROJECT_NAME=localterra
TERRA_VERSION=2.6.1
TERRA_VERSION=2.6.2
19 changes: 11 additions & 8 deletions Dockerfile
@@ -1,4 +1,4 @@
ARG TERRA_VERSION=2.6.1
ARG TERRA_VERSION

FROM ghcr.io/terra-money/core:${TERRA_VERSION}

Expand All @@ -19,12 +19,10 @@ RUN set -eux &&\
mkdir -p /app/config && \
mkdir -p /app/data && \
chown -R terra:terra /app && \
terrad init localterra --home /app --chain-id localterra && \
echo '{"height": "0","round": 0,"step": 0}' > /app/data/priv_validator_state.json && \
sed -e '/^\[api\]/,/\[rosetta\]/ s|^enable *=.*|enable = true|' \
-e '/^\[api\]/,/\[rosetta\]/ s|^swagger *=.*|swagger = true|' \
-e '/^\[api\]/,/\[rosetta\]/ s|^enabled-unsafe-cors *=.*|enabled-unsafe-cors = true|' \
-i /app/config/app.toml
terrad init localterra \
--home /app \
--chain-id localterra && \
echo '{"height": "0","round": 0,"step": 0}' > /app/data/priv_validator_state.json

COPY ./terra/priv_validator_key.json \
./terra/genesis.json \
Expand Down Expand Up @@ -53,4 +51,9 @@ CMD terrad start \
--rpc.laddr tcp://0.0.0.0:26657 \
--api.enable true \
--api.swagger true \
--api.enabled-unsafe-cors true
--api.address tcp://0.0.0.0:1317 \
--api.enabled-unsafe-cors true \
--grpc.enable true \
--grpc.address 0.0.0.0:9090 \
--grpc-web.enable \
--grpc-web.address 0.0.0.0:9091

0 comments on commit a1b651f

Please sign in to comment.