Skip to content

Commit

Permalink
chore: export ABIs in the compile step (#12083)
Browse files Browse the repository at this point in the history
By default ABIs where not exported in the compile step.
Updated the dir path to fetch ABIs from the target location used by prepublish script.

Co-authored-by: chainchad <[email protected]>
  • Loading branch information
scheibinger and chainchad committed Feb 22, 2024
1 parent d6883f4 commit 0a09cfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ subtask(TASK_COMPILE_SOLIDITY_GET_SOURCE_PATHS).setAction(
let config = {
abiExporter: {
path: './abi',
runOnCompile: true,
},
paths: {
artifacts: './artifacts',
Expand Down
2 changes: 1 addition & 1 deletion contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"files": [
"src/v0.8",
"abi/src/v0.8"
"abi/v0.8"
],
"pnpm": {
"_comment": "See https://github.com/ethers-io/ethers.js/discussions/2849#discussioncomment-2696454",
Expand Down

0 comments on commit 0a09cfb

Please sign in to comment.