We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e684286 commit 1a97dfeCopy full SHA for 1a97dfe
base-consensus-entrypoint
@@ -44,4 +44,9 @@ export BASE_NODE_P2P_ADVERTISE_IP=$PUBLIC_IP
44
45
echo "$BASE_NODE_L2_ENGINE_AUTH_RAW" > "$BASE_NODE_L2_ENGINE_AUTH"
46
47
-exec ./base-consensus
+if [[ -n "${BASE_NODE_SOURCE_L2_RPC:-}" ]]; then
48
+ echo "Running base-consensus in follow mode because BASE_NODE_SOURCE_L2_RPC is set"
49
+ exec ./base-consensus follow
50
+else
51
+ exec ./base-consensus node
52
+fi
0 commit comments