-
Notifications
You must be signed in to change notification settings - Fork 5
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
templatised foundry deploy script #43
Conversation
templates/extensions/foundry/packages/foundry/script/Deploy.s.sol.template.mjs
Outdated
Show resolved
Hide resolved
Ohh yeah thanks !, actually this bug was introduced in #38 and currently present In #38 we removed Fixed this at 8e2f18d by adding |
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.
Lgtm! Thank you!
Merging this, thanks !! 🙌 |
Description :
This will allow people to create extension's which adds new contract and also deployments for them.
To test :
Switch to this branch then:
Here is extension repo
Adding contracts and deployments in hardhat does not require any templatisation since we can create separate
01_deploy_..
file and main deploy script99_deploy...
will consider all the deployments.But in foundry this is not the case checkout this for more details