Skip to content

Commit

Permalink
feat: update deployProxy script
Browse files Browse the repository at this point in the history
  • Loading branch information
igorsenych-cw committed Nov 12, 2024
1 parent cd0be3b commit c5afd76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deployProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ async function main() {
const factory = await ethers.getContractFactory(CONTRACT_NAME);
const proxy = await upgrades.deployProxy(factory);

await proxy.deployed();
await proxy.waitForDeployment();

console.log("Proxy deployed:", proxy.address);
console.log("Proxy deployed:", await proxy.getAddress());
}

main().then().catch(err => {
Expand Down

0 comments on commit c5afd76

Please sign in to comment.