File tree Expand file tree Collapse file tree 5 files changed +12
-7
lines changed
Expand file tree Collapse file tree 5 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,13 @@ until [ "$(curl -s --max-time 10 --connect-timeout 5 -w '%{http_code}' -o /dev/n
3333 sleep 5
3434done
3535
36+ # Write JWT secret to file
37+ echo " $BASE_NODE_L2_ENGINE_AUTH_RAW " > " $BASE_NODE_L2_ENGINE_AUTH "
38+
39+ if [[ -n " ${BASE_NODE_SOURCE_L2_RPC:- } " ]]; then
40+ exec ./base-consensus follow
41+ fi
42+
3643# public-facing P2P node, advertise public IP address
3744if PUBLIC_IP=$( get_public_ip) ; then
3845 echo " fetched public IP is: $PUBLIC_IP "
4249fi
4350export BASE_NODE_P2P_ADVERTISE_IP=$PUBLIC_IP
4451
45- echo " $BASE_NODE_L2_ENGINE_AUTH_RAW " > " $BASE_NODE_L2_ENGINE_AUTH "
46-
4752exec ./base-consensus node
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN apt-get update && apt-get -y upgrade && \
99 rm -rf /var/lib/apt/lists/*
1010
1111RUN . /tmp/versions.env && git clone $BASE_NODE_REPO . && \
12- git checkout tags/ $BASE_NODE_TAG && \
12+ git checkout $BASE_NODE_TAG && \
1313 bash -c '[ "$(git rev-parse HEAD)" = "$BASE_NODE_COMMIT" ]' || (echo "Commit hash verification failed" && exit 1)
1414
1515RUN cargo build --bin base-consensus --profile maxperf
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN apt-get update && apt-get -y upgrade && \
99 rm -rf /var/lib/apt/lists/*
1010
1111RUN . /tmp/versions.env && git clone $BASE_NODE_REPO . && \
12- git checkout tags/ $BASE_NODE_TAG && \
12+ git checkout $BASE_NODE_TAG && \
1313 bash -c '[ "$(git rev-parse HEAD)" = "$BASE_NODE_COMMIT" ]' || (echo "Commit hash verification failed" && exit 1)
1414
1515RUN cargo build --bin base-consensus --profile maxperf
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUN apt-get update && apt-get -y upgrade && \
99 rm -rf /var/lib/apt/lists/*
1010
1111RUN . /tmp/versions.env && git clone $BASE_NODE_REPO . && \
12- git checkout tags/ $BASE_NODE_TAG && \
12+ git checkout $BASE_NODE_TAG && \
1313 bash -c '[ "$(git rev-parse HEAD)" = "$BASE_NODE_COMMIT" ]' || (echo "Commit hash verification failed" && exit 1)
1414
1515RUN cargo build --bin base-reth-node --bin base-consensus --profile maxperf
Original file line number Diff line number Diff line change 1- export BASE_NODE_COMMIT = 6e54e8cbcbd27cb86bde54d3a5b0e9b4e9ea960a
1+ export BASE_NODE_COMMIT = dd44d95c3539a6c34c6a14cfdfdf0d2074969116
22export BASE_NODE_REPO = https://github.com/base/base.git
3- export BASE_NODE_TAG = v0.5.1
3+ export BASE_NODE_TAG = meyer9/integration
44export NETHERMIND_COMMIT = 31cb81b7328026791cdfaccd9db230c82f1db02d
55export NETHERMIND_REPO = https://github.com/NethermindEth/nethermind.git
66export NETHERMIND_TAG = 1.36.0
You can’t perform that action at this time.
0 commit comments