-
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
common: move description string from being an object field to a comment #3500
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, one step further please, so the v
(+ the surrounding dict) should be killed completely! 🙂
Can you also please post a set of pre and post work numbers here so that we always have these comparison values in the PRs themselves? (Simply the two files sizes in KB pre/post should be enough in this case I guess) |
…to common-descriptions-refactor
It seems like some tests from other packages that directly access the
Before: 187.4kb I wasn't able to import the |
I wasn't able to locally recreate any of the failing vm-api or test-wallet tests, so I just triggered a rerun to double check the CI results. Update 1: The wallet tests now pass, so those failures seem to have been intermittent, but the vm-api tests still fail on CI and pass locally. Update 2: I tracked down all failing tests but one to a reference to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, cool, that we have a fix here!
Will merge.
This change is inspired by #3448 and refactors the following files by removing any description string fields and instead including them as comments to reduce code size:
eips.ts
hardforks.ts