-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Baseline Callback Fixes #24
Conversation
revert Callback_Params_InvalidPoolTargetTick(anchorRangeLower, anchorRangeUpper); | ||
} | ||
poolTargetTick = cbData.poolTargetTick; | ||
|
||
// Set the anchor range |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another useful check would be to ensure the pools active tick == poolTargetTick
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but should be fine without it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be DoS'd by moving it prior to auction creation, which is the same reason we pass it in instead of reading from the pool.
All tests passing |
forge fmt
changes)