Skip to content

Implement eth_getProof using historical data #173

@meyer9

Description

@meyer9

Describe the feature

We can just copy the implementation from existing Reth. Instead of calling state_at_block_id, we can call our own function which will handle falling back to latest state if that was requested.

  • Latest: return latest state provider
  • Historical >= earliest block number: return external state provider
  • Historical < earliest block number: return existing historical state provider (slow and limited, so expected to return an error here)

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions