Skip to content

Commit 70c3939

Browse files
MathisGDRubilmaxMerlinEgalite
authored
docs: minor improvements
Co-authored-by: Romain Milon <[email protected]> Co-authored-by: Merlin Egalite <[email protected]> Signed-off-by: MathisGD <[email protected]>
1 parent df2ab52 commit 70c3939

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ChainlinkOracle.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ contract ChainlinkOracle is IChainlinkOracle {
5959
/// - The vault, if set, is ERC4626-compliant.
6060
/// @param baseVault Base vault. Pass address zero to omit this parameter.
6161
/// @param baseVaultConversionSample The sample amount of base vault shares used to convert to the underlying asset.
62-
/// Pass 1 if the oracle does not use a vault. Should be chosen such that converting `vaultConversionSample` to
62+
/// Pass 1 if the oracle does not use a base vault. Should be chosen such that converting `baseVaultConversionSample` to
6363
/// assets has enough precision.
6464
/// @param quoteVault Quote vault. Pass address zero to omit this parameter.
6565
/// @param quoteVaultConversionSample The sample amount of quote vault shares used to convert to the underlying

test/ChainlinkOracleTest.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ contract ChainlinkOracleTest is Test {
179179
new ChainlinkOracle(vaultZero, 1, sDaiVault, 0, daiEthFeed, feedZero, usdcEthFeed, feedZero, 18, 6);
180180
}
181181

182-
function testConstructorVaultZeroNonOneSample(uint256 vaultConversionSample) public {
182+
function testConstructorVaultZeroNotOneSample(uint256 vaultConversionSample) public {
183183
vaultConversionSample = bound(vaultConversionSample, 2, type(uint256).max);
184184

185185
vm.expectRevert(bytes(ErrorsLib.VAULT_CONVERSION_SAMPLE_IS_NOT_ONE));

0 commit comments

Comments
 (0)