Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
deploy payload, update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
defijesus committed Oct 9, 2023
1 parent a495ec8 commit 8b5fb39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ contract AaveV3_Ethereum_FundGHOLiquidityCommittee_20230926_Test is ProtocolV3Te
AaveV3_Ethereum_FundGHOLiquidityCommittee_20230926 internal proposal;

function setUp() public {
vm.createSelectFork(vm.rpcUrl('mainnet'), 18222341);
proposal = new AaveV3_Ethereum_FundGHOLiquidityCommittee_20230926();
vm.createSelectFork(vm.rpcUrl('mainnet'), 18314069);
proposal = AaveV3_Ethereum_FundGHOLiquidityCommittee_20230926(0x5F8Cb9A8e12377aAe2f534813c51eEC7e36D2772);
}

function testProposalExecution() public {
Expand All @@ -31,7 +31,7 @@ contract AaveV3_Ethereum_FundGHOLiquidityCommittee_20230926_Test is ProtocolV3Te
// proxy contracts addresses are deterministic, they could be derived via code.
// I simulated execution and copy pasted the address for simplicity
// see https://etherscan.io/address/0x11C76AD590ABDFFCD980afEC9ad951B160F02797#code#L878
address daiMilkmanCreatedContract = 0x2414B7eDd549E62e8a5877b73D96C80bAbC30bca;
address daiMilkmanCreatedContract = 0x3Df592eae98c2b4f312ADE339C01BBE2C8444618;

AaveV3_Ethereum_FundGHOLiquidityCommittee_20230926 payload = new AaveV3_Ethereum_FundGHOLiquidityCommittee_20230926();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ contract DeployEthereum is EthereumScript {
contract CreateProposal is EthereumScript {
function run() external broadcast {
GovHelpers.Payload[] memory payloads = new GovHelpers.Payload[](1);
payloads[0] = GovHelpers.buildMainnet(address(0)); // TODO
payloads[0] = GovHelpers.buildMainnet(0x5F8Cb9A8e12377aAe2f534813c51eEC7e36D2772);
GovHelpers.createProposal(
payloads,
GovHelpers.ipfsHashFile(
Expand Down

0 comments on commit 8b5fb39

Please sign in to comment.