From 82723df85d8d1499f3f63942a6f71006c1c82fc9 Mon Sep 17 00:00:00 2001 From: Petar Radovic Date: Thu, 19 Mar 2026 13:48:34 +0100 Subject: [PATCH] fetch deployment setting and update genesis from cfgsync --- bedrock/scripts/run_logos_blockchain_node.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bedrock/scripts/run_logos_blockchain_node.sh b/bedrock/scripts/run_logos_blockchain_node.sh index e318ab4a..be2f7976 100755 --- a/bedrock/scripts/run_logos_blockchain_node.sh +++ b/bedrock/scripts/run_logos_blockchain_node.sh @@ -9,5 +9,9 @@ export CFG_FILE_PATH="/config.yaml" \ LOG_LEVEL="INFO" \ POL_PROOF_DEV_MODE=true -/usr/bin/logos-blockchain-cfgsync-client && \ - exec /usr/bin/logos-blockchain-node /config.yaml +/usr/bin/logos-blockchain-cfgsync-client + +# Download deployment settings generated by cfgsync +curl -sf "${CFG_SERVER_ADDR}/deployment-settings" -o /deployment-settings.yaml + +exec /usr/bin/logos-blockchain-node /config.yaml --deployment /deployment-settings.yaml