From 539f84c217aec506c894379643e97c20624dc72c Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 25 Oct 2026 23:00:56 +0100 Subject: 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. --- src/simtest/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/simtest') 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(); -- cgit v1.3.1