Eric 658302802f
Use compile flag to determine if the latest block should be used for clock.now
Due to a bug in hardhat, the latest block timestamp was out of sync from the newHeads block timestamp which was causing some timing issues in the tests. To fix this, a compile flag, `codex_testing` (which was changed from `codex_enable_proof_failures`) is used to determine the bevhaviour of clock.now. If `codex_testing` is true, clock.now uses the latest block timestamp, else it uses the cached block.timestamp that was populated in the `newHeads` event.
2023-12-06 15:40:47 +11:00
..
2023-11-27 10:25:53 -08:00
2023-11-14 09:52:27 -08:00
2023-11-14 09:52:27 -08:00
2023-11-14 09:52:27 -08:00
2023-12-06 15:40:47 +11:00
2023-11-27 10:25:53 -08:00
2023-11-14 09:52:27 -08:00
2023-07-06 16:23:27 -07:00
2023-11-27 10:25:53 -08:00
2023-08-01 16:47:57 -07:00
2023-12-06 15:39:08 +11:00
2023-04-19 15:06:00 +02:00
2023-12-06 15:39:08 +11:00
2023-04-19 15:06:00 +02:00
2022-06-14 09:19:35 -06:00
2023-03-08 16:04:54 +01:00
2023-07-06 16:23:27 -07:00