Skip to content

Commit 935744b

Browse files
committed
chore: format
1 parent a98d971 commit 935744b

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

test/WstEthEthExchangeRateChainlinkAdapterTest.sol

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,7 @@ contract WstEthEthExchangeRateChainlinkAdapterTest is Test {
1717
function setUp() public {
1818
vm.createSelectFork(vm.envString("ETH_RPC_URL"));
1919
oracle = new WstEthEthExchangeRateChainlinkAdapter(address(ST_ETH));
20-
chainlinkOracle = new ChainlinkOracle(
21-
vaultZero,
22-
oracle,
23-
feedZero,
24-
feedZero,
25-
feedZero,
26-
1,
27-
18,
28-
18
29-
);
20+
chainlinkOracle = new ChainlinkOracle(vaultZero, oracle, feedZero, feedZero, feedZero, 1, 18, 18);
3021
}
3122

3223
function testDecimals() public {
@@ -37,7 +28,6 @@ contract WstEthEthExchangeRateChainlinkAdapterTest is Test {
3728
assertEq(oracle.description(), "wstETH/ETH exchange rate");
3829
}
3930

40-
4131
function testDeployZeroAddress() public {
4232
vm.expectRevert(bytes(ErrorsLib.ZERO_ADDRESS));
4333
new WstEthEthExchangeRateChainlinkAdapter(address(0));

test/helpers/Constants.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ AggregatorV3Interface constant ethUsdFeed = AggregatorV3Interface(0x5f4eC3Df9cbd
2222
AggregatorV3Interface constant daiEthFeed = AggregatorV3Interface(0x773616E4d11A78F511299002da57A0a94577F1f4);
2323

2424
IERC4626 constant vaultZero = IERC4626(address(0));
25-
IERC4626 constant sDaiVault = IERC4626(0x83F20F44975D03b1b09e64809B757c47f942BEeA);
25+
IERC4626 constant sDaiVault = IERC4626(0x83F20F44975D03b1b09e64809B757c47f942BEeA);

0 commit comments

Comments
 (0)