Skip to content
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

feat: added hardhat-abi-exporter plugin to generate ABI-only artifacts on compile #698

Merged
merged 3 commits into from
Mar 6, 2024

Conversation

quiet-node
Copy link
Member

@quiet-node quiet-node commented Mar 5, 2024

Description:

  • installed hardhat-abi-exporter plugin
  • configured the plugin to automatically generate ABI-only artifacts on compile
  • added a new folder contracts-abi which contains the new ABI-only artifacts

Related issue(s):

Partially Fixes #692

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@quiet-node quiet-node self-assigned this Mar 5, 2024
@quiet-node quiet-node requested a review from a team as a code owner March 5, 2024 20:12
@quiet-node quiet-node requested a review from lukelee-sl March 5, 2024 20:12
Copy link
Contributor

@acuarica acuarica left a comment

Choose a reason for hiding this comment

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

lgtm

Comment on lines +12 to +13
contracts-abi/*
!contracts-abi/contracts
Copy link
Contributor

Choose a reason for hiding this comment

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

small nit, does it make sense to exclude OpenZeppelin's ABI directly?

Suggested change
contracts-abi/*
!contracts-abi/contracts
contracts-abi/@openzeppelin

Copy link
Member Author

Choose a reason for hiding this comment

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

I think the main purpose is to showcase the ABIs of contracts in our repo. So I think leaving OZ's ABI out won't really be a big deal.

@quiet-node quiet-node merged commit 236445b into main Mar 6, 2024
23 of 24 checks passed
@quiet-node quiet-node deleted the 692.p3-simplifying-contract-artifacts branch March 6, 2024 20:01
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.

Simplifying Contract Artifacts
2 participants