cairo-vm-go icon indicating copy to clipboard operation
cairo-vm-go copied to clipboard

A virtual machine for Cairo written in Go

Results 95 cairo-vm-go issues
Sort by recently updated
recently updated
newest added

documentation
ODHack

Right now it seems like the memory trace doesn't always have the highest memory address (index) in its last memory trace element. This is an assumption we make when decoding...

bug
Difficulty: hard
needs discussion

We may want to treat them as comments for now. Cairo1 compiler still produces inline-hints in some modes. Treating them as comments looks better than a parse failure. Here is...

needs discussion

Right now we are relaying on unit tests, but it would be good to check the result we are expecting is actually the correct one by also running `cairo-run` and...

needs discussion
blocked

Finalizes the KECCAK hash computation by concatenating memory elements and applying the KECCAK function. Reference: https://github.com/starkware-libs/cairo-lang/blob/efa9648f57568aad8f8a13fbf027d2de7c63c2c0/src/starkware/cairo/common/keccak.cairo#L81 > Note: This hint needs to implement `keccak` function which is also used in...

vm hint
cairo zero
Difficulty: hard
Duration: few days

Applies the KECCAK block permutation function to a segment of memory. Reference: https://github.com/starkware-libs/cairo-lang/blob/efa9648f57568aad8f8a13fbf027d2de7c63c2c0/src/starkware/cairo/common/cairo_keccak/keccak.cairo#L293

vm hint
cairo zero
Difficulty: intermediate
Duration: few days

Writes a new value to a dictionary at a specified key, and keeps track of the previous value. Reference: https://github.com/starkware-libs/cairo-lang/blob/efa9648f57568aad8f8a13fbf027d2de7c63c2c0/src/starkware/cairo/common/dict.cairo#L39

vm hint
cairo zero
Difficulty: easy
Duration: under a day
blocked

Executes the KECCAK hash function on input data, with size checks against a predefined maximum size. Reference: https://github.com/starkware-libs/cairo-lang/blob/efa9648f57568aad8f8a13fbf027d2de7c63c2c0/src/starkware/cairo/common/keccak.cairo#L16 Depends on #245 for handling `globals()`

vm hint
cairo zero
Difficulty: hard
Duration: few days

Currently we use the following logic for resolving BigInt3 structures: ``` valMemoryValues, err := hinter.GetConsecutiveValues(vm, valAddr, int16(3)) if err != nil { return err } // [d0, d1, d2] var...

good first issue
Duration: under a day