-
Notifications
You must be signed in to change notification settings - Fork 14
chore: Generate ABIs #272
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
chore: Generate ABIs #272
Conversation
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.
Pull Request Overview
This PR adds a new Hardhat task to automatically generate Application Binary Interface (ABI) files for smart contracts. The task compiles and extracts ABI information from contracts, organizing them into a structured directory hierarchy for easier consumption by frontend applications and development tools.
- Adds "abis" script to package.json that runs the new Hardhat task
- Integrates ABI generation into the build process by chaining it with compilation
- Creates a comprehensive ABI generation task that filters and organizes contract ABIs
Reviewed Changes
Copilot reviewed 60 out of 64 changed files in this pull request and generated no comments.
File | Description |
---|---|
package.json | Adds "abis" script and integrates ABI generation into build process |
hardhat.config.ts | Implements new "abis" task for generating contract ABI files |
abis/**/*.json | Generated ABI files for various contract interfaces and implementations |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #272 +/- ##
==========================================
+ Coverage 83.66% 84.83% +1.17%
==========================================
Files 38 37 -1
Lines 1218 1240 +22
Branches 227 235 +8
==========================================
+ Hits 1019 1052 +33
+ Misses 199 188 -11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Pull Request Overview
Copilot reviewed 63 out of 284 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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
npx hardhat compile
call.