Skip to content

Commit

Permalink
fix: Make new impl constant
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmtzinf committed Dec 6, 2023
1 parent 24a3f7d commit 1f653e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ contract DeployEthereum is EthereumScript {

function run() external broadcast {
// deploy payloads
AaveV3Ethereum_GhoIncidentReport_20231113 payload = new AaveV3Ethereum_GhoIncidentReport_20231113(
NEW_VGHO_IMPL
);
AaveV3Ethereum_GhoIncidentReport_20231113 payload = new AaveV3Ethereum_GhoIncidentReport_20231113();

// compose action
IPayloadsControllerCore.ExecutionAction[]
Expand Down Expand Up @@ -47,7 +45,7 @@ contract CreateProposal is EthereumScript {
// create proposal
vm.startBroadcast();
GovV3Helpers.createProposal2_5(
vm,
vm,
payloads,
GovV3Helpers.ipfsHashFile(
vm,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ import {AaveV3Ethereum, AaveV3EthereumAssets} from 'aave-address-book/AaveV3Ethe
* - Discussion: https://governance.aave.com/t/arfc-gho-technical-incident-13-11-2023/15642
*/
contract AaveV3Ethereum_GhoIncidentReport_20231113 {
address public immutable NEW_VGHO_IMPL;

constructor(address newVGhoImpl) {
NEW_VGHO_IMPL = newVGhoImpl;
}
address public constant NEW_VGHO_IMPL = 0x20Cb2f303EDe313e2Cc44549Ad8653a5E8c0050e;

function execute() external {
AaveV3Ethereum.POOL_CONFIGURATOR.updateVariableDebtToken(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ contract AaveV3Ethereum_GhoIncidentReport_20231113_Test is ProtocolV3TestBase {

function setUp() public {
vm.createSelectFork(vm.rpcUrl('mainnet'), 18722500);
proposal = new AaveV3Ethereum_GhoIncidentReport_20231113(NEW_VGHO_IMPL);
proposal = new AaveV3Ethereum_GhoIncidentReport_20231113();
}

function test_defaultProposalExecution() public {
Expand Down

0 comments on commit 1f653e9

Please sign in to comment.