-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add Hardhat Ignition to hardhat-toolbox #4655
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🦋 Changeset detectedLatest commit: 26720f8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
kanej
added
status:ready
This issue is ready to be worked on
and removed
status:triaging
labels
Dec 15, 2023
kanej
reviewed
Jan 9, 2024
The rest of the version changes will happen with changeset application. Also update some of the test fixture projects that don't seem to update when the changeset is applied.
Co-authored-by: Luis Schaab <[email protected]>
We don't show Ignition in tests in the sample.
It will be installed because both `hardhat-ignition-ethers and `hardhat-ignition-viem` have it as a dep.
Move to `v0.15.0` to get create2 support.
Viem requires `5.0.4` or greater, but we should allow higher minor versions in the peer deps for projects pulling in the viem toolbox.
Chai's proxy behaviour is causing an issue. A version bump fixed this previously but it has come back. I am switching to a simpler revert for now.
This will bring in bug fixes from EDR.
I have run the e2e tests locally. They are failing due to the new toolboxes not being in npm. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates the
@nomicfoundation/hardhat-toolbox
and@nomicfoundation/hardhat-toolbox-viem
packages to include Hardhat Ignition.This includes
hardhat-toolbox
andhardhat-toolbox-viem
A sibling PR to update hardhat-boilerplate has also been opened.
resolves NomicFoundation/hardhat-ignition#614
resolves NomicFoundation/hardhat-ignition#613
Manual Testing Instructions
To manually create HH projects with the new toolbox:
pnpm install
npx changeset version
pnpm build
hardhat
to verdaccio:cd packages/hardhat-core pnpm publish --registry=http://localhost:4873/ --no-git-check
@nomicfoundation/hardhat-toolbox
to verdaccio:cd packages/hardhat-toolbox pnpm publish --registry=http://localhost:4873/ --no-git-check
@nomicfoundation/hardhat-toolbox-viem
to verdaccio:cd packages/hardhat-toolbox-viem pnpm publish --registry=http://localhost:4873/ --no-git-check
cd docs pnpm install pnpm dev
Questions and decisions
TODO
assert.isDefined
issue - see comment in PRignition
in tasks issue - see comment in PR