Skip to content

Conversation

@demosdemon
Copy link
Contributor

@demosdemon demosdemon commented Oct 15, 2025

Key proofs are a sequence of trie nodes that follow a linear path through the trie. This means we can reconstruct a narrow view of the trie over that linear path. In this narrow view, each node can refer to another full node or just its hash.

This resulting trie can (and will in an upcoming change) be hashed to generate the same root hash. While merging with the key-value tries from #1363 and #1365, we can iteratively verify the hash of each layer and detect early if any node is incomplete.

The Remote edges can also point outside of the key range. We can use these remote edges to identify holes in our overall trie and continue synchronizing down those paths.

@demosdemon demosdemon force-pushed the brandon.leblanc/proof-trie branch 2 times, most recently from 424ee30 to 5610b4c Compare October 15, 2025 17:49
@demosdemon demosdemon marked this pull request as ready for review October 15, 2025 17:56
@demosdemon demosdemon requested a review from rkuris as a code owner October 15, 2025 17:56
@demosdemon demosdemon force-pushed the brandon.leblanc/proof-trie branch from 5610b4c to 0c47142 Compare October 17, 2025 16:50
@demosdemon demosdemon force-pushed the brandon.leblanc/trie-path-iter branch from 2446fa7 to 787fe3c Compare October 17, 2025 16:50
@demosdemon demosdemon force-pushed the brandon.leblanc/trie-path-iter branch from 787fe3c to 30e63e5 Compare October 29, 2025 16:28
@demosdemon demosdemon force-pushed the brandon.leblanc/proof-trie branch from 0c47142 to f67a1af Compare October 29, 2025 16:30
@demosdemon demosdemon force-pushed the brandon.leblanc/trie-path-iter branch from 30e63e5 to 8b019d4 Compare October 29, 2025 18:10
@demosdemon demosdemon force-pushed the brandon.leblanc/proof-trie branch from f67a1af to a1daa93 Compare October 29, 2025 18:10
Key proofs are a sequence of trie nodes that follow a linear path
through the trie. This means we can reconstruct a narrow view of the
trie over that linear path. In this narrow view, each node can refer to
another full node or just its hash.

This resulting trie can (and will in an upcoming change) be hashed to
generate the same root hash. While merging with the key-value tries
from #1363 and #1365, we can iteratively verify the hash of each
layer and detect early if any node is incomplete.

The `Remote` edges can also point outside of the key range. We can use
these remote edges to identify holes in our overall trie and continue
synchronizing down those paths.
@demosdemon demosdemon force-pushed the brandon.leblanc/proof-trie branch from a1daa93 to a3246b0 Compare October 31, 2025 17:01
@demosdemon demosdemon force-pushed the brandon.leblanc/trie-path-iter branch from 8b019d4 to 1136cc1 Compare October 31, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants