We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 725cc15 commit ffc19c3Copy full SHA for ffc19c3
src/libraries/TwabLib.sol
@@ -1,8 +1,6 @@
1
// SPDX-License-Identifier: MIT
2
pragma solidity ^0.8.19;
3
4
-import "forge-std/console2.sol";
5
-
6
import "ring-buffer-lib/RingBufferLib.sol";
7
8
import { ObservationLib, MAX_CARDINALITY } from "./ObservationLib.sol";
@@ -252,10 +250,8 @@ library TwabLib {
252
250
if (_targetTime < PERIOD_OFFSET) {
253
251
return 0;
254
}
255
- console2.log("lastObservationAt", lastObservationAt(PERIOD_LENGTH, PERIOD_OFFSET));
256
// if this is for an overflowed time period, return 0
257
if (isShutdownAt(_targetTime, PERIOD_LENGTH, PERIOD_OFFSET)) {
258
- console2.log("IS SHUTDOWN", _targetTime);
259
260
261
ObservationLib.Observation memory prevOrAtObservation = _getPreviousOrAtObservation(
0 commit comments