-
Notifications
You must be signed in to change notification settings - Fork 160
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
Feat(hints) 55, 56 & 57 #1077
Merged
Merged
Feat(hints) 55, 56 & 57 #1077
Conversation
This file contains 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
jpcenteno
requested review from
igaray,
Oppen,
fmoletta,
entropidelic,
juanbono,
pefontana and
Juan-M-V
as code owners
April 26, 2023 20:19
Benchmark Results for unmodified programs 🚀
|
Codecov Report
@@ Coverage Diff @@
## main #1077 +/- ##
========================================
Coverage 98.12% 98.12%
========================================
Files 84 85 +1
Lines 34492 34618 +126
========================================
+ Hits 33844 33970 +126
Misses 648 648
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Also renamed: - `ASSIGN_PACK_MOD_SECP_PRIME_TO_X` -> `IS_ZERO_PACK_ED25519` - `ASSIGN_PACK_MOD_SECP_PRIME_TO_VALUE` -> `REDUCE_ED25519` - `ASSIGN_DIV_MOD_1_X_SECP_PRIME_TO_X_INV_AND_VALUE` -> `IS_ZERO_PACK_ED25519`
pefontana
requested changes
Apr 28, 2023
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.
Nice one!
fmoletta
reviewed
Apr 28, 2023
fmoletta
reviewed
Apr 28, 2023
fmoletta
reviewed
Apr 28, 2023
fmoletta
reviewed
Apr 28, 2023
fmoletta
reviewed
Apr 28, 2023
Co-authored-by: fmoletta <[email protected]>
- fix: `test_reduce_ed25519` wasn't being called in main of reduce.cairo - don't call `add_segments` macro when using `segments` - use `check_scope` instead of manual `assert_eq`s - change `run_program_simple_with_memory_holes(..., 0)` -> `run_program_simple`
Also allow trailing commas in `scope` macro
pefontana
approved these changes
Apr 28, 2023
MegaRedHand
added
the
whitelisted-hint
Implementation of hint on whitelist directory
label
Apr 28, 2023
fmoletta
approved these changes
Apr 28, 2023
kariy
pushed a commit
to dojoengine/cairo-rs
that referenced
this pull request
Jun 23, 2023
* Skeleton + hint55 implementation * Refactor * Implement hint66 * Hint 57 * Appease clippy * Fix: change SECP_P_V2 instead of SECP_P * Add integration tests Also renamed: - `ASSIGN_PACK_MOD_SECP_PRIME_TO_X` -> `IS_ZERO_PACK_ED25519` - `ASSIGN_PACK_MOD_SECP_PRIME_TO_VALUE` -> `REDUCE_ED25519` - `ASSIGN_DIV_MOD_1_X_SECP_PRIME_TO_X_INV_AND_VALUE` -> `IS_ZERO_PACK_ED25519` * Update changelog * Insert SECP_P to exec_scopes, and rename functions * Add call to `test_reduce_ed25519` on reduce.cairo Co-authored-by: fmoletta <[email protected]> * Apply changes requesed by @fmoletta - fix: `test_reduce_ed25519` wasn't being called in main of reduce.cairo - don't call `add_segments` macro when using `segments` - use `check_scope` instead of manual `assert_eq`s - change `run_program_simple_with_memory_holes(..., 0)` -> `run_program_simple` * Use `scope` macro instead of manual build Also allow trailing commas in `scope` macro * Add missing `check_scope` * Allow use of `scope` macro without args * Change `assert_matches`+`Ok` for `assert`+`is_ok` * Fix: remove unused import --------- Co-authored-by: Tomás <[email protected]> Co-authored-by: Tomás <[email protected]> Co-authored-by: fmoletta <[email protected]> Co-authored-by: Pedro Fontana <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Feat(hints) 55, 56 & 57
Description
Implement
NewHint#55
fromvrf.json
Implement
NewHint#56
fromvrf.json
Implement
NewHint#57
fromvrf.json
Closes: #979
Checklist