diff --git a/content/00.build/40.tooling/20.hardhat/20.migrating-to-zksync.md b/content/00.build/40.tooling/20.hardhat/20.migrating-to-zksync.md index cde9101a..51f92a43 100644 --- a/content/00.build/40.tooling/20.hardhat/20.migrating-to-zksync.md +++ b/content/00.build/40.tooling/20.hardhat/20.migrating-to-zksync.md @@ -405,7 +405,7 @@ await boxV2.waitForDeployment(); ```typescript [hardhat-zksync-upgradeable] const upgradableProxyAddress = "UPGRADEABLE_PROXY_ADDRESS"; const boxV2ContractFactory = await hre.ethers.getContractFactory("BoxV2"); -const boxV2 = await hre.upgrades.upgradeProxy(upgradableProxyAddress, boxV2ContractFactory); +const boxV2 = await hre.upgrades.upgradeBeacon(upgradableProxyAddress, boxV2ContractFactory); await boxV2.waitForDeployment(); ```