File tree 3 files changed +9
-17
lines changed
3 files changed +9
-17
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,6 @@ node_plugin_image="ghcr.io/layr-labs/eigenda/opr-nodeplugin:release-0.6.2"
13
13
# To test that try running `docker run --rm --env-file .env busybox /bin/sh -c 'echo $NODE_ECDSA_KEY_PASSWORD'`
14
14
# This will output password with single quote. Not sure why this happens.
15
15
optIn () {
16
- echo " checking and validating SRS"
17
- ../srs_setup.sh
18
- if [ $? -ne 0 ]; then
19
- echo " Error: SRS setup failed. Exiting."
20
- exit 1
21
- fi
22
16
echo " using socket: $socket "
23
17
docker run --env-file .env \
24
18
--rm \
Original file line number Diff line number Diff line change @@ -13,12 +13,6 @@ node_plugin_image="ghcr.io/layr-labs/eigenda/opr-nodeplugin:release-0.6.2"
13
13
# To test that try running `docker run --rm --env-file .env busybox /bin/sh -c 'echo $NODE_ECDSA_KEY_PASSWORD'`
14
14
# This will output password with single quote. Not sure why this happens.
15
15
optIn () {
16
- echo " checking and validating SRS"
17
- ../srs_setup.sh
18
- if [ $? -ne 0 ]; then
19
- echo " Error: SRS setup failed. Exiting."
20
- exit 1
21
- fi
22
16
echo " using socket: $socket "
23
17
docker run --env-file .env \
24
18
--rm \
Original file line number Diff line number Diff line change 3
3
4
4
DOWNLOADED_FILE=false
5
5
echo " Downloading srs resources"
6
- if ! [ -f .. /resources/g1.point ]; then
6
+ if ! [ -f ./resources/g1.point ]; then
7
7
echo " g1.point does not exist."
8
8
echo " Downloading g1 point. This could take upto 5 minutes"
9
- wget https://srs-mainnet.s3.amazonaws.com/kzg/g1.point --output-document=.. /resources/g1.point
9
+ wget https://srs-mainnet.s3.amazonaws.com/kzg/g1.point --output-document=./resources/g1.point
10
10
DOWNLOADED_FILE=true
11
+ else
12
+ echo " g1.point already exists."
11
13
fi
12
14
13
- if ! [ -f .. /resources/g2.point.powerOf2 ]; then
15
+ if ! [ -f ./resources/g2.point.powerOf2 ]; then
14
16
echo " g2.point.powerOf2 does not exist."
15
17
echo " Downloading g2 point powerOf2. This will take few seconds"
16
- wget https://srs-mainnet.s3.amazonaws.com/kzg/g2.point.powerOf2 --output-document=.. /resources/g2.point.powerOf2
18
+ wget https://srs-mainnet.s3.amazonaws.com/kzg/g2.point.powerOf2 --output-document=./resources/g2.point.powerOf2
17
19
DOWNLOADED_FILE=true
20
+ else
21
+ echo " g2.point.powerOf2 already exists."
18
22
fi
19
23
20
24
# Any time we download the file, validate hashes
21
25
if [ " $DOWNLOADED_FILE " = true ]; then
22
26
echo " validating hashes of g1 and g2 points This could take upto 5 minutes"
23
- if (cd .. /resources && sha256sum -c srssha256sums.txt); then
27
+ if (cd ./resources && sha256sum -c srssha256sums.txt); then
24
28
echo " Checksums match. Verification successful."
25
29
else
26
30
echo " Error: Checksums do not match. Exiting."
You can’t perform that action at this time.
0 commit comments