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

[WIP] Implement EIP-7495: StableContainer #16

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

macladson
Copy link
Member

@macladson macladson commented May 15, 2024

EIP: https://eips.ethereum.org/EIPS/eip-7495

See ssz_derive tests for example of ergonomics.

Outstanding Work

  • SSZ
    • Encode
      • StableContainer
      • Profile
    • Decode
      • StableContainer
      • Profile
  • TreeHash changes
    • StableContainer
    • Profile

Considerations

  • Does not touch the custom encoding/decoding implementation (for example when using #[ssz(with = "some_function")]) so these might not work as expected.
  • Need a more ergonomic way to restrict fields to Option.

@macladson macladson force-pushed the stable-container branch 3 times, most recently from 5165c33 to e8726dd Compare May 17, 2024 12:48
@macladson macladson changed the title [WIP] Implement EIP-7495: Stable Containers [WIP] Implement EIP-7495: StableContainer May 17, 2024
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.

1 participant