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

Support for fetching historical proofs for finalised blocks #7316

Open
TheMj0ln1r opened this issue Dec 19, 2024 · 2 comments
Open

Support for fetching historical proofs for finalised blocks #7316

TheMj0ln1r opened this issue Dec 19, 2024 · 2 comments
Labels
meta-feature-request Issues to track feature requests.

Comments

@TheMj0ln1r
Copy link

Problem description

Lodestar prover endpoints are generating historical proofs for optimistic blocks but not for the Finalised blocks.

Solution description

Should be able to generate historical proofs for the older blocks(finalised).

Additional context

No response

@TheMj0ln1r TheMj0ln1r added the meta-feature-request Issues to track feature requests. label Dec 19, 2024
@nazarhussain
Copy link
Contributor

@TheMj0ln1r Would you clarify which element you are referring to. The prover which is our lightclient proxy client for web3 providers. Orr the proof api a.k.a /eth/v0/beacon/proof/block/{block_id}?

@TheMj0ln1r
Copy link
Author

Yes @nazarhussain , issue is with getStateProof in the ApiClient of @lodestar/api. There if we pass a state_root of an optimistic block the proof is generating but not if we pass a finalised block. I've tested that getStateProof is generating proofs for last 62 blocks not more than that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta-feature-request Issues to track feature requests.
Projects
None yet
Development

No branches or pull requests

2 participants