NethermindEth / cairo-vm-go

A virtual machine for Cairo written in Go
MIT License
80 stars 49 forks source link

`DivModNSafeDivPlusOne` hint (ec hint) #527

Closed TAdev0 closed 1 month ago

TAdev0 commented 1 month ago

https://github.com/starkware-libs/cairo-lang/blob/0e4dab8a6065d80d1c726394f5d9d23cb451706a/src/starkware/starknet/security/whitelists/cairo_secp.json#L119

https://github.com/lambdaclass/cairo-vm/blob/db7fff18c9c1312024ebf4119fcdfeba23657b12/cairo_programs/div_mod_n.cairo#L29

danielcdz commented 1 month ago

Hello @TAdev0! I contributed in the past to this project, is this issue available to help you?

TAdev0 commented 1 month ago

hi @danielcdz sure go ahead :) dont hesitate if you have any question

danielcdz commented 1 month ago

For sure! thank you @TAdev0

danielcdz commented 1 month ago

@TAdev0 I opened this PR that solves this issue, I'm open to receive any feedback and any other test cases to include 🫡