Skip to content

Commit

Permalink
ssvlabs repo (#1970)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne authored Oct 29, 2024
1 parent 8fb84cd commit 1bdfb3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion default.env
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ ETH_DOCKER_TAG=

# SSV
SSV_NODE_TAG=latest
SSV_NODE_REPO=bloxstaking/ssv-node
SSV_NODE_REPO=ssvlabs/ssv-node
SSV_DKG_TAG=latest
SSV_DKG_REPO=bloxstaking/ssv-dkg

Expand Down
5 changes: 4 additions & 1 deletion ethd
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,9 @@ __env_migrate() {
if [[ "${__var}" = "ERIGON_DOCKER_REPO" && "${__value}" = "thorax/erigon" ]]; then # Erigon new repo
__value="erigontech/erigon"
fi
if [[ "${__var}" = "SSV_NODE_REPO" && "${__value}" = "bloxstaking/ssv-node" ]]; then # SSV new repo
__value="ssvlabs/ssv-node"
fi
sed -i'.original' -e "s~^\(${__var}\s*=\s*\).*$~\1${__value}~" "${__env_file}"
fi
done
Expand Down Expand Up @@ -3491,7 +3494,7 @@ config() {
if [ ! -f "./ssv-config/encrypted_private_key.json" ]; then
echo "Creating encrypted operator private key"
__dodocker run --name ssv-node-key-generation -v "$(pwd)/ssv-config/password.pass":/password.pass \
-it bloxstaking/ssv-node:latest /go/bin/ssvnode generate-operator-keys \
-it ssvlabs/ssv-node:latest /go/bin/ssvnode generate-operator-keys \
--password-file=/password.pass && __dodocker cp ssv-node-key-generation:/encrypted_private_key.json \
./ssv-config/encrypted_private_key.json && __dodocker rm ssv-node-key-generation
${__auto_sudo} chown 12000:12000 ./ssv-config/encrypted_private_key.json
Expand Down

0 comments on commit 1bdfb3e

Please sign in to comment.