Skip to content

Commit 0c843c6

Browse files
committed
Use hardhat-helper's task to prepare artifacts
The prepare artifacts task was defined inside a plugin to use it across other projects.
1 parent 302d96e commit 0c843c6

File tree

3 files changed

+6
-60
lines changed

3 files changed

+6
-60
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
"test:system": "NODE_ENV=system-test hardhat test ./test/system/*.test.js",
3030
"postinstall": "./scripts/prepare-dependencies.sh $INIT_CWD",
3131
"prepack": "tsc -p tsconfig.export.json && hardhat export-artifacts export/artifacts",
32-
"prepublishOnly": "./scripts/prepare-artifacts.sh --network $npm_config_network"
32+
"prepublishOnly": "hardhat prepare-artifacts --network $npm_config_network"
3333
},
3434
"devDependencies": {
35-
"@keep-network/hardhat-helpers": "^0.4.1-pre.2",
35+
"@keep-network/hardhat-helpers": "^0.6.0-pre.8",
3636
"@keep-network/prettier-config-keep": "github:keep-network/prettier-config-keep#d6ec02e",
3737
"@nomiclabs/hardhat-ethers": "^2.0.2",
3838
"@nomiclabs/hardhat-waffle": "^2.0.1",

scripts/prepare-artifacts.sh

-54
This file was deleted.

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -564,10 +564,10 @@
564564
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45"
565565
integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
566566

567-
"@keep-network/hardhat-helpers@^0.4.1-pre.2":
568-
version "0.4.1-pre.2"
569-
resolved "https://registry.yarnpkg.com/@keep-network/hardhat-helpers/-/hardhat-helpers-0.4.1-pre.2.tgz#4c03b7bf52d28378383dbcbd94d9fd3dc3bfbf70"
570-
integrity sha512-Mkgy4yD3ZVvyDshejFLTJU2+APX0w1RL9CFDH5P8ulhlzuSfwr07oo7VO2Bqw4WUuM879Rmfnmy1Ffwn/tnzyQ==
567+
"@keep-network/hardhat-helpers@^0.6.0-pre.8":
568+
version "0.6.0-pre.8"
569+
resolved "https://registry.yarnpkg.com/@keep-network/hardhat-helpers/-/hardhat-helpers-0.6.0-pre.8.tgz#6e0722889a0132dabed5182fb32f6424ff4a77d0"
570+
integrity sha512-51oLHceBubutBYxfVk2pLjgyhvpcDC1ahKM3V9lOiTa9lbWyY18Dza7rnM9V04kq+8DbweQRM0M9/f+K26nl9g==
571571

572572
"@keep-network/keep-core@>1.8.1-dev <1.8.1-pre":
573573
version "1.8.1-dev.0"

0 commit comments

Comments
 (0)