Commit 9ffd8b3
committed
Make fuzz targets deterministic
Disable the std feature for the lightning dependency in fuzz builds.
The no-std code paths already use highest_seen_timestamp instead of
SystemTime::now() for time, and use zeroed SipHash keys for
deterministic hash table ordering. This makes fuzz test cases
reproduce consistently without any cfg(fuzzing) changes to the
lightning crate.
AI tools were used in preparing this commit.1 parent 450c03a commit 9ffd8b3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments