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

`WriteToNthStructField` function is currently defined in Hinter package in _operand.go_ file. This is not the right place for this function, which writes some value to memory. Nothing related to operands....

enhancement
good first issue
Difficulty: easy
Duration: under a day

`WriteUint256ToAddress` function is currently defined in Hinter package in operand.go file. This is not the right place for this function, which writes some uint256 value to a specified memory address....

enhancement
good first issue
Difficulty: easy
Duration: under a day

- Move WriteUint256ToAddress from hinter package to memory package - Move WriteToNthStructField from hinter package to memory package - IMPORTANT NOTE: I know that i dont have to move WriteToNthStructField...

This PR is for the issue Builtins Documentation #326. Adding a complete documentation to understand how builtins works on cairo virtual machine and how bulitins perform complex operations at the...

### What does this PR do? - Resolves BigInt3 structure ### Related Issues? - Resolves #346

In `./pkg/hintrunner/utils/secp_utils.go` there are utilities for elliptic curves. They used `big.Int` unnecessarily because all values are smaller than 2**256 - 1. The task is to replace all use of `big.Int`...

Difficulty: easy
Duration: under a day
optimization

Searches for the first element in a sorted array that is greater than or equal to a given key and returns its index. Reference: https://github.com/starkware-libs/cairo-lang/blob/efa9648f57568aad8f8a13fbf027d2de7c63c2c0/src/starkware/cairo/common/find_element.cairo#L76 Depends on #245 for accessing...

vm hint
cairo zero
Difficulty: intermediate
Duration: few days
ODHack

## Implement Cairo0 isQuadResidue hint #243 This hint checks if an input value `x` is a quadratic residue and calculates its square root. If x is not a quadratic residue,...

blocked

Currently the ScopeManager contains a `map[string]any` to represent a scope, where the `key` is the name of the variables present in the scope and the `value` would be the value...

good first issue
Duration: under a day