Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ async function main() {
const Storage = await ethers.getContractFactory(CONTRACT_NAME); // Use the global variable
const storage = await Storage.deploy();

await storage.deployed();
await storage.waitForDeployment();

console.log(
`${CONTRACT_NAME} deployed to ${storage.address}` // Use the global variable
`${CONTRACT_NAME} deployed to ${await storage.getAddress()}` // Use the global variable
);
}

Expand Down