-
Notifications
You must be signed in to change notification settings - Fork 64
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
Validator cleanups #961
Validator cleanups #961
Conversation
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.
I don't see any red flags here, but the diff is impossible to read because many things were moved around. I would be great if you could also add a unit test for the newly created check.
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.
Co-authored-by: Soroush Bateni <soroosh129@gmail.com>
Co-authored-by: Soroush Bateni <soroosh129@gmail.com>
This does not fix #903. In fact, the check of STP still does not work (it didn't work before). Neither does the check for overflowing deadlines, which uses the same architecture. It needs to be a separate PR to fix those checks. This PR does not change any functionality at all. |
This PR cleans up LFValidator:
This should be merged quickly because of the major file structure reorganization, which will likely lead to conflicts.
There is only one minor functional change: The checkSTPOffset() method was not actually performing any check. Now it is (so there is a supporting change in ModelInfo).