You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(p2p): drop unused ENR xxhash versioning path (#22943)
## Summary
Removes dead code from `p2p/src/versioning.ts`:
- `USE_XX_HASH` was never `true` outside tests; production ENRs always
used the compressed string from `compressComponentVersions`.
- Peer discovery already validates with
`checkCompressedComponentVersion` in `discV5_service.ts`;
`checkAztecEnrVersion` was only used from tests.
- Drops `xxhash-wasm` / `toBufferBE` from this module (gossip
`encoding.ts` still uses xxhash for message IDs).
Related to
[A-766](https://linear.app/aztec-labs/issue/A-766/audit-97-enr-version-detection-uses-string-prefix-matching-fragile)
0 commit comments