Skip to content

Commit

Permalink
chore: export ABIs in the compile step
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.
  • Loading branch information
scheibinger committed Feb 21, 2024
1 parent 2cd4bc5 commit 5418875
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 5418875

Please sign in to comment.