-
-
Notifications
You must be signed in to change notification settings - Fork 327
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
Remove fork designation and fork guard aliases #7183
Comments
Related #7011 |
What's the reason we want to wait for 2.0 to make this change? Seems to me is just a straightforward refactor in the code. Unless this feature is notable enough that we want to promote it as part of 2.0 launch |
we should avoid breaking changes to |
how is a renaming of functions related to unit tests passing? |
Adding |
why? we still have blobs, the only place we use columns instead are on p2p
hmm I am not sure if I understand what you mean here but in general can't you just use |
**Motivation** Start of resolution to #7183. Driven by peerDAS branch. `isForkBlobs` is not longer semantically correct in `fulu` because that branch does not have blobs, it has columns. Is the first major feature that was removed so the types/typeguard naming semantics we were using kinda broke. Updated to reflect pre/post fork instead of post"Feature". **Description** Rename pre/post fork names and type guards. --------- Co-authored-by: Nico Flaig <[email protected]>
Renaming has been done in #7441, we can keep this issue open to remove the aliases in our 2.0 release. |
Remove fork designation and fork guard aliases
lodestar/packages/params/src/forkName.ts
Lines 97 to 101 in 7347056
Changes below have been implemented by #7441
Somehing we should consider for the 2.0 release is to rename pre / post fork types as current semantics are confusing and require feature awareness of each fork instead of just knowing about the fork name itself, and order of forks, which is simple since it's alphabetical.
e.g.
ForkPreBlobs
-->ForkPreDeneb
ForkBlobs
-->ForkPostDeneb
isForkBlobs
-->isForkPostDeneb
etc.
see https://github.com/ChainSafe/lodestar/blob/unstable/packages/params/src/forkName.ts
The text was updated successfully, but these errors were encountered: