Skip to content

Conversation

@mmsc2
Copy link
Contributor

@mmsc2 mmsc2 commented Sep 28, 2023

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Sep 28, 2023

Codecov Report

Merging #305 (3e1cb06) into main (8c01a73) will decrease coverage by 0.01%.
The diff coverage is 56.28%.

@@            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     
Files Coverage Δ
pkg/hints/hint_processor.go 89.18% <100.00%> (+0.48%) ⬆️
pkg/hints/hint_utils/bigint_utils.go 0.00% <0.00%> (ø)
pkg/hints/hint_utils/secp_utils.go 0.00% <0.00%> (ø)
pkg/hints/math_hints.go 53.49% <35.00%> (-1.84%) ⬇️
pkg/hints/bigint_hint.go 58.57% <62.60%> (+12.14%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mmsc2 mmsc2 linked an issue Sep 29, 2023 that may be closed by this pull request
@mmsc2 mmsc2 marked this pull request as ready for review September 29, 2023 18:01
execScopes.AssignOrUpdateVariable("value", value)

val := memory.NewMaybeRelocatableFelt(flag)
idsData.Insert("flag", val, vm)
Copy link
Contributor

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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dont ignore the error


// Generic methods for all types
func limbsFromVarName(nLimbs int, name string, ids IdsManager, vm *VirtualMachine) ([]Felt, error) {
func LimbsFromVarName(nLimbs int, name string, ids IdsManager, vm *VirtualMachine) ([]Felt, error) {
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Assorted Hints (2/4)

3 participants