-
Notifications
You must be signed in to change notification settings - Fork 782
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
Implement EIP 1186 #1180
Implement EIP 1186 #1180
Conversation
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. |
Didn't dig deeper here (sorry, didn't answer on your initial question on this yet), but do you know that this functionality exists? |
Yep, this PR internally calls into it. The goal of this PR is to implement the EIP and to actually export the merkle proofs as specified in the EIP, and also open it as endpoint in the client. Based upon the EIP, it might be that our current proofs are not valid (not sure yet). |
Rebased this. |
Ok, this has gotten some renewed interest with a concrete use case. 😄 Lion from ChainSafe asked in the #lightclient R&D Discord channel on this, functionality would be needed to complement to Lightclient functionality in Lodestar, here some extract from the chat:
@jochem-brouwer I took another look into the code base since I wanted to determine if we really need to expose this through the Independently from the TODO list above (would say we do not need to also implement the I guess we want to integrate this in a way into the |
Closing this in favor of #1590. Note: the name has changed since the EIP is stagnant and also not up to date, the goal is to implement the eth_getProof RPC endpoint in the client. |
Closes #1078. Implements EIP1186
TODOs
verifyProof
fromtrie
returnsnull
(probably edge case; only happens on empty tries)