The naive implementation rebuilds the entire trie to calculate the root, but any optimized implementation needs to mark leaves as dirty. Mutating objects in place complicates this process.
One poss…
### What is wrong?
https://eips.ethereum.org/EIPS/eip-2926
EIP-2027, aka Code Merklization is coming down the EIP pipeline. It would be nice to have a basic implementation of it.
### How can…