Skip to content
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

[#530] Added BigIntPackDivmod and BigIntSafeDiv hints #613

Merged
merged 14 commits into from
Jul 30, 2024

Conversation

adrianvrj
Copy link
Contributor

@adrianvrj adrianvrj commented Jul 26, 2024

Closes #530

Copy link
Member

@TAdev0 TAdev0 left a comment

Choose a reason for hiding this comment

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

hi @adrianvrj,

could you copy paste this file:

https://github.com/lambdaclass/cairo-vm/blob/db7fff18c9c1312024ebf4119fcdfeba23657b12/cairo_programs/bigint.cairo#L30

in cairo_zero_hint_tests folder ? so that we make sure our vm produces the same trace and memory as the python one when we run a cairo file that uses your 2 hints.

Also could you add units tests for your hint? You can take inspiration with other hints

pkg/hintrunner/zero/zerohint_ec.go Outdated Show resolved Hide resolved
pkg/hintrunner/zero/zerohint_ec.go Outdated Show resolved Hide resolved
pkg/hintrunner/zero/zerohint_ec.go Outdated Show resolved Hide resolved
pkg/hintrunner/zero/zerohint_ec.go Outdated Show resolved Hide resolved
@adrianvrj adrianvrj requested a review from TAdev0 July 29, 2024 18:23
pkg/hintrunner/zero/zerohint_ec.go Outdated Show resolved Hide resolved
pkg/hintrunner/zero/zerohint_ec.go Outdated Show resolved Hide resolved
@adrianvrj adrianvrj requested a review from TAdev0 July 29, 2024 18:42
@adrianvrj adrianvrj requested a review from TAdev0 July 30, 2024 14:32
pkg/hintrunner/zero/zerohint_ec.go Outdated Show resolved Hide resolved
pkg/hintrunner/zero/zerohint_ec.go Outdated Show resolved Hide resolved
pkg/hintrunner/zero/zerohint_ec.go Outdated Show resolved Hide resolved
pkg/hintrunner/zero/zerohint_ec.go Outdated Show resolved Hide resolved
@TAdev0 TAdev0 merged commit 8301506 into NethermindEth:main Jul 30, 2024
4 checks passed
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.

BigIntPackDivmod + BigIntSafeDiv hints (ec hints)
2 participants