Skip to content

feat: add rpc endpoint eth_getProof#424

Merged
fmoletta merged 34 commits into
mainfrom
eth_getProof
Sep 20, 2024
Merged

feat: add rpc endpoint eth_getProof#424
fmoletta merged 34 commits into
mainfrom
eth_getProof

Conversation

@fmoletta

@fmoletta fmoletta commented Sep 19, 2024

Copy link
Copy Markdown
Contributor

Add support for eth_getProof rpc endpoint

Closes #291

Base automatically changed from get_proof to main September 19, 2024 17:34
@fmoletta fmoletta changed the title feat: [WIP] add rpc endpoint eth_getProof feat: add rpc endpoint eth_getProof Sep 19, 2024
@fmoletta fmoletta marked this pull request as ready for review September 19, 2024 18:59
@fmoletta fmoletta requested a review from a team as a code owner September 19, 2024 18:59
Comment thread crates/storage/trie.rs
/// Obtain a merkle proof for the given path.
/// The proof will contain all the encoded nodes traversed until reaching the node where the path is stored (including this last node).
/// The proof will still be constructed even if the path is not stored in the trie, proving its absence.
#[allow(unused)]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but it is used now, right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes!

@fmoletta fmoletta added this pull request to the merge queue Sep 20, 2024
Merged via the queue into main with commit 39a9a9e Sep 20, 2024
@fmoletta fmoletta deleted the eth_getProof branch September 20, 2024 14:21
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

Successfully merging this pull request may close these issues.

Implement eth_getProof RPC endpoint

2 participants