-
Notifications
You must be signed in to change notification settings - Fork 45
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
Merge feature branch for hardhat support #573
Conversation
Fix #196, part of #512, merge after #554. Refactor builder interface to separate code that loads artifacts, parses them and generates bindings into independent modules. Now code generation takes a reference to `Contract`, loading contracts from source is no longer builder's job. Additionally, `Builder` was renamed to `ContractBuilder` in anticipation that we will have `ArtifactBuilder` in the future. Also `ethcontract_generate::contract` was renamed to `ethcontract_generate::generate`. I can move these changes into separate pullrequests if anyone things it's necessary. Procedural macro will be updated later in #512.
Part of #563. Allow loading artifacts from hardhat deployments directory by scanning its contents and parsing all allowed contracts.
Part of #563. Add tests and example for hardhat drectory loader.
Replace temporary dev dependency with the released crate version.
Another option to filter out contracts with conflicting ABIs.
Fixed text style here and there, capitalized Etherscan and NPM, added readme for `hardhat` project and `generate` example.
This branch is rebased onto master. I want to merge it without squashing to preserve history. |
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.
Agree that we should merge without squashing. It looks like this is currently disabled for this repository but I think it makes sense in cases like this. Will see if I can enable it in the Github settings.
Edit: enabled it
Used github's rebase button, and now all my commits are listed as 'unverified' 😕 |
Well, no way to fix it now without force-pushing to main 😞 |
Note: with @nlordell's permission I've fixed commit signatures. |
Fix #512.