diff --git a/.gitignore b/.gitignore index 019fb9869..a17fd515f 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,7 @@ cypress/screenshots/ tests/e2e/reports/ **/tests/e2e/artifacts/ **/playbook/deployments-zk/ +**/playbook/typechain-types/ **/playbook/artifacts-zk/ **/playbook/artifacts/ **/playbook/buffer/ diff --git a/packages/integration-tests/src/playbook/contracts/Caller.sol b/packages/integration-tests/contracts_bkp/Caller.sol similarity index 100% rename from packages/integration-tests/src/playbook/contracts/Caller.sol rename to packages/integration-tests/contracts_bkp/Caller.sol diff --git a/packages/integration-tests/src/playbook/contracts/Greeter.sol b/packages/integration-tests/contracts_bkp/Greeter.sol similarity index 100% rename from packages/integration-tests/src/playbook/contracts/Greeter.sol rename to packages/integration-tests/contracts_bkp/Greeter.sol diff --git a/packages/integration-tests/src/playbook/contracts/InitialMultiTransfer.sol b/packages/integration-tests/contracts_bkp/InitialMultiTransfer.sol similarity index 100% rename from packages/integration-tests/src/playbook/contracts/InitialMultiTransfer.sol rename to packages/integration-tests/contracts_bkp/InitialMultiTransfer.sol diff --git a/packages/integration-tests/src/playbook/contracts/L1.sol b/packages/integration-tests/contracts_bkp/L1.sol similarity index 100% rename from packages/integration-tests/src/playbook/contracts/L1.sol rename to packages/integration-tests/contracts_bkp/L1.sol diff --git a/packages/integration-tests/src/playbook/contracts/Middle.sol b/packages/integration-tests/contracts_bkp/Middle.sol similarity index 100% rename from packages/integration-tests/src/playbook/contracts/Middle.sol rename to packages/integration-tests/contracts_bkp/Middle.sol diff --git a/packages/integration-tests/src/playbook/contracts/MyERC20.sol b/packages/integration-tests/contracts_bkp/MyERC20.sol similarity index 100% rename from packages/integration-tests/src/playbook/contracts/MyERC20.sol rename to packages/integration-tests/contracts_bkp/MyERC20.sol diff --git a/packages/integration-tests/src/playbook/contracts/MyNFT.sol b/packages/integration-tests/contracts_bkp/MyNFT.sol similarity index 100% rename from packages/integration-tests/src/playbook/contracts/MyNFT.sol rename to packages/integration-tests/contracts_bkp/MyNFT.sol diff --git a/packages/integration-tests/src/playbook/contracts/MyPaymaster.sol b/packages/integration-tests/contracts_bkp/MyPaymaster.sol similarity index 100% rename from packages/integration-tests/src/playbook/contracts/MyPaymaster.sol rename to packages/integration-tests/contracts_bkp/MyPaymaster.sol diff --git a/packages/integration-tests/src/playbook/contracts/Root.sol b/packages/integration-tests/contracts_bkp/Root.sol similarity index 100% rename from packages/integration-tests/src/playbook/contracts/Root.sol rename to packages/integration-tests/contracts_bkp/Root.sol diff --git a/packages/integration-tests/src/playbook/scenarios/deploy/deployERC20toL2.ts b/packages/integration-tests/src/playbook/scenarios/deploy/deployERC20toL2.ts index f7ebf8637..7ac4432c1 100644 --- a/packages/integration-tests/src/playbook/scenarios/deploy/deployERC20toL2.ts +++ b/packages/integration-tests/src/playbook/scenarios/deploy/deployERC20toL2.ts @@ -10,14 +10,14 @@ export const deployERC20toL2 = async function () { await helper.printLog(bufferFile); await helper.executeScript(`cd ${playbookRoot} && npm run compile`); - await helper.delay(1500); - // await helper.executeScript(`cd ${playbookRoot} && npm run deployToL2`); Test only compilation on CI // await helper.delay(1500); - // // await helper.executeScript(`cat ${bufferFile}`); - // await helper.printLog(`Return to the initial script: deployERC20toL2`); - // const deployedToken = await helper.getStringFromFile(bufferFile); - // await helper.printLog(`Before the latest PRINT in global`); - // await helper.printLog("The custom ERC20 token has been deployed to L2: " + Logger.textSeparator + deployedToken); - // await helper.printLog(`Before Return in global`); - // return deployedToken; + await helper.executeScript(`cd ${playbookRoot} && npm run deployToL2`); + // await helper.delay(1500); + // await helper.executeScript(`cat ${bufferFile}`); + await helper.printLog(`Return to the initial script: deployERC20toL2`); + const deployedToken = await helper.getStringFromFile(bufferFile); + await helper.printLog(`Before the latest PRINT in global`); + await helper.printLog("The custom ERC20 token has been deployed to L2: " + Logger.textSeparator + deployedToken); + await helper.printLog(`Before Return in global`); + return deployedToken; };