Skip to content

Commit

Permalink
♻️ Refactor Deployment Scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Nov 24, 2023
1 parent e69f26e commit 69d2968
Show file tree
Hide file tree
Showing 4 changed files with 2,231 additions and 5,353 deletions.
5 changes: 4 additions & 1 deletion deploy/deploy-zksync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
import { HardhatRuntimeEnvironment } from "hardhat/types";
import { Wallet } from "zksync2-js";
import { Deployer } from "@matterlabs/hardhat-zksync-deploy";
import { delay } from "../scripts/deploy";

function delay(ms: number) {
return new Promise((resolve) => setTimeout(resolve, ms));
}

export default async function main(hre: HardhatRuntimeEnvironment) {
// Get the private key from the configured network
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"@typechain/hardhat": "^9.1.0",
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@types/node": "^20.9.4",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"chai": "^4.3.10",
Expand Down
Loading

0 comments on commit 69d2968

Please sign in to comment.