merge-script
12fb00fd42
Merge bitcoin/bitcoin#32927 : fuzz: Add missing calls to SetMockTime for determinism
...
fa8862723c fuzz: CheckGlobals in init (MarcoFalke)
fa26bfde98 test: Avoid resetting mocktime in testing setup (MarcoFalke)
fa6b45fa8e Add SetMockTime for time_point types (MarcoFalke)
Pull request description:
(Tracking issue https://github.com/bitcoin/bitcoin/issues/29018 )
During fuzzing, `AppInitParameterInteraction` may actually disable a previously set mocktime. This is confusing and can also cause non-determinism.
Fix this issue, by
* fixing the erroneous `-mocktime` parsing in `AppInitParameterInteraction`.
* adding the missing `SetMockTime` calls to the affected fuzz init functions.
* adding a `CheckGlobals` to the fuzz init, to prevent this issue in the future.
This can be tested by
* Cherry-picking the `CheckGlobals`-commit onto current master and observing a fuzz failure in the touched fuzz targets.
* Reverting the touched fuzz fixups and observing a fuzz failure for each target.
ACKs for top commit:
w0xlt:
ACK fa8862723c
dergoegge:
utACK fa8862723c
Tree-SHA512: 5a9400f0467c82fa224713af4cc2b525afbefefc7c3f419077110925ad7af6c7fda3dcd2b50f7facf0ee7df2547c6ac20336906d707adcdfd1d652a9d9a735fe
2025-07-11 11:18:03 +01:00
..
2025-06-18 11:11:25 -03:00
2024-04-18 10:27:25 +01:00
2025-06-03 19:56:55 +02:00
2025-06-03 15:13:57 +02:00
2025-06-16 15:33:15 +02:00
2024-12-13 14:22:25 +01:00
2025-03-25 21:21:27 +01:00
2025-05-13 15:50:02 +02:00
2025-03-12 19:46:54 +01:00
2023-12-06 15:44:38 +01:00
2024-07-01 10:26:46 -04:00
2024-08-05 14:51:47 +02:00
2024-05-29 18:55:04 +02:00
2023-11-30 11:27:21 +01:00
2024-12-13 14:22:25 +01:00
2023-11-14 08:45:30 +10:00
2023-12-09 19:31:06 +01:00
2025-06-12 14:40:59 -04:00
2025-05-19 22:06:48 +00:00
2025-06-14 18:35:33 -04:00
2025-06-27 13:34:30 -07:00
2025-05-29 12:14:13 +01:00
2025-06-03 19:56:55 +02:00
2024-12-13 14:22:25 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2024-09-21 12:37:36 +02:00
2023-08-17 15:31:27 -04:00
2023-08-17 15:31:56 -04:00
2023-12-09 19:31:06 +01:00
2023-12-09 19:31:06 +01:00
2024-08-28 15:56:15 +01:00
2025-06-03 19:56:55 +02:00
2025-04-08 15:18:03 -04:00
2025-06-03 15:13:54 +02:00
2024-05-16 10:16:08 -05:00
2025-01-20 17:43:58 +01:00
2025-07-09 14:28:23 +02:00
2024-06-12 15:21:31 +02:00
2025-02-21 10:43:41 +01:00
2024-12-13 14:22:25 +01:00
2025-05-20 09:43:21 +01:00
2025-03-12 19:46:54 +01:00
2023-12-04 15:39:15 -04:00
2025-04-03 12:05:59 +02:00
2025-02-21 10:43:01 +01:00
2024-05-09 15:56:04 +02:00
2025-05-30 10:12:38 -04:00
2024-08-05 15:45:58 +01:00
2025-01-06 15:43:04 +00:00
2025-05-19 17:16:13 +02:00
2025-06-06 11:28:42 -04:00
2023-11-28 17:49:41 +01:00
2024-09-04 15:04:53 -04:00
2025-02-04 11:53:03 -05:00
2025-06-25 11:32:57 +01:00
2023-12-14 20:10:21 +00:00
2025-06-03 08:09:28 +01:00
2024-04-18 10:27:25 +01:00
2024-03-12 12:59:02 -04:00
2025-01-06 15:43:04 +00:00
2025-04-25 15:12:03 +02:00
2025-01-15 15:44:03 +01:00
2024-12-13 14:22:25 +01:00
2025-06-03 08:09:28 +01:00
2025-03-12 19:46:54 +01:00
2025-07-09 14:28:14 +02:00
2024-12-02 15:09:31 +01:00
2025-05-19 17:16:13 +02:00
2024-07-19 15:39:02 +02:00
2025-06-10 10:07:56 -04:00
2025-02-12 11:39:37 -05:00
2025-06-16 15:33:15 +02:00
2025-06-16 15:33:15 +02:00
2025-03-12 19:46:54 +01:00
2024-09-02 15:43:33 +01:00
2024-09-04 15:04:53 -04:00
2023-11-14 08:45:30 +10:00
2025-07-09 14:28:14 +02:00
2025-07-09 14:28:14 +02:00
2024-10-26 23:44:15 +02:00
2024-12-13 14:22:25 +01:00
2024-07-06 09:06:36 -04:00
2025-03-25 09:38:25 +01:00
2024-12-13 14:22:25 +01:00
2025-05-06 12:33:16 -07:00
2025-03-13 11:47:41 +00:00
2023-11-23 17:57:53 +01:00
2023-12-09 19:31:06 +01:00
2023-12-09 19:31:06 +01:00
2025-03-12 19:46:54 +01:00
2024-12-13 14:22:25 +01:00
2024-09-20 16:05:28 +01:00
2025-05-30 10:12:38 -04:00
2024-08-21 00:41:56 +02:00
2024-12-13 14:22:25 +01:00
2025-03-12 19:46:54 +01:00
2023-11-14 08:45:30 +10:00
2025-01-06 15:43:04 +00:00
2025-03-12 19:46:54 +01:00
2024-07-10 09:40:47 +02:00
2025-01-15 12:16:08 +01:00
2024-09-06 09:08:10 -04:00
2024-06-13 11:20:49 +01:00
2024-12-13 14:22:25 +01:00
2023-11-30 11:28:19 +01:00
2023-11-30 11:28:19 +01:00
2025-07-09 14:28:14 +02:00
2025-02-07 13:55:57 -05:00
2025-07-02 15:06:53 -04:00
2025-02-20 14:00:21 -05:00
2025-01-29 18:05:16 -05:00
2025-03-12 19:45:37 +01:00
2025-02-21 10:43:01 +01:00
2025-07-09 14:28:14 +02:00
2025-07-09 14:28:14 +02:00
2024-12-13 14:22:25 +01:00
2025-06-03 19:56:55 +02:00
2025-01-21 00:38:03 +10:00