Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reliance on eth_getProof #1

Open
perama-v opened this issue Mar 8, 2023 · 1 comment
Open

Reliance on eth_getProof #1

perama-v opened this issue Mar 8, 2023 · 1 comment

Comments

@perama-v
Copy link
Owner

perama-v commented Mar 8, 2023

Description

To create the set of archival block state proofs both debug_traceTransaction and eth_getProof are required.

Discussion

Roles:

  • debug_traceTransaction with prestateTracer applied to all transactions in a block allows the full set of required states to be computed. These are the "accessed states" and includes storage slots for each account, aggregated for the block.
  • eth_getProof can be passed the "accessed states" for accounts individually. The result includes the account storage proofs that are used for that block. The proofs are then used to construct the final state proof for the block.

Tracking

@perama-v
Copy link
Owner Author

eth_getProof would be called for all blocks from genesis. Each block is paired with a set of proofs that allow that block to be trustlessly executed (locally traced).

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

No branches or pull requests

1 participant