ethereum / go-verkle

A go implementation of Verkle trees
The Unlicense
209 stars 63 forks source link

tree: getproofitems replace children with resolved node #404

Closed jsign closed 11 months ago

jsign commented 11 months ago

This PR makes the resolved nodes from GetProofItems replace the HashedNodes.

If we don't do this, this method can fail for unresolved nodes despite technically receiving a resolver via params. I'll point out the exact situation in the PR comment.

This allows Geth to avoid "warmup" pre-trie: https://github.com/gballet/go-ethereum/pull/293