aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-25 23:00:56 +0100
committertv <tv@krebsco.de>2026-10-25 23:00:56 +0100
commit05d1694622a7ef181dbbb4b9c0aeb2f8c07a5b48 (patch)
treec71b14e64257a700771c7af5ed0a86c0fb0f7cbd /src/simtest
parenta76e50a0a97de28fd22a0c6c366b31f1b40859f8 (diff)
add clock module
The Clock module is the system clock that every unix timestamp new goes through. It comes with an offset that only tests can set.
Diffstat (limited to 'src/simtest')
-rw-r--r--src/simtest/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simtest/mod.rs b/src/simtest/mod.rs
index 18975aa..d458338 100644
--- a/src/simtest/mod.rs
+++ b/src/simtest/mod.rs
@@ -88,6 +88,7 @@ impl Sim {
state_file: None,
document_file: None,
config_report: JsonValue::Null,
+ clock: Default::default(),
};
adjust(&mut config);
let state = Node::new(config).spawn_workers();