Skip to content

Commit 8694b99

Browse files
bxue-l2Ubuntu
and
Ubuntu
authored
update mainnet node version to 0.6.2 (Layr-Labs#117)
Co-authored-by: Ubuntu <[email protected]>
1 parent adfaa17 commit 8694b99

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

holesky/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MAIN_SERVICE_IMAGE=ghcr.io/layr-labs/eigenda/opr-node:release-0.6.2-rc.0
1+
MAIN_SERVICE_IMAGE=ghcr.io/layr-labs/eigenda/opr-node:release-0.6.2
22
NETWORK_NAME=eigenda-network
33
MAIN_SERVICE_NAME=eigenda-native-node
44

holesky/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
socket="$NODE_HOSTNAME":"${NODE_DISPERSAL_PORT}"\;"${NODE_RETRIEVAL_PORT}"
77

8-
node_plugin_image="ghcr.io/layr-labs/eigenda/opr-nodeplugin:release-0.6.2-rc.0"
8+
node_plugin_image="ghcr.io/layr-labs/eigenda/opr-nodeplugin:release-0.6.2"
99

1010
# In all commands, We have to explicitly set the password again here because
1111
# when docker run loads the `.env` file, it keeps the quotes around the password

mainnet/.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
MAIN_SERVICE_IMAGE=ghcr.io/layr-labs/eigenda/opr-node:release-0.6.1
1+
MAIN_SERVICE_IMAGE=ghcr.io/layr-labs/eigenda/opr-node:release-0.6.2
22
NETWORK_NAME=eigenda-network
33
MAIN_SERVICE_NAME=eigenda-native-node
44

mainnet/run.sh

+18-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
socket="$NODE_HOSTNAME":"${NODE_DISPERSAL_PORT}"\;"${NODE_RETRIEVAL_PORT}"
77

8-
node_plugin_image="ghcr.io/layr-labs/eigenda/opr-nodeplugin:release-0.6.1"
8+
node_plugin_image="ghcr.io/layr-labs/eigenda/opr-nodeplugin:release-0.6.2"
99

1010
# In all commands, We have to explicitly set the password again here because
1111
# when docker run loads the `.env` file, it keeps the quotes around the password
@@ -62,6 +62,21 @@ listQuorums() {
6262
--quorum-id-list 0
6363
}
6464

65+
updateSocket() {
66+
# we have to pass a dummy quorum-id-list as it is required by the plugin
67+
docker run --env-file .env \
68+
--rm \
69+
--volume "${NODE_ECDSA_KEY_FILE_HOST}":/app/operator_keys/ecdsa_key.json \
70+
--volume "${NODE_BLS_KEY_FILE_HOST}":/app/operator_keys/bls_key.json \
71+
--volume "${NODE_LOG_PATH_HOST}":/app/logs:rw \
72+
"$node_plugin_image" \
73+
--ecdsa-key-password "$NODE_ECDSA_KEY_PASSWORD" \
74+
--bls-key-password "$NODE_BLS_KEY_PASSWORD" \
75+
--socket "$socket" \
76+
--operation update-socket \
77+
--quorum-id-list 0
78+
}
79+
6580
if [ "$1" = "opt-in" ]; then
6681
if [ -z "$2" ]; then
6782
echo "Please provide quorum number (0/1/0,1)"
@@ -78,6 +93,8 @@ elif [ "$1" = "opt-out" ]; then
7893
optOut "$2"
7994
elif [ "$1" = "list-quorums" ]; then
8095
listQuorums
96+
elif [ "$1" = "update-socket" ]; then
97+
updateSocket
8198
else
8299
echo "Invalid command"
83100
fi

0 commit comments

Comments
 (0)