diff --git a/cluster_config/scripts/run_nomos_executor_debug.sh b/cluster_config/scripts/run_nomos_executor_debug.sh new file mode 100755 index 0000000..be81f4b --- /dev/null +++ b/cluster_config/scripts/run_nomos_executor_debug.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + +export CFG_FILE_PATH="/config.yaml" \ + CFG_SERVER_ADDR="http://cfgsync:4400" \ + CFG_HOST_IP=$(hostname -i) \ + CFG_HOST_KIND="executor" \ + CFG_HOST_IDENTIFIER="executor-$(hostname -i)" \ + LOG_LEVEL="DEBUG" \ + RISC0_DEV_MODE=true + +/usr/bin/cfgsync-client && \ + exec /usr/bin/nomos-executor /config.yaml diff --git a/cluster_config/scripts/run_nomos_node_debug.sh b/cluster_config/scripts/run_nomos_node_debug.sh new file mode 100755 index 0000000..a42b992 --- /dev/null +++ b/cluster_config/scripts/run_nomos_node_debug.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +export CFG_FILE_PATH="/config.yaml" \ + CFG_SERVER_ADDR="http://cfgsync:4400" \ + CFG_HOST_IP=$(hostname -i) \ + CFG_HOST_IDENTIFIER="validator-$(hostname -i)" \ + LOG_LEVEL="DEBUG" \ + RISC0_DEV_MODE=true + +/usr/bin/cfgsync-client && \ + exec /usr/bin/nomos-node /config.yaml diff --git a/src/node/node_vars.py b/src/node/node_vars.py index f45530a..628f76b 100644 --- a/src/node/node_vars.py +++ b/src/node/node_vars.py @@ -5,13 +5,13 @@ nomos_nodes = { "image": NOMOS_MOD_DA_IMAGE, "volumes": ["cluster_config:/etc/nomos", "./kzgrs/kzgrs_test_params:/kzgrs_test_params:z"], "ports": ["3000/udp", "18080/tcp"], - "entrypoint": "/etc/nomos/scripts/run_nomos_node.sh", + "entrypoint": "/etc/nomos/scripts/run_nomos_node_debug.sh", }, "nomos_executor_mod_da": { "image": NOMOS_EXECUTOR_MOD_DA_IMAGE, "volumes": ["cluster_config:/etc/nomos", "./kzgrs/kzgrs_test_params:/kzgrs_test_params:z"], "ports": ["3000/udp", "18080/tcp"], - "entrypoint": "/etc/nomos/scripts/run_nomos_executor.sh", + "entrypoint": "/etc/nomos/scripts/run_nomos_executor_debug.sh", }, "nomos_custom": { "image": NOMOS_IMAGE,