Skip to content

Commit a505bd1

Browse files
committed
fmt
1 parent a90bc8d commit a505bd1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/morpho-pyth/interfaces/IMorphoPythOracleFactory.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ interface IMorphoPythOracleFactory {
4343
/// @param quoteFeed2 Second quote feed. Pass bytes32(0) if the price = 1. We recommend using stablecoin feeds
4444
/// instead of passing 1.
4545
/// @param quoteTokenDecimals Quote token decimals.
46-
/// @param priceFeedMaxAge The maximum age in seconds for the oracles prices to be considered valid. We have only one price feed max age for all price feed.
46+
/// @param priceFeedMaxAge The maximum age in seconds for the oracles prices to be considered valid. We have only
47+
/// one price feed max age for all price feed.
4748
/// @param salt The salt to use for the CREATE2.
4849
/// @dev The base asset should be the collateral token and the quote asset the loan token.
4950
function createMorphoPythOracle(

test/MorphoPythOracleTest.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ contract MorphoPythOracleTest is Test {
9494
);
9595
}
9696

97-
function testPriceFeedAgeValidation() public {
97+
function testPriceFeedAgeValidation() public {
9898
// This should work - price is current
9999
uint256 price = oracle.price();
100100
assertTrue(price > 0);
101101
}
102102

103-
function testPriceFeedStalePrice() public {
103+
function testPriceFeedStalePrice() public {
104104
vm.warp(block.timestamp + oneMinute + 1);
105105
// This should revert due to stale price
106106
vm.expectRevert(bytes4(0x19abf40e)); // StalePrice error

0 commit comments

Comments
 (0)