File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -385,14 +385,14 @@ contract OracleWriterTest is BaseTest {
385
385
_stepTime (12 );
386
386
lCP.sync ();
387
387
lSP.sync ();
388
- Observation memory lObsCP0 = _oracleCaller.observation (lCP, 0 );
389
388
Observation memory lObsCP1 = _oracleCaller.observation (lCP, 1 );
390
- Observation memory lObsSP0 = _oracleCaller.observation (lSP, 0 );
389
+ Observation memory lObsCP2 = _oracleCaller.observation (lCP, 2 );
391
390
Observation memory lObsSP1 = _oracleCaller.observation (lSP, 1 );
391
+ Observation memory lObsSP2 = _oracleCaller.observation (lSP, 2 );
392
392
uint256 lUncompressedPriceCP =
393
- LogCompression.fromLowResLog ((lObsCP1 .logAccRawPrice - lObsCP0 .logAccRawPrice) / 12 );
393
+ LogCompression.fromLowResLog ((lObsCP2 .logAccRawPrice - lObsCP1 .logAccRawPrice) / 12 );
394
394
uint256 lUncompressedPriceSP =
395
- LogCompression.fromLowResLog ((lObsSP1 .logAccRawPrice - lObsSP0 .logAccRawPrice) / 12 );
395
+ LogCompression.fromLowResLog ((lObsSP2 .logAccRawPrice - lObsSP1 .logAccRawPrice) / 12 );
396
396
assertEq (lUncompressedPriceCP, lUncompressedPriceSP);
397
397
}
398
398
You can’t perform that action at this time.
0 commit comments