Skip to content

feat(client/host): Remove debug_dbGet dependency #235

@clabby

Description

@clabby

Overview

Currently, we have a dependency on hash-scheme geth's debug_dbGet endpoint to fetch specific trie node preimages by hash. For the most part, eth_getProof gives us what we need, except for in the special case of trie node deletions where a branch with one remaining child needs to be compacted.

Unless overlooking something, we will still need some sort of trie-node-preimage-by-hash fetcher, though we should explore options that are more robust.

Brainstorm

  • reth execution extension to index changed trie nodes
    • Only store merkle diffs; key by path. We should be able to consult the state at tip for trie paths that have not been altered within or after the block at which the trie path is being queried.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Out of Scope

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions