reth
reth copied to clipboard
Remove PHF from Static Files
Describe the feature
Fixes https://github.com/paradigmxyz/reth/issues/9939
Problem
We don't use perfect hash functions for any static file segments, but they cause dependency bloat and compilation errors for Wasm.
Solution
Remove ph dependency from reth-nippy-jar crate without breaking backward compatibility of configuration files.
This will require leaving a dummy phf field for compatibility reasons https://github.com/paradigmxyz/reth/blob/750eb26256b6fcea0ad378a8cf08fe28f2dc0a7b/crates/storage/nippy-jar/src/lib.rs#L115-L116
Additional context
No response