mirror of
https://github.com/logos-blockchain/logos-blockchain-e2e-tests.git
synced 2026-01-03 05:33:10 +00:00
fix: switch to testnet image
- limit random bytes to fixed length - add balancer_interval_secs property
This commit is contained in:
parent
ab9825ca0a
commit
1c227a7eca
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user