-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: add fundamental types #1717
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #1717 +/- ##
==========================================
+ Coverage 71.87% 72.77% +0.89%
==========================================
Files 388 390 +2
Lines 46468 46710 +242
==========================================
+ Hits 33401 33994 +593
+ Misses 13067 12716 -351
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 44 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
This would make dependency hell if revm depends on reth that depends on revm. |
yeh, didn't think about that when discussing this with @prestwich main motivation for this is to provide a solid foundation for all types for revm,reth,ethers(migration away from primitive-types) Initially, I thought we need this for all the traits/codecs etc. but turns out we already have control over the rlp trait and can just solve this with features. So, I perhaps the better solution is to make revm-primitives the base crate for everything type related?
I think ruint has its own B256 type? |
Asked remco: recmo/uint#228 |
I think this gets resolved if we publish the types crate (which should be well-ossified) and stop depending on git versions for this crate. If revm and reth both depend on a published version of this types crate there should be no dep hell |
Let's avoid spending time on this as it's debt |
Some solution is a blocker for ethers, I think |
Yeh just referring to Reth team needs to focus on the missing feats right now, I think realistically once we're "live" we'll want to do a zoomed out pass from our side, but would like to protect our time in the next few coming weeks. Closing and will reopen then |
If the reth team doesn't have time to maintain core types relied on by ethers, revm, foundry, and others, maybe those types should be maintained by another org? |
What I mean is that we do want to maintain these types and gather everyone around them, but right now dont want to do this refactor because we're changing things across 5+ repos (incl. all the cryptography etc. version bumps). Just asking for some patience hehe |
making changes across 5+ repos without a commitment to fundamental shared types is how we got into this mess in the first place |
adds a new crate that provides types used by reth,revm,ethers
having this separately makes it easier to unify types.
roadmap
cc @prestwich