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

Unique content key prefixes cross portal content networks #1924

Closed
kdeme opened this issue Dec 4, 2023 · 3 comments
Closed

Unique content key prefixes cross portal content networks #1924

kdeme opened this issue Dec 4, 2023 · 3 comments
Assignees
Labels

Comments

@kdeme
Copy link
Contributor

kdeme commented Dec 4, 2023

We need to implement this spec change: ethereum/portal-network-specs#233

@kdeme kdeme added the Fluffy label Dec 4, 2023
@kdeme kdeme self-assigned this Dec 4, 2023
@mynameisdaniil
Copy link
Contributor

Ultralight already did it: https://discord.com/channels/890617081744220180/890617082243350560/1182016810376253450 and they plan to enable it soon

@kdeme
Copy link
Contributor Author

kdeme commented Dec 7, 2023

they plan to enable it soon

That's fine. The ids for history network remain the same. The other networks are not really enabled yet for us (well state is enabled but no data is going around, I guess I could disable it).

kdeme added a commit that referenced this issue Dec 19, 2023
The Portal specifications where 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.
kdeme added a commit that referenced this issue Dec 19, 2023
The Portal specifications where 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 added a commit that referenced this issue 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.
@kdeme
Copy link
Contributor Author

kdeme commented Dec 22, 2023

Solved in #1950

@kdeme kdeme closed this as completed Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants