From 56ffd136528176be087affa92fd5ef67623941d7 Mon Sep 17 00:00:00 2001 From: Joe Sacher <321623+sacherjj@users.noreply.github.com> Date: Sun, 20 Dec 2020 17:20:13 -0500 Subject: [PATCH] Correct pull_genesis.sh to run from S3. --- resources/maintainer_scripts/pull_genesis.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/maintainer_scripts/pull_genesis.sh b/resources/maintainer_scripts/pull_genesis.sh index 08bcfbd2b4..080709cde9 100755 --- a/resources/maintainer_scripts/pull_genesis.sh +++ b/resources/maintainer_scripts/pull_genesis.sh @@ -4,11 +4,11 @@ set -e cd /etc/casper # This will pull latest genesis files down into current directory. -# The expectation is this is installed in and run in /etc/casper with sudo +# The expectation is this is installed in and run in /etc/casper with sudo su - casper -BRANCH_NAME="master" +NETWORK_NAME="casper-delta" -BASE_PATH="https://raw.githubusercontent.com/CasperLabs/casper-node/${BRANCH_NAME}/resources/production" +BASE_PATH="https://casper-node.s3.us-east-2.amazonaws.com/${NETWORK_NAME}" ACCOUNTS_CSV_PATH="${BASE_PATH}/accounts.csv" CHAINSPEC_TOML_PATH="${BASE_PATH}/chainspec.toml" VALIDATION_PATH="${BASE_PATH}/validation.md5"