From 6c8585b01e2f29e31a8c6c2be097a4960496db79 Mon Sep 17 00:00:00 2001 From: Julian Meyer Date: Wed, 8 Apr 2026 07:34:37 -0700 Subject: [PATCH] fix: base-consensus mode --- base-consensus-entrypoint | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/base-consensus-entrypoint b/base-consensus-entrypoint index c3d0dbd55d..cd2801fce5 100755 --- a/base-consensus-entrypoint +++ b/base-consensus-entrypoint @@ -44,4 +44,9 @@ export BASE_NODE_P2P_ADVERTISE_IP=$PUBLIC_IP echo "$BASE_NODE_L2_ENGINE_AUTH_RAW" > "$BASE_NODE_L2_ENGINE_AUTH" -exec ./base-consensus +if [[ -n "${BASE_NODE_SOURCE_L2_RPC:-}" ]]; then + echo "Running base-consensus in follow mode because BASE_NODE_SOURCE_L2_RPC is set" + exec ./base-consensus follow +else + exec ./base-consensus node +fi