-
Notifications
You must be signed in to change notification settings - Fork 998
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
EIP-6475: Add SSZ Optional[T]
type (and drop selector byte in Union
None
case)
#3336
base: dev
Are you sure you want to change the base?
Conversation
Add specification for EIP-6475 support for SSZ. Remerkleable impl: https://eips.ethereum.org/assets/eip-6475/tests.py We could possibly change all planned usage of `Union` with `Optional`, and introduce the conceptually more complex `Union` once needed. `Optional` serialization can be more optimized than `Union`. Discussion: https://ethereum-magicians.org/t/eip-6475-ssz-optional/12891 This PR builds on prior work from: - @zah at ethereum#1916
I would like to update all Python @etan-status Thanks for adding |
Sure, I can open a PR against Remerkleable as well, once the specs are accepted. With the |
Optional[T]
typeOptional[T]
type (and drop selector byte in Union
None
case)
|
This comment was marked as spam.
This comment was marked as spam.
#3789 supersedes this, but as long as Verkle still depends on this PR here will leave this open. |
Add specification for EIP-6475 support for SSZ.
Remerkleable impl: https://eips.ethereum.org/assets/eip-6475/optional.py
Tests: https://eips.ethereum.org/assets/eip-6475/tests.py
We could possibly change all planned usage of
Union
withOptional
, and introduce the conceptually more complexUnion
once needed.Optional
serialization can be more optimized thanUnion
.Discussion: https://ethereum-magicians.org/t/eip-6475-ssz-optional/12891
This PR builds on prior work from: