Denote that created Registry is an implementation
This commit is contained in:
parent
7b7063e1d2
commit
13dfe5e065
@ -74,8 +74,8 @@ contract PatchProposal {
|
|||||||
proposalContractsFactory.createStakingRewards(address(governance), address(TORN), registry)
|
proposalContractsFactory.createStakingRewards(address(governance), address(TORN), registry)
|
||||||
);
|
);
|
||||||
|
|
||||||
// And a new registry
|
// And a new registry implementation
|
||||||
address newRegistryAddress = proposalContractsFactory.createRegistryContract(
|
address newRegistryImplementationAddress = proposalContractsFactory.createRegistryContract(
|
||||||
address(TORN),
|
address(TORN),
|
||||||
address(governance),
|
address(governance),
|
||||||
ensAddress,
|
ensAddress,
|
||||||
@ -84,7 +84,7 @@ contract PatchProposal {
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Upgrade the registry proxy
|
// Upgrade the registry proxy
|
||||||
Proxy(registry).upgradeTo(newRegistryAddress);
|
Proxy(registry).upgradeTo(newRegistryImplementationAddress);
|
||||||
|
|
||||||
// Now upgrade the governance to the latest stuff
|
// Now upgrade the governance to the latest stuff
|
||||||
LoopbackProxy(payable(governance)).upgradeTo(address(new GovernancePatchUpgrade(address(newStaking), gasComp, vault)));
|
LoopbackProxy(payable(governance)).upgradeTo(address(new GovernancePatchUpgrade(address(newStaking), gasComp, vault)));
|
||||||
|
Loading…
Reference in New Issue
Block a user