Skip to content

Commit

Permalink
test: replace contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Aug 2, 2024
1 parent 1299c30 commit d851389
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

0 comments on commit d851389

Please sign in to comment.