-
Notifications
You must be signed in to change notification settings - Fork 13
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
Assorted hints2 #305
base: main
Are you sure you want to change the base?
Assorted hints2 #305
Conversation
Codecov Report
@@ Coverage Diff @@
## main #305 +/- ##
==========================================
- Coverage 56.11% 56.10% -0.01%
==========================================
Files 48 48
Lines 6239 6402 +163
==========================================
+ Hits 3501 3592 +91
- Misses 2390 2444 +54
- Partials 348 366 +18
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
execScopes.AssignOrUpdateVariable("value", value) | ||
|
||
val := memory.NewMaybeRelocatableFelt(flag) | ||
idsData.Insert("flag", val, vm) |
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.
Handle this error
} | ||
y := yUnpacked.Pack86() | ||
|
||
res, _ := math_utils.DivMod(&x1, &y, &p) |
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.
Dont ignore the error
func limbsFromVarName(nLimbs int, name string, ids IdsManager, vm *VirtualMachine) ([]Felt, error) { | ||
func LimbsFromVarName(nLimbs int, name string, ids IdsManager, vm *VirtualMachine) ([]Felt, error) { |
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.
Don't expose it, create a BigInt5 wrapper instead
No description provided.