-
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
Add missing methods to lambdaworks implementation #1290
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1290 +/- ##
==========================================
- Coverage 97.94% 97.90% -0.04%
==========================================
Files 89 89
Lines 35452 35465 +13
==========================================
Hits 34723 34723
- Misses 729 742 +13
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Benchmark Results for unmodified programs 🚀
|
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'm ok with just returning an &[u8; 32] instead of vec. The main issue is that the name was modified and as a consequence it broke the interface.
So I think that another option can be to just change the name to the impl that returns a &[u8;32].
* Add `From<&Big(U)Int>` to lw-felt * Move comments out of `FeltOps` and remove trait
Did some changes. The diff would be:
|
* Add missing methods to lambdaworks impl * Remove `modpow` and `to_signed_bytes_le` from lw-felt * Add `From<&Big(U)Int>` to lw-felt * Move comments out of `FeltOps` and remove trait * Fix build * Update changelog * Uncomment deprecated tags
* Add missing methods to lambdaworks impl * Remove `modpow` and `to_signed_bytes_le` from lw-felt * Add `From<&Big(U)Int>` to lw-felt * Move comments out of `FeltOps` and remove trait * Fix build * Update changelog * Uncomment deprecated tags
* Add missing methods to lambdaworks impl * Remove `modpow` and `to_signed_bytes_le` from lw-felt * Add `From<&Big(U)Int>` to lw-felt * Move comments out of `FeltOps` and remove trait * Fix build * Update changelog * Uncomment deprecated tags
* Add missing methods to lambdaworks impl * Remove `modpow` and `to_signed_bytes_le` from lw-felt * Add `From<&Big(U)Int>` to lw-felt * Move comments out of `FeltOps` and remove trait * Fix build * Update changelog * Uncomment deprecated tags
Description
This PR adds the missing methods on the LambdaWorks
Felt252
implementation and marks them as#[deprecated]
in both implementations.Checklist