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

Adding support for loading JSON DepositTreeSnapshot #7808

Merged
merged 1 commit into from
Dec 10, 2023

Conversation

lucassaldanha
Copy link
Member

@lucassaldanha lucassaldanha commented Dec 10, 2023

PR Description

This change adds a fallback option of trying to deserialize the bytes for a deposit tree snapshot as json when SSZ deserialization fails.

There is an outstanding question about using the internal bundled deposit tree snapshot as a fallback when loading from file/URL fails. But this can be addressed as a separate PR as it will likely require extra changes.

Fixed Issue(s)

fixes #7806

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

Copy link
Contributor

@rolfyone rolfyone left a comment

Choose a reason for hiding this comment

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

LGTM

@lucassaldanha lucassaldanha merged commit 9e06357 into Consensys:master Dec 10, 2023
4 checks passed
@lucassaldanha lucassaldanha deleted the teku-7806 branch January 12, 2024 00:48
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.

Deposit snapshot feature doesn't support some of the public endpoints
2 participants