Skip to content

Determinism

The point of a Fix Receipt is that someone else can reproduce it. So a run must be deterministic, and ExploitLens enforces that rather than hoping for it.

Two independent runs of the same case on the same toolchain produce a byte-identical bundle and the same digest. There is no wall-clock timing anywhere in the recorded evidence, because a timestamp would make every run differ and defeat the comparison.

The toolchain is part of the inputs. The receipt records the exact forge version, compiler, EVM version and fuzz seed, and the digest covers them. So two runs on different Foundry versions can legitimately produce different digests, and that is correct: determinism is per declared environment, and the environment is part of what the receipt attests.

The replay is not forked from mainnet. A declared fork is rejected, so a reproduction’s addresses are local, deterministic test addresses. This is why a reproduction’s addresses never match the real incident’s, and why that mismatch says nothing about faithfulness. See Purchased intelligence.