mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-04 06:13:09 +00:00
Compose runner: default KZG params path to container mount
This commit is contained in:
parent
6ec2dd45bd
commit
54a73c54b5
@ -14,6 +14,16 @@ const TRANSACTION_WALLETS: usize = 8;
|
|||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
|
// Compose containers mount KZG params at /kzgrs_test_params; ensure the
|
||||||
|
// generated configs point there unless the caller overrides explicitly.
|
||||||
|
if std::env::var("NOMOS_KZGRS_PARAMS_PATH").is_err() {
|
||||||
|
// Safe: setting a process-wide environment variable before any threads
|
||||||
|
// or async tasks are spawned.
|
||||||
|
unsafe {
|
||||||
|
std::env::set_var("NOMOS_KZGRS_PARAMS_PATH", "/kzgrs_test_params");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
tracing_subscriber::fmt::init();
|
tracing_subscriber::fmt::init();
|
||||||
|
|
||||||
let validators = read_env("COMPOSE_DEMO_VALIDATORS", DEFAULT_VALIDATORS);
|
let validators = read_env("COMPOSE_DEMO_VALIDATORS", DEFAULT_VALIDATORS);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user