Skip to content

Commit 5c9abf8

Browse files
committed
fix: Update salt value in ignition strategy configuration and add TODO for dynamic handling based on environment
1 parent d20efb2 commit 5c9abf8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ module.exports = {
140140
},
141141
ignition: {
142142
strategyConfig: {
143+
//TODO: Handle salt dynamically depending on the network and the dev/prod environment
143144
create2: {
144145
salt: "0x0100001000010000100010000100000000100001000000000100000000000003",
145146
},

packages/smart-contract/hardhat.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,11 @@ const config: HardhatUserConfig = {
8080
enabled: true,
8181
},
8282
// Create2 deployments: it use crateX factory to deploy the contract
83+
//TODO: Handle salt dynamically depending on the network and the dev/prod environment
8384
ignition: {
8485
strategyConfig: {
8586
create2: {
86-
salt: '0xd1f3b9e19ca957891c30907967c28afbcb1c15085a051f8946e4f7038c4b3a79',
87+
salt: '0x15687ade6b13dd23b6410e059fce02263e68e1af5ee0cf426798f4616f74f8aa',
8788
},
8889
},
8990
},

0 commit comments

Comments
 (0)