Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/oracles/providers/CurveV2CryptoEthOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ contract CurveV2CryptoEthOracle is SystemComponent, SecurityBase, ISpotPriceOrac
* @notice Allows owner of system to register a pool.
* @dev While the reentrancy check implemented in this contact can technically be used with any token,
* it does not make sense to check for reentrancy unless the pool contains ETH, WETH, ERC-677, ERC-777 tokens,
* as the known Curve reentrancy vulnerability only works when the caller recieves these tokens.
* as the known Curve reentrancy vulnerability only works when the caller receives these tokens.
* Therefore, reentrancy checks should only be set to `1` when these tokens are present. Otherwise we
* waste gas claiming admin fees for Curve.
* @dev Converts any pool tokens that are the Eth pointer address to weth. Even if pools actually hold Eth,
Expand Down
2 changes: 1 addition & 1 deletion test/unit/stats/bridged/BridgedLSTCalculator.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ contract BridgedLSTCalculatorTests is Test {
testCalculator.onMessageReceive(keccak256("LST_SNAPSHOT"), 1, message);

stats = testCalculator.current();
assertEq(stats.discountHistory[0], 5e5); // the discount when the contract was initalized() was 5%
assertEq(stats.discountHistory[0], 5e5); // the discount when the contract was initialized() was 5%
verifyDiscountTimestampByPercent(timestamps[0], stats.discountTimestampByPercent);
}

Expand Down