Skip to content
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

Allow wider range of RoundTimingInfo parameters, add validation, fix tests #2775

Merged

Conversation

Tristan-Wilson
Copy link
Member

@Tristan-Wilson Tristan-Wilson commented Nov 7, 2024

This PR fixes the places in Timeboost that only allowed certain RoundTimingInfo parameters (ie round time 1 minute). Now there is a wider range of acceptable values, with validation.

This PR also fixes some unit tests that were broken.

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Nov 7, 2024
Tristan-Wilson and others added 4 commits November 7, 2024 14:39
Put round check first. This fixes a test and it makes sense to let the
caller know they were sending submissions for the wrong round, before
telling them there was no controller for the current round.
@Tristan-Wilson Tristan-Wilson changed the title Express lane timeboost input validation Allow wider range of RoundTimingInfo parameters, add validation, fix tests Nov 8, 2024
@Tristan-Wilson Tristan-Wilson marked this pull request as ready for review November 8, 2024 14:31
@Tristan-Wilson Tristan-Wilson merged commit 287f74a into express-lane-timeboost Nov 20, 2024
7 of 9 checks passed
@Tristan-Wilson Tristan-Wilson deleted the express-lane-timeboost-input-validation branch November 20, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant