File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/sharing-smart-contract Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 44require ( 'dotenv/config.js' ) ;
55const { z } = require ( 'zod' ) ;
66
7- const addressRegex = / ( ^ | \b ) ( 0 x ) ? [ 0 - 9 a - f A - F ] { 64 } ( \b | $ ) / ;
7+ const addressRegex = / ( ^ | \b ) ( 0 x ) ? [ 0 - 9 a - f A - F ] { 40 } ( \b | $ ) / ;
88const privateKeyRegex = / ( ^ | \b ) ( 0 x ) ? [ 0 - 9 a - f A - F ] { 64 } ( \b | $ ) / ;
99
1010const envSchema = z . object ( {
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments