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

Cairo0 hint pow #306

Merged
merged 9 commits into from
Mar 29, 2024
Prev Previous commit
Next Next commit
Merge branch 'main' into cairo0_hint-pow
  • Loading branch information
MaksymMalicki committed Mar 28, 2024
commit c415b94c0f8c8396d504488bccea60cd7657a49e
7 changes: 7 additions & 0 deletions pkg/hintrunner/zero/zerohint.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ func GetHintFromCode(program *zero.ZeroProgram, rawHint zero.Hint, hintPC uint64
return createSplitIntHinter(resolver)
case powCode:
return createPowHinter(resolver)
case splitFeltCode:
return createSplitFeltHinter(resolver)
case sqrtCode:
return createSqrtHinter(resolver)
case unsignedDivRemCode:
return createUnsignedDivRemHinter(resolver)
// Uint256 hints
case uint256AddCode:
return createUint256AddHinter(resolver, false)
case uint256AddLowCode:
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.