From fd563aa7ff99494f6312b6cab1baf1aef23908dd Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Mon, 9 Dec 2024 20:17:00 +0100 Subject: [PATCH] Retain backwards compatibility in env variables --- start | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/start b/start index 4867edfa..013456c0 100644 --- a/start +++ b/start @@ -26,10 +26,14 @@ export PGPORT=5432 : "${ENABLE_LOGS:=false}" : "${ENABLE_CORE:=false}" : "${ENABLE_HORIZON:=false}" -: "${ENABLE_RPC:=false}" +# TODO: Remove once the Soroban RPC name is fully deprecated +: "${ENABLE_SOROBAN_RPC:=false}" +: "${ENABLE_RPC:=$ENABLE_SOROBAN_RPC}" : "${ENABLE_SOROBAN_DIAGNOSTIC_EVENTS:=false}" : "${DISABLE_SOROBAN_DIAGNOSTIC_EVENTS:=false}" -: "${ENABLE_RPC_ADMIN_ENDPOINT:=false}" +# TODO: Remove once the Soroban RPC name is fully deprecated +: "${ENABLE_SOROBAN_RPC_ADMIN_ENDPOINT:=false}" +: "${ENABLE_RPC_ADMIN_ENDPOINT:=$ENABLE_SOROBAN_RPC_ADMIN_ENDPOINT}" : "${ENABLE_CORE_MANUAL_CLOSE:=false}" : "${LIMITS:=testnet}"