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

Update the beacon and state network content key prefixes #1950

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

kdeme
Copy link
Contributor

@kdeme kdeme commented Dec 19, 2023

The Portal specifications were adjusted so that the content key prefixes become unique selectors over all networks.

Fixes issue #1924

SSZ Union is still used, but it could be that in the future we need to move to our own custom serialization here.

The unused enum value and the fact that we have to add these to the case of is quite annoying but unless we stop using a case object seems not avoidable.

The Portal specifications were adjusted so that the content key
prefixes become unique selectors over all networks.

Fixes issue #1924

SSZ Union is still used, but it could be that in the future we
need to move to our own custom serialization here.

The unused enum value and the fact that we have to add these to
the case of is quite annoying but unless we stop using a case
object seems not avoidable.
@kdeme kdeme requested a review from mynameisdaniil December 19, 2023 16:14
@kdeme kdeme merged commit dded864 into master Dec 19, 2023
21 checks passed
@kdeme kdeme deleted the update-content-key-prefixes branch December 19, 2023 18:59
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.

2 participants