Skip to content

Commit d7f31d6

Browse files
committed
Fix deployment
1 parent 6c64506 commit d7f31d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
require('dotenv/config.js');
55
const { z } = require('zod');
66

7-
const addressRegex = /(^|\b)(0x)?[0-9a-fA-F]{64}(\b|$)/;
7+
const addressRegex = /(^|\b)(0x)?[0-9a-fA-F]{40}(\b|$)/;
88
const privateKeyRegex = /(^|\b)(0x)?[0-9a-fA-F]{64}(\b|$)/;
99

1010
const envSchema = z.object({

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": "hardhat ignition deploy ignition/modules/DataProtectorSharingModule.cts",
12+
"deploy": "hardhat ignition deploy ignition/modules/DataProtectorSharingModule.cts --strategy create2",
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)