Skip to content

Commit

Permalink
change public keys pull location
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed Aug 21, 2023
1 parent d6a91c5 commit 77c3084
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ gen_shared_files(){
mkdir -p /data/custom_config_data
wget -O /data/custom_config_data/trusted_setup.txt https://raw.githubusercontent.com/ethereum/c-kzg-4844/main/src/trusted_setup.txt
wget -O /data/custom_config_data/trusted_setup.json https://raw.githubusercontent.com/ethereum/consensus-specs/dev/presets/mainnet/trusted_setups/testing_trusted_setups.json
wget -O /data/all.txt https://github.com/eth-clients/holesky/raw/main/public-keys/all.txt
if ! [ -f "/data/el/jwtsecret" ] || [ -f "/data/cl/jwtsecret" ]; then
mkdir -p /data/el
mkdir -p /data/cl
Expand Down Expand Up @@ -41,6 +40,7 @@ gen_cl_config(){
if ! [ -f "/data/custom_config_data/genesis.ssz" ]; then
tmp_dir=$(mktemp -d -t ci-XXXXXXXXXX)
mkdir -p /data/custom_config_data
wget -O /data/all.txt https://github.com/eth-clients/holesky/raw/main/public-keys/all.txt
# Replace environment vars in files
envsubst < /config/cl/config.yaml > /data/custom_config_data/config.yaml
envsubst < /config/cl/mnemonics.yaml > $tmp_dir/mnemonics.yaml
Expand All @@ -58,7 +58,7 @@ gen_cl_config(){
bellatrix
--config /data/custom_config_data/config.yaml
--additional-validators /data/all.txt
--mnemonics $tmp_dir/mnemonics.yaml
--mnemonics ""
--tranches-dir /data/custom_config_data/tranches
--state-output /data/custom_config_data/genesis.ssz
)
Expand Down

0 comments on commit 77c3084

Please sign in to comment.