From cb91b1ce7e246b47966705fdbf9008f9a621f91f Mon Sep 17 00:00:00 2001 From: Yohan9206 Date: Fri, 1 Aug 2025 09:19:02 +0300 Subject: [PATCH] trying to deploy again --- hardhat/scripts/deploy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardhat/scripts/deploy.js b/hardhat/scripts/deploy.js index e0c4a28f5f..b984cef268 100644 --- a/hardhat/scripts/deploy.js +++ b/hardhat/scripts/deploy.js @@ -10,7 +10,7 @@ async function main() { const Lock = await ethers.getContractFactory("Lock", deployer); const lock = await Lock.deploy(unlockTime); - await lock.deployed(); + await lock.waitForDeployment(); console.log("Lock deployed to:", lock.address); }