diff --git a/charts/scroll-sdk/templates/wait-for-l1-script.yaml b/charts/scroll-sdk/templates/wait-for-l1-script.yaml deleted file mode 100644 index 3b2bd16d..00000000 --- a/charts/scroll-sdk/templates/wait-for-l1-script.yaml +++ /dev/null @@ -1,30 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - labels: - {{- include "scroll-sdk.labels" $ | nindent 4 }} - name: wait-for-l1-script -data: - wait-for-l1.sh: | - #!/bin/sh - - # Get L1 endpoint - L1_ENDPOINT=$1 - - # Function to check the Geth node - check_geth_node() { - HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" -X POST --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}' -H "Content-Type: application/json" $L1_ENDPOINT) - echo "code is $HTTP_CODE" - if [ "$HTTP_CODE" -eq 200 ]; then - echo "Geth node is up and running!" - exit 0 - else - echo "Geth node is not responding, HTTP code: $HTTP_CODE. Retrying in 5 seconds..." - sleep 5 - fi - } - - # Loop until the Geth node responds with HTTP 200 - while true; do - check_geth_node - done diff --git a/devnet/Makefile b/devnet/Makefile index b45143f9..84a8456b 100644 --- a/devnet/Makefile +++ b/devnet/Makefile @@ -26,7 +26,20 @@ install: --set l1-devnet.ingress.main.hosts[0].host=$(L1_RPC_HOST) \ --set l1-devnet.ingress.main.hosts[0].paths[0].path=/ \ --set l1-devnet.ingress.main.hosts[0].paths[0].pathType=Prefix \ - --set-file bridge-history-api.scrollConfig=scroll-sdk/bridge-history-config.yaml + --values scroll-sdk/admin-system-backend-config.yaml \ + --values scroll-sdk/admin-system-cron-config.yaml \ + --values scroll-sdk/bridge-history-api-config.yaml \ + --values scroll-sdk/bridge-history-fetcher-config.yaml \ + --values scroll-sdk/chain-monitor-config.yaml \ + --values scroll-sdk/coordinator-api-config.yaml \ + --values scroll-sdk/coordinator-cron-config.yaml \ + --values scroll-sdk/frontend-config.yaml \ + --values scroll-sdk/gas-oracle-config.yaml \ + --values scroll-sdk/genesis.yaml \ + --values scroll-sdk/rollup-explorer-backend-config.yaml \ + --values scroll-sdk/rollup-node.yaml \ + --values scroll-sdk/scroll-common-config.yaml \ + --values scroll-sdk/scroll-common-config-contracts.yaml reload-env-files: ./create-env-files.sh scroll-sdk