Open
Description
Describe the feature
In #36 we introduced zktrie and included the specification https://github.com/scroll-tech/reth/blob/feat/scroll-bmpt/crates/scroll/trie/assets/zktrie.md. The specification is outdated and does not include mention of domain separation for node hashing. We should update it to include this.
The constants for domain seperation in node hashing can be found here:
reth/crates/scroll/trie/src/lib.rs
Lines 16 to 29 in c960cb7
We should also update the part which suggests that the keys are truncated to 248 bits. This is not the case, all 254 bits (bn254 field size) are used in the key space.
Additional context
No response
Metadata
Metadata
Assignees
Type
Projects
Status
No status