From 922f45b30656ee272df512a72089cba02cce972e Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Thu, 19 Sep 2024 08:48:01 -0500 Subject: [PATCH] fix: fix typo in migration guide for hh (#225) # Description - should be upgradeBeacon instead of upgradeProxy ## Linked Issues ## Additional context --- .../00.build/40.tooling/20.hardhat/20.migrating-to-zksync.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); ```