Download devenv chain dumps from github release

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-12-29 17:38:54 +03:00 committed by Stanislav Bogatyrev
parent f17db579fe
commit 1818199ffc
3 changed files with 4 additions and 4 deletions

4
.env
View file

@ -3,11 +3,11 @@ LOCAL_DOMAIN=neofs.devenv
IPV4_PREFIX=192.168.130 IPV4_PREFIX=192.168.130
# NeoGo privnet # NeoGo privnet
CHAIN_URL="https://fs.neo.org/dist/devenv.nep17.gz" CHAIN_URL="https://github.com/nspcc-dev/neofs-contract/releases/download/v0.3.0/devenv_mainchain.gz"
NEOGO_VERSION=0.92.0 NEOGO_VERSION=0.92.0
# NeoGo sidechain # NeoGo sidechain
MORPH_CHAIN_URL="https://fs.neo.org/dist/neo.morph.nep17.gz" MORPH_CHAIN_URL="https://github.com/nspcc-dev/neofs-contract/releases/download/v0.3.0/devenv_sidechain.gz"
# NeoFS InnerRing nodes # NeoFS InnerRing nodes
IR_VERSION=0.14.0 IR_VERSION=0.14.0

View file

@ -7,7 +7,7 @@ get.chain:
ifeq (${CHAIN_PATH},) ifeq (${CHAIN_PATH},)
@echo "⇒ Download blockchain dump from ${CHAIN_URL}" @echo "⇒ Download blockchain dump from ${CHAIN_URL}"
@curl \ @curl \
-sS "${CHAIN_URL}" \ -sSL "${CHAIN_URL}" \
-o ./vendor/chain.gz -o ./vendor/chain.gz
else else
@echo "⇒ Copy local archive ${CHAIN_PATH}" @echo "⇒ Copy local archive ${CHAIN_PATH}"

View file

@ -7,7 +7,7 @@ get.morph_chain:
ifeq (${MORPH_CHAIN_PATH},) ifeq (${MORPH_CHAIN_PATH},)
@echo "⇒ Download morph chain dump from ${MORPH_CHAIN_URL}" @echo "⇒ Download morph chain dump from ${MORPH_CHAIN_URL}"
@curl \ @curl \
-sS "${MORPH_CHAIN_URL}" \ -sSL "${MORPH_CHAIN_URL}" \
-o ./vendor/morph_chain.gz -o ./vendor/morph_chain.gz
else else
@echo "⇒ Copy local archive ${MORPH_CHAIN_PATH}" @echo "⇒ Copy local archive ${MORPH_CHAIN_PATH}"