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

Make zkp_body_root available to light clients #3124

Closed
paberr opened this issue Nov 21, 2024 · 1 comment
Closed

Make zkp_body_root available to light clients #3124

paberr opened this issue Nov 21, 2024 · 1 comment
Labels
enhancement New feature or request WASM

Comments

@paberr
Copy link
Member

paberr commented Nov 21, 2024

Light clients in the browser are slowed down by the decision to move the Validators object into the header as they now need to compute the pk-tree root instead of taking it out of the header.
#3121 addressed this partially by improving the caching of the block hash.
However, it would be even better if we could make the zkp_body_root available to light clients.

@paberr
Copy link
Member Author

paberr commented Nov 22, 2024

Light nodes are using the validators during macro sync to verify subsequent blocks. So, we should actually check this hash.

@paberr paberr closed this as completed Nov 22, 2024
@sisou sisou closed this as not planned Won't fix, can't repro, duplicate, stale Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request WASM
Projects
None yet
Development

No branches or pull requests

2 participants