Closed cicr99 closed 3 months ago
Hello @cicr99! Hope you are doing well! I can help with this issue if it is possible
Hey @danielcdz! Thanks for showing interest. We've created an application for you to contribute to Cairo VM in Go. Go check it out on OnlyDust!
Currently the
hintrunner
package handles the building of map for the hints for Cairo zero. In the case of Cairo 1, the hints are a lot easier to parse from the compiled output. Let's take this one as an example:Notice they are already named, so there's no need to match the hint against the code string as in previous version. The input parameters for the hint execution already match the hint structures we have implemented for this version (see TestLessThanOrEquals structure for reference) and the types of the parameters already comply with the current implementation for
operanders
.Task: Create a method similar to
GetZeroHints
to produce themap[uint64][]hinter.Hinter
on account of the program version being used.