-
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
ignition: port hardhat-ignition-ethers
to Hardhat 3
#6290
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
hardhatTotal size of the bundle: List of dependencies (sorted by size)
|
This is a mechanical move, no other changes are present.
Pull across the same changes as seen in `hardhat-ignition-viem` Ignition helper.
This is a mechanical application.
This is matching the same patterns as the `hardhat-ignition-viem` companion plugin.
The interface matches the `EthersIgnitionHelper`. The same impl and interface distinction as in `hardhat-ignition-viem` has been put in place. The interface is available in public, the impl has been moved to internal.
To support imports at `@ignored/hardhat-vnext-ignition`, ignition was add to the dev dependencies as well.
Until tests are ported to Node Test Runner.
b8e7b05
to
266132d
Compare
v-next/hardhat/templates/02-mocha-ethers/scripts/deploy-rocket-from-script.ts
Show resolved
Hide resolved
In `hardhat-ignition-viem` it was identified that we should use the network config of the connection itself. This is because network config can be overriden at the point the connection is created.
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.
Left some minor comments, but LGTM
Migrate hardhat-ignition-ethers to Hardhat 3.
Preview
Review Questions
import { buildModule } from "@ignored/hardhat-vnext-ignition/modules";
in the Mocha/Ethers template without eslint error required adding@ignored/hardhat-vnext-ignition
as a dev dependencyManual run through
The
hardhat-ignition-viem
plugin has been added to the Hardhat templates (it will clash if added to the example project). There is also a script to show a deployment and demonstrate the returned types. To run the script:TODO
connection.ignition
based on Hook systemFollow up tasks