From e6b724927bad9c55d3c7d0528d7f228ebadab52f Mon Sep 17 00:00:00 2001 From: Roman Date: Mon, 10 Mar 2025 20:40:12 +1100 Subject: [PATCH 1/2] fix: cfgsync-template.yaml update --- cluster_config/cfgsync-template.yaml | 14 ++++++------ cluster_config/cfgsync.yaml | 32 ---------------------------- 2 files changed, 6 insertions(+), 40 deletions(-) delete mode 100644 cluster_config/cfgsync.yaml diff --git a/cluster_config/cfgsync-template.yaml b/cluster_config/cfgsync-template.yaml index 59e93e6..c57b201 100644 --- a/cluster_config/cfgsync-template.yaml +++ b/cluster_config/cfgsync-template.yaml @@ -13,20 +13,18 @@ num_samples: 1 num_subnets: 2 old_blobs_check_interval_secs: 5 blobs_validity_duration_secs: 60 -balancer_interval_secs: 1 global_params_path: "/kzgrs_test_params" +min_dispersal_peers: 1 +min_replication_peers: 1 +monitor_failure_time_window_secs: 5 +balancer_interval_secs: 5 # Tracing tracing_settings: logger: Stdout - tracing: !Otlp - endpoint: http://tempo:4317/ - sample_ratio: 0.5 - service_name: node + tracing: None filter: !EnvFilter filters: nomos: debug - metrics: !Otlp - endpoint: http://prometheus:9090/api/v1/otlp/v1/metrics - host_identifier: node + metrics: None level: INFO \ No newline at end of file diff --git a/cluster_config/cfgsync.yaml b/cluster_config/cfgsync.yaml deleted file mode 100644 index e1a0fad..0000000 --- a/cluster_config/cfgsync.yaml +++ /dev/null @@ -1,32 +0,0 @@ -port: 4400 -n_hosts: 2 -timeout: 30 - -# ConsensusConfig related parameters -security_param: 10 -active_slot_coeff: 0.9 - -# DaConfig related parameters -subnetwork_size: 2 -dispersal_factor: 2 -num_samples: 1 -num_subnets: 2 -old_blobs_check_interval_secs: 5 -blobs_validity_duration_secs: 60 -balancer_interval_secs: 1 -global_params_path: "/kzgrs_test_params" - -# Tracing -tracing_settings: - logger: Stdout - tracing: !Otlp - endpoint: http://tempo:4317/ - sample_ratio: 0.5 - service_name: node - filter: !EnvFilter - filters: - nomos: debug - metrics: !Otlp - endpoint: http://prometheus:9090/api/v1/otlp/v1/metrics - host_identifier: node - level: INFO \ No newline at end of file From 19c32a03c1476565dd61ff5e31a1bc2da7bb86b6 Mon Sep 17 00:00:00 2001 From: Roman Date: Mon, 10 Mar 2025 20:51:02 +1100 Subject: [PATCH 2/2] fix: README - add kzgrs params download --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 5e13480..d454a8e 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ cd nomos-e2e-tests python -m venv .venv source .venv/bin/activate pip install -r requirements.txt +mkdir -p kzgrs +wget https://raw.githubusercontent.com/logos-co/nomos-node/master/tests/kzgrs/kzgrs_test_params -O kzgrs/kzgrs_test_params pre-commit install (optional) Overwrite default vars from src/env_vars.py via cli env vars or by adding a .env file pytest