diff --git a/src/ReservoirPair.sol b/src/ReservoirPair.sol index 38052cc7..cbbc4d83 100644 --- a/src/ReservoirPair.sol +++ b/src/ReservoirPair.sol @@ -487,7 +487,7 @@ abstract contract ReservoirPair is IAssetManagedPair, ReservoirERC20 { string internal constant MAX_CHANGE_RATE_NAME = "Shared::maxChangeRate"; string internal constant ORACLE_CALLER_NAME = "Shared::oracleCaller"; - Observation[65_536] internal _observations; + mapping(uint16 => Observation) internal _observations; // maximum allowed rate of change of price per second // to mitigate oracle manipulation attacks in the face of post-merge ETH