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

all: cross fork monolith-types #9

Merged
merged 12 commits into from
Sep 17, 2024
Merged

all: cross fork monolith-types #9

merged 12 commits into from
Sep 17, 2024

Conversation

karalabe
Copy link
Owner

Support type systems that have monolith types in them (i.e. when one type is used to encode/decode across multiple forks with different schema definitions). This is probably not needed for new code bases, but for existing ones like go-ethereum with it's monolith types, it helps to avoid adapters.

The PR defines all the forks that have happened on Ethereum mainnet and allows SSZ types to introspect the current fork context during encoding/decoding/hashing/sizing. The code generator also supports precomputing sizes across all forks.

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@karalabe karalabe added this to the 0.3.0 milestone Jul 26, 2024
@karalabe karalabe merged commit 15a90a9 into main Sep 17, 2024
4 checks passed
@karalabe karalabe deleted the fork-monoliths branch September 18, 2024 12:12
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