Skip to content

Commit e7393c7

Browse files
committed
Add create2 strategy to ignition config
1 parent 35307ba commit e7393c7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

packages/sharing-smart-contract/hardhat.config.cjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ module.exports = {
9090
},
9191
},
9292
},
93+
ignition: {
94+
strategyConfig: {
95+
create2: {
96+
salt: "0x0000000000000000000000000000000000000000000000000000000000000000",
97+
},
98+
},
99+
},
93100
dependencyCompiler: {
94101
paths: [
95102
'@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol',

packages/sharing-smart-contract/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"clean": "hardhat clean",
1010
"compile": "hardhat clean && hardhat compile && npm run artifact-to-abis",
1111
"verify": "hardhat verify",
12-
"deploy": "npm run compile && hardhat run ./scripts/deploy.js",
12+
"deploy": "hardhat ignition deploy ignition/modules/DataProtectorSharingModule.cts",
1313
"update-env": "hardhat run ./scripts/updateEnv.js",
1414
"upgrade": "hardhat run ./scripts/upgrade.js",
1515
"upgrade-local-fork": "mkdir -p .openzeppelin/local-fork && cp -r .openzeppelin/prod/. .openzeppelin/local-fork && MANIFEST_DEFAULT_DIR=.openzeppelin/local-fork ENV=prod hardhat run ./scripts/upgrade-local-fork.js",

0 commit comments

Comments
 (0)