-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feature -- Create Missing Artifacts #2
Feature -- Create Missing Artifacts #2
Conversation
…here is an entry for it in the networks file
… against the output directory (which will have all of the input dir's updated artifacts if any existed)
@chuckbergeron Could you close and reopen this one? Github seems to think there are way more changes |
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.
Few minor things, otherwise it looks good to me
Ah- also maybe add a mention in the readme that input artifacts aren't strictly needed. Perhaps something like 'merge into existing Truffle artifacts or create new ones'. Maybe even a short section? |
…g apply-registry generate the artifacts for you to readme
@asselstine Readme updated and Promises converted to async/await ! |
This will generate any artifact files in the output artifacts directory which did not exist in the input artifacts directory.
For instance, if the input directory has a 'Migrations.json' artifact, and a networks file has contract addresses for 'Migrations' and 'SimpleToken', then the output artifact directory will have both artifacts for 'Migrations' and 'SimpleToken'.
This is useful when you manually add contract addresses (possibly which others have deployed to testnets, mainnets, etc) to a networks file and want to consume addresses in the artifacts files.