2022-12-21 12:34:14 +00:00
|
|
|
# Download privnet chain dump with pre-deployed FrostFS contracts
|
2022-10-12 14:04:37 +00:00
|
|
|
|
2020-07-10 15:14:30 +00:00
|
|
|
get.chain: CHAIN_DUMP_NAME=devenv.dump.
|
|
|
|
get.chain: CHAIN_PATH?=
|
|
|
|
get.chain:
|
|
|
|
@mkdir -p ./vendor
|
|
|
|
|
|
|
|
ifeq (${CHAIN_PATH},)
|
2020-09-16 13:08:53 +00:00
|
|
|
@echo "⇒ Download blockchain dump from ${CHAIN_URL}"
|
2020-07-10 15:14:30 +00:00
|
|
|
@curl \
|
2020-12-29 14:38:54 +00:00
|
|
|
-sSL "${CHAIN_URL}" \
|
2020-07-10 15:14:30 +00:00
|
|
|
-o ./vendor/chain.gz
|
|
|
|
else
|
|
|
|
@echo "⇒ Copy local archive ${CHAIN_PATH}"
|
|
|
|
@cp ${CHAIN_PATH} ./vendor/chain.gz
|
|
|
|
endif
|
2020-09-16 13:08:53 +00:00
|
|
|
|
|
|
|
|