-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Isolate the build-system package errors #5460
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@@ -231,21 +195,13 @@ Please add the property "type" with the value "module" in your package.json to e | |||
number: 100, | |||
messageTemplate: "An internal invariant was violated: {message}", | |||
websiteTitle: "Invariant violation", | |||
websiteDescription: `An internal invariant was violated. This is probably caused by a programming error in Hardhat or in one of the used plugins. | |||
|
|||
websiteDescription: `An internal invariant was violated. This is probably caused by a programming in Hardhat or in one of the used plugins. |
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.
you accidentally removed the word error
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.
Looks good, left just one small comment.
This PR removes the build system's descriptors to avoid copying over multiple unnecessary ones.
I did this by copying the required descriptors into the package itself and then deleting everything that was not needed. After removing many descriptors, I also had to reorder them. Reviewing commit by commit may be simpler.
Also, while fixing some errors, I ensured that we weren't using
assert.throws
orassert.rejects
with error messages. Because of that, too many tests were failing after this refactor.