From 662b608a26afff8cdbe4331e5b25ca7042fa5b83 Mon Sep 17 00:00:00 2001 From: Theo Date: Sat, 27 May 2023 16:26:48 +0300 Subject: [PATCH] Replenish Governance Staking balance from Governance in proposal execution --- src/v4-patch/PatchProposal.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/v4-patch/PatchProposal.sol b/src/v4-patch/PatchProposal.sol index 29c821b..f39fd07 100644 --- a/src/v4-patch/PatchProposal.sol +++ b/src/v4-patch/PatchProposal.sol @@ -96,5 +96,8 @@ contract PatchProposal { // Now upgrade the governance to the latest stuff LoopbackProxy(payable(governance)).upgradeTo(address(new GovernancePatchUpgrade(address(newStaking), gasComp, vault))); + + // Return TORNs, which were withdrawn by bug, to Governance Staking contract + TORN.transfer(address(newStaking), 94_092 ether); } }