Skip to content

Commit

Permalink
fix: local variable for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
CheyenneAtapour committed Aug 7, 2024
1 parent a03081b commit 64f1ae8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/test/TestGhoBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,13 @@ contract TestGhoBase is Test, Constants, Events {
STK_TOKEN = IStakedAaveV3(address(stkAaveProxy));
USDC_TOKEN = new TestnetERC20('USD Coin', 'USDC', 6, FAUCET);
USDC_4626_TOKEN = new MockERC4626('USD Coin 4626', '4626', address(USDC_TOKEN));
IPool iPool = IPool(address(POOL));
WETH = new WETH9Mock('Wrapped Ether', 'WETH', FAUCET);
GHO_DEBT_TOKEN = new GhoVariableDebtToken(IPool(address(POOL)));
GHO_STABLE_DEBT_TOKEN = new GhoStableDebtToken(IPool(address(POOL)));
GHO_ATOKEN = new GhoAToken(IPool(address(POOL)));
GHO_DEBT_TOKEN = new GhoVariableDebtToken(iPool);
GHO_STABLE_DEBT_TOKEN = new GhoStableDebtToken(iPool);
GHO_ATOKEN = new GhoAToken(iPool);
GHO_DEBT_TOKEN.initialize(
IPool(address(POOL)),
iPool,
address(GHO_TOKEN),
IAaveIncentivesController(address(0)),
18,
Expand All @@ -212,7 +213,7 @@ contract TestGhoBase is Test, Constants, Events {
empty
);
GHO_STABLE_DEBT_TOKEN.initialize(
IPool(address(POOL)),
iPool,
address(GHO_TOKEN),
IAaveIncentivesController(address(0)),
18,
Expand All @@ -221,7 +222,7 @@ contract TestGhoBase is Test, Constants, Events {
empty
);
GHO_ATOKEN.initialize(
IPool(address(POOL)),
iPool,
TREASURY,
address(GHO_TOKEN),
IAaveIncentivesController(address(0)),
Expand Down

0 comments on commit 64f1ae8

Please sign in to comment.