Commit ed3284e
build: strip CBOR metadata footer for deterministic bytecode (#106)
Set `bytecode_hash = "none"` in foundry.toml so emitted bytecode no
longer contains the appended CBOR metadata block (IPFS source hash +
solc version marker). The IPFS hash covers source paths and dependency
layout, so the same source produced different bytes across clones —
this churn polluted genesis.json regenerations without changing any
runtime behavior.
The `solc = "0.8.30"` pin above is what actually fixes the compiler
version; the in-bytecode version marker was redundant artifact.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 6d0cc1d commit ed3284e
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | 15 | | |
11 | 16 | | |
| |||
0 commit comments