-
Notifications
You must be signed in to change notification settings - Fork 36
Target 0xMiden Plonky3 repo and use AirScriptAir and AirScriptBuilder traits #508
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
94350e8
feat: target latest commit on 0xMiden/Plonky3 main branch
Leo-Besancon 69626dd
fix: AirBuilder::Var is now Clone, not Copy
Leo-Besancon 4138e94
feat: Update to target AirScriptAir and AirScriptBuilder traits
Leo-Besancon 2b44fbf
refactor: Make AirScriptAir dyn compatible, clean code
Leo-Besancon cbea42d
feat: handle aux trace
Leo-Besancon 30e4b07
tests: update winterfell E2E test following change
Leo-Besancon 0633eeb
chore: fix tests
Leo-Besancon 1c8c54a
chore(tests): move air-script/tests codegen and helpers into src/test…
Leo-Besancon de9088a
tests: add codegen script to help update all e2e tests
Leo-Besancon d81248b
refactor: review comments
Leo-Besancon 1e71f68
chore: fmt + test fixes
Leo-Besancon e2f86e9
refactor: reverse the roles of alpha and beta, fix permutation_random…
Leo-Besancon 94df522
fix: Use slash for unix path in `scripts/generate_all_e2e_tests.sh`
Leo-Besancon b4c3cda
fix: Change all the backslash..
Leo-Besancon d09e0ff
chore: remove unneeded print
Leo-Besancon 5f2f351
tweak: Only use extension field of degree 2 for testing
Soulthym 06cd71e
docs: comment num_beta_challenges
Soulthym 871058c
refactor: rename num_beta_challenges -> max_beta_challenge_power
Soulthym 7f02a2a
docs: comment tweak + added TODOs
Soulthym 1d14475
refactor: avoid leaking extension field degree
Soulthym bdcd45d
chores: make lint
Soulthym a2bcabd
Use Plonky3 super trait (#515)
Leo-Besancon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,8 @@ | ||
| pub use air_codegen_winter::CodeGenerator as WinterfellCodeGenerator; | ||
| pub use air_ir::{Air, CompileError, compile}; | ||
| pub use air_parser::{parse, parse_file, transforms}; | ||
|
|
||
| #[cfg(test)] | ||
| pub mod test_utils; | ||
| #[cfg(test)] | ||
| mod tests; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
air-script/tests/codegen/helpers.rs → air-script/src/test_utils/codegen.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| /// Macros to generate Air tester structs and tests for both Plonky3 and Winterfell backends. | ||
| pub mod air_tester_macros; | ||
| /// Code generation for tests/**/*.air files. | ||
| pub mod codegen; | ||
| /// Plonky3-specific traits, to be moved to 0xMiden/Plonky3 once stabilized. | ||
| pub mod plonky3_traits; | ||
| /// Winterfell-specific traits | ||
| pub mod winterfell_traits; |
Oops, something went wrong.
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.
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.
nit: it is probably enough to use just degree 2 here making things lighter, though it shouldn't matter really
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.
fixed in 5f2f351