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

Calculate actual receiptsRoot when possible #2667

Open
Tracked by #2380
georgi-l95 opened this issue Jul 3, 2024 · 0 comments
Open
Tracked by #2380

Calculate actual receiptsRoot when possible #2667

georgi-l95 opened this issue Jul 3, 2024 · 0 comments
Labels
dev tools Features enabling dev tool integration enhancement New feature or request

Comments

@georgi-l95
Copy link
Collaborator

georgi-l95 commented Jul 3, 2024

Problem

Currently when we return block information, we don't include actual receiptsRoot, this is because Hedera is not using Merkle Patricia trie. However this can be easly calucalted during processing of the request. Returning real receiptsRoot can help tools, as well as help developers use merkle proofs of inclusion.

Solution

Taking a look at how calculating receiptsRoot is done in the javascript execution client for ethereum can help us do it here as well. More information about the implementation can be found here.

@georgi-l95 georgi-l95 added enhancement New feature or request dev tools Features enabling dev tool integration labels Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev tools Features enabling dev tool integration enhancement New feature or request
Projects
Status: Sprint Backlog
Development

No branches or pull requests

1 participant