diff --git a/scripts/simpledvt/02-clone-nor.js b/scripts/simpledvt/02-clone-nor.js index ec00743fc..515b282d6 100644 --- a/scripts/simpledvt/02-clone-nor.js +++ b/scripts/simpledvt/02-clone-nor.js @@ -389,10 +389,6 @@ async function deploySimpleDVT({ web3, artifacts, trgAppName = APP_TRG, ipfsCid } } - log.splitter() - await _pause() - log.splitter() - const newVoteEvmScript = encodeCallScript([ { to: voting.address, @@ -458,6 +454,9 @@ async function deploySimpleDVT({ web3, artifacts, trgAppName = APP_TRG, ipfsCid log(`Target App initialized`, yl(await trgApp.hasInitialized())) } else { + await _pause(mg('>>> Ready fo TX, enter Y to continue, interrupt process otherwise:')) + log.splitter() + const tx = await log.tx( `Voting: Clone app '${srcAppName}' to '${trgAppName}'`, tokenManager.forward(newVoteEvmScript, { from: deployer }) diff --git a/scripts/simpledvt/03-check-deployed.js b/scripts/simpledvt/03-check-deployed.js index b83fd09e1..d239ab10b 100644 --- a/scripts/simpledvt/03-check-deployed.js +++ b/scripts/simpledvt/03-check-deployed.js @@ -294,7 +294,7 @@ async function checkSimpleDVT({ web3, artifacts, trgAppName = APP_TRG, ipfsCid = from: stranger, gasPrice: 0, }) - await evmExecutor.executeEVMScript(evmScript) + await evmExecutor.executeEVMScript(evmScript, { gasPrice: 0 }) _checkEq(await trgApp.getNodeOperatorsCount(), 2, `Simulate init: operators count = 2`) // add keys to module for op1 (on behalf op1 reward addr)