EVM Watcher Divergence Tests - #4931
Conversation
|
Claude finished @djb15's task in 5m 47s —— View job Code Review: EVM Watcher Divergence Tests (PR #4931)
SummaryThis is a well-structured PR that accomplishes two things: (1) refactors the EVM watcher's Verdict: Approve (no blocking issues found) Production Code Changeswatcher.go refactoring — The five extracted methods (
Test AdditionsObservation/Reobservation Parity Test — The Generated Receipt Golden Vectors — 210 synthetic vectors covering edge cases (empty/binary/all-zero payloads, leading-zero emitters, uint64-max sequences, high-bit timestamps, multiple Wormhole events per receipt, non-standard chain IDs, all consistency levels). The coverage test ( Metadata Independence Test — Test Helpers — FindingsTwo low-severity inline comments posted:
No security, correctness, or performance issues identified. |
2ac3b24 to
42b3ab0
Compare
…message publications
014fe79 to
47131ff
Compare
This PR introduces a set of tests that verify the normal observation path will always lead to the same hash as the reobservation path for the EVM watcher.
It includes some refactor to the watcher to aid in testing which should be reviewed carefully to ensure that the current behaviour hasn't been changed inadvertently.