diff --git a/contracts/v4-patch/PatchProposal.sol b/contracts/v4-patch/PatchProposal.sol index 43808a6..74302df 100644 --- a/contracts/v4-patch/PatchProposal.sol +++ b/contracts/v4-patch/PatchProposal.sol @@ -17,7 +17,7 @@ import { RelayerRegistry } from "./RelayerRegistry.sol"; */ contract PatchProposal { // Address of the staking proxy - address public constant stakingProxyAddress = 0x2FC93484614a34f26F7970CBB94615bA109BB4bf; + address public constant oldStakingProxyAddress = 0x2FC93484614a34f26F7970CBB94615bA109BB4bf; // Address of the registry proxy address public constant registryProxyAddress = 0x58E8dCC13BE9780fC42E8723D8EaD4CF46943dF2; @@ -49,7 +49,7 @@ contract PatchProposal { /// @notice Function to execute the proposal. function executeProposal() external { // Get the old staking contract - TornadoStakingRewards oldStaking = TornadoStakingRewards(stakingProxyAddress); + TornadoStakingRewards oldStaking = TornadoStakingRewards(oldStakingProxyAddress); // Get the small amount of TORN left oldStaking.withdrawTorn(TORN.balanceOf(address(oldStaking))); @@ -59,7 +59,7 @@ contract PatchProposal { deployedRelayerRegistryImplementationAddress ); - // Now upgrade the governance to the latest stuff + // Now upgrade the governance implementation to the vulnerability resistant one LoopbackProxy(governanceProxyAddress).upgradeTo( address( new GovernancePatchUpgrade(