Skip to content
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

Merged
merged 10 commits into from
Jul 1, 2024
Merged

Conversation

alcuadrado
Copy link
Member

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 or assert.rejects with error messages. Because of that, too many tests were failing after this refactor.

@alcuadrado alcuadrado added the v-next A Hardhat v3 development task label Jun 29, 2024
Copy link

vercel bot commented Jun 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2024 3:49pm

Copy link

changeset-bot bot commented Jun 29, 2024

⚠️ No Changeset found

Latest commit: 0344584

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Jun 29, 2024
@@ -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.
Copy link
Member

@schaable schaable Jul 1, 2024

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

Copy link
Member

@schaable schaable left a 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.

@alcuadrado alcuadrado merged commit 35583c9 into v-next Jul 1, 2024
45 checks passed
@alcuadrado alcuadrado deleted the isolate-build-system branch July 1, 2024 16:04
@schaable schaable mentioned this pull request Jul 2, 2024
3 tasks
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants