We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9480014 commit 0f8d2e1Copy full SHA for 0f8d2e1
test/invariant/DopplerInvariants.sol
@@ -122,8 +122,10 @@ contract DopplerInvariantsTest is BaseTest {
122
}
123
124
125
+ /// forge-config: default.invariant.fail-on-revert = true
126
function invariant_NoPriceChangesBeforeStart() public {
127
vm.warp(DEFAULT_STARTING_TIME - 1);
- assertEq(hook.getCurrentTick(poolId), DEFAULT_START_TICK);
128
+ // TODO: I think this test is broken because we don't set the tick in the constructor.
129
+ assertEq(hook.getCurrentTick(poolId), hook.getStartingTick());
130
131
0 commit comments