diff --git a/scripts/deployForChainSpec.ts b/scripts/deployForChainSpec.ts index 1ab5d04..2ae0478 100644 --- a/scripts/deployForChainSpec.ts +++ b/scripts/deployForChainSpec.ts @@ -50,6 +50,10 @@ async function compileProxy() { constructor: proxyDeployTX.data }; + if (!fs.existsSync("out")) { + fs.mkdirSync("out"); + } + fs.writeFileSync("out/spec_dao.json", JSON.stringify(spec)); //spec[]