@@ -92,17 +92,12 @@ const setup: SetupUpgradeFunc = async (addresses, oldContracts, contracts, loggi
9292 ) . to . be . equal ( addresses . balancerGaugeStakerImpl . toLowerCase ( ) ) ;
9393
9494 aaveEscrowDaiBefore = await contracts . dai . balanceOf ( addresses . aaveCompaniesDaiEscrowMultisig ) ;
95+
96+ // Assert that Aave Escrow multisig has 1M DAI being escrowed
97+ expect ( aaveEscrowDaiBefore ) . to . equal ( AAVE_DAI_ESCROW_AMOUNT ) ;
98+
9599 psmDaiBalanceBefore = await contracts . dai . balanceOf ( addresses . simpleFeiDaiPSM ) ;
96100 initialTribeRedeemerDai = await contracts . dai . balanceOf ( addresses . tribeRedeemer ) ;
97-
98- // 1. Mock Aave escrowing 1M DAI in escrow multisig
99- // TODO: Remove once AAVE Companies has escrowed DAI
100- const daiWhale = '0x5d3a536e4d6dbd6114cc1ead35777bab948e3643' ;
101- await forceEth ( daiWhale ) ;
102- const daiWhaleSigner = await getImpersonatedSigner ( daiWhale ) ;
103- await contracts . dai
104- . connect ( daiWhaleSigner )
105- . transfer ( addresses . aaveCompaniesDaiEscrowMultisig , AAVE_DAI_ESCROW_AMOUNT ) ;
106101} ;
107102
108103// Tears down any changes made in setup() that need to be
@@ -169,8 +164,8 @@ const validate: ValidateUpgradeFunc = async (addresses, oldContracts, contracts,
169164 const aaveEscrowDaiMultisigGain = ( await contracts . dai . balanceOf ( addresses . aaveCompaniesDaiEscrowMultisig ) ) . sub (
170165 aaveEscrowDaiBefore
171166 ) ;
172- // x2 as will have the AAVE DAI escrow and the TRIBE DAO DAI , which will later be moved to the redeemer
173- expect ( aaveEscrowDaiMultisigGain ) . to . equal ( AAVE_DAI_ESCROW_AMOUNT . mul ( 2 ) ) ;
167+ // Will have gained 1M DAI from the Tribe DAO PSM , which will later be moved to the redeemer
168+ expect ( aaveEscrowDaiMultisigGain ) . to . equal ( AAVE_DAI_ESCROW_AMOUNT ) ;
174169
175170 // Verify DAI PSM DAI balance decreased by expected 1M DAI
176171 const psmDaiBalanceDecrease = psmDaiBalanceBefore . sub ( await contracts . dai . balanceOf ( addresses . simpleFeiDaiPSM ) ) ;
0 commit comments