fix: switch to testnet image

- limit random bytes to fixed length
- add balancer_interval_secs property
This commit is contained in:
Roman 2025-02-28 01:27:08 +00:00
parent ab9825ca0a
commit 1c227a7eca
No known key found for this signature in database
GPG Key ID: BB3828275C58EFF1
4 changed files with 5 additions and 4 deletions

View File

@ -13,6 +13,7 @@ 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

View File

@ -13,6 +13,7 @@ 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

View File

@ -19,7 +19,7 @@ NOMOS = "nomos"
NOMOS_EXECUTOR = "nomos_executor"
CFGSYNC = "cfgsync"
DEFAULT_IMAGE = "ghcr.io/logos-co/nomos-node:latest"
DEFAULT_IMAGE = "ghcr.io/logos-co/nomos-node:testnet"
NODE_1 = get_env_var("NODE_1", NOMOS)
NODE_2 = get_env_var("NODE_2", NOMOS_EXECUTOR)

View File

@ -40,6 +40,5 @@ def to_app_id(n: int) -> list:
return list(n.to_bytes(32, byteorder="big"))
def generate_random_bytes(n_max=31):
random_n = random.randint(1, n_max)
return os.urandom(random_n)
def generate_random_bytes(n=31):
return os.urandom(n)