cairo-vm is a Rust implementation of the Cairo VM. Cairo (CPU Algebraic Intermediate Representation) is a programming language for writing provable programs, where one party can prove to another that a certain computation was executed correctly without the need for this party to re-execute the same program.
Bug Description:
Encountering a compilation error during the sierra to casm compilation process in programs containing loops within the cairo-vmcairo1-run package. The error message indicates an InvocationError with the specific error being UnknownVariableData.
Full error message:
Bug Description: Encountering a compilation error during the
sierra
tocasm
compilation process in programs containing loops within thecairo-vm
cairo1-run
package. The error message indicates anInvocationError
with the specific error beingUnknownVariableData
. Full error message:How to Reproduce:
scarb
project.scarb build
cargo run (path to sierra) --layout all_cairo
It is important to note that if u
remove loop
from the above program thecairo1-run succeeds
to run itBranch and Commit: