From 13dfe5e065f8fa80082be660caa64cb6744ccf4a Mon Sep 17 00:00:00 2001 From: AlienTornadosaurusHex <> Date: Mon, 22 May 2023 18:30:25 +0000 Subject: [PATCH] Denote that created Registry is an implementation --- contracts/v4-patch/PatchProposal.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/v4-patch/PatchProposal.sol b/contracts/v4-patch/PatchProposal.sol index 0e9202f..b4a1fc4 100644 --- a/contracts/v4-patch/PatchProposal.sol +++ b/contracts/v4-patch/PatchProposal.sol @@ -74,8 +74,8 @@ contract PatchProposal { proposalContractsFactory.createStakingRewards(address(governance), address(TORN), registry) ); - // And a new registry - address newRegistryAddress = proposalContractsFactory.createRegistryContract( + // And a new registry implementation + address newRegistryImplementationAddress = proposalContractsFactory.createRegistryContract( address(TORN), address(governance), ensAddress, @@ -84,7 +84,7 @@ contract PatchProposal { ); // Upgrade the registry proxy - Proxy(registry).upgradeTo(newRegistryAddress); + Proxy(registry).upgradeTo(newRegistryImplementationAddress); // Now upgrade the governance to the latest stuff LoopbackProxy(payable(governance)).upgradeTo(address(new GovernancePatchUpgrade(address(newStaking), gasComp, vault)));