Skip to content

Conversation

zguesmi
Copy link
Member

@zguesmi zguesmi commented Oct 3, 2025

  • ABIs are automatically updated with each npx hardhat compile call.

@zguesmi zguesmi self-assigned this Oct 3, 2025
@zguesmi zguesmi requested review from Copilot, Le-Caignec and gfournieriExec and removed request for Le-Caignec October 3, 2025 12:53
Copy link
Contributor

@Copilot Copilot AI left a 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.

Copy link

codecov bot commented Oct 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.83%. Comparing base (f7c634b) to head (bb1b0ed).
⚠️ Report is 12 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@zguesmi zguesmi marked this pull request as ready for review October 3, 2025 14:05
Copy link
Contributor

@Copilot Copilot AI left a 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.

Copy link
Contributor

@Le-Caignec Le-Caignec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zguesmi zguesmi merged commit d75e65e into main Oct 3, 2025
5 checks passed
@zguesmi zguesmi deleted the feat/generate-abis branch October 3, 2025 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants