-
Notifications
You must be signed in to change notification settings - Fork 23
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
Praos headers validation properties and generators #1285
Merged
jasagredo
merged 11 commits into
IntersectMBO:main
from
abailly:abailly/generate-headers
Nov 14, 2024
Merged
Praos headers validation properties and generators #1285
jasagredo
merged 11 commits into
IntersectMBO:main
from
abailly:abailly/generate-headers
Nov 14, 2024
Commits on Nov 14, 2024
-
Provide first integrated tools and tests for header validation
* Provide base generator and mutations for headers, covering some parts related to KES header signature * Extract testable method from Protocol.Praos module * Add a property testing the consistency of validation logic with both valid and mutated headers * Add a command-line tool to generate JSON-formatted test vectors and validate them
Configuration menu - View commit details
-
Copy full SHA for a15fcc5 - Browse repository at this point
Copy the full SHA a15fcc5View commit details -
[wip] Make mutation depend on header to ensure consistency
some mutations are not possible for some content of the header, eg. if ocertN = 0 then it's not possible to generate a smaller expected value
Configuration menu - View commit details
-
Copy full SHA for e3cf89b - Browse repository at this point
Copy the full SHA e3cf89bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6c5f32 - Browse repository at this point
Copy the full SHA e6c5f32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86c337e - Browse repository at this point
Copy the full SHA 86c337eView commit details -
Remove unneeded imports and traces
also remove hardcoded maxKESEvo parameter from test run
Configuration menu - View commit details
-
Copy full SHA for 8516152 - Browse repository at this point
Copy the full SHA 8516152View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bd0a37 - Browse repository at this point
Copy the full SHA 5bd0a37View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2be80c - Browse repository at this point
Copy the full SHA b2be80cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76ceb6f - Browse repository at this point
Copy the full SHA 76ceb6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5eeeb2 - Browse repository at this point
Copy the full SHA c5eeeb2View commit details -
* remove changelog entry * add explicit export list * use generic JSON derivation
Configuration menu - View commit details
-
Copy full SHA for a0d5dd2 - Browse repository at this point
Copy the full SHA a0d5dd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0653bac - Browse repository at this point
Copy the full SHA 0653bacView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.