-
Notifications
You must be signed in to change notification settings - Fork 759
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
Implement the NumericString type accross the monorepo #3659
Comments
Hey @gabrocheleau, can I work on this issue? |
Hi Mukul, So, to give you a bit more context: the issue is about this NumericString type, newly introduced to our The issue here is labeled as "good first issue", but I am not totally sure on this TBH or so at least its not totally trivial to find all the places where this is applicable, so this needs some solid knowledge of the code base/libraries or some good detective capabilities. 😂 If you want to take on maybe start with a first PR with only a handful of changes, than we can review and give feedback and we can see if you are on a good track! 🙂 Also to note: these changes will be breaking (not backwards compatible) on a TypeScript level, this is ok though since we are currently preparing for breaking releases with the work we are doing on our |
Hey @MukulKolpe ! Nice that you want to take this on :) As Holger mentioned, we are in the process of refining types accross de monorepo, and we've done so notably with the PrefixedHexString type. We recently added the NumericString type (https://github.com/ethereumjs/ethereumjs-monorepo/blob/master/packages/util/src/types.ts#L26) and implemented it in a few places (most notably here: https://github.com/ethereumjs/ethereumjs-monorepo/blob/master/packages/block/src/from-beacon-payload.ts#L35) but we have not taken the time to look through the monorepo for other opportunities to implement it. How I would recommend approaching this is going through the Thanks again for tackling this! |
Thank you, @gabrocheleau, @holgerd77, for sharing the context. I appreciate your insights and will let you know if I encounter any issues. |
Hi @MukulKolpe, are you still planning to take on this issue or should we distribute/take on within the team? |
Hi @holgerd77, sorry for the delay. I'll have the PR ready shortly. |
We have recently added a NumericString type (
${number}
). I have only implemented it in a single location, but there are most likely other opportunities to implement it accross the monorepo.The text was updated successfully, but these errors were encountered: