You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get Error: VirtualMachine(FailedToComputeOperands(("op1", Relocatable { segment_index: 0, offset: 5271 }))) when executing a Cairo1 program using cairo1-run.
To Reproduce
Steps to reproduce the behavior:
Download attached lib.cairo file
Link corelib (e.g. ln -s $HOME/Library/Caches/com.swmansion.scarb/registry/std/v2.8.2/core corelib)
On the most recent commit 159f67d I got another error:
thread 'main' panicked at cairo-lang-lowering-2.9.0-dev.0/src/optimizations/const_folding.rs:555:13:
`bounded_int_is_zero` not found in `core::internal::bounded_int`.
UPD2
That was mismatched corelib version, should be 2.9.0
The text was updated successfully, but these errors were encountered:
The missing felts seem to be the problem: if I add them manually to the assembly everything works fine. It looks to be related to the constant segments.
Describe the bug
I get
Error: VirtualMachine(FailedToComputeOperands(("op1", Relocatable { segment_index: 0, offset: 5271 })))
when executing a Cairo1 program usingcairo1-run
.To Reproduce
Steps to reproduce the behavior:
ln -s $HOME/Library/Caches/com.swmansion.scarb/registry/std/v2.8.2/core corelib
)cairo1-run lib.cairo --layout recursive --args '[8 0 0 0 0 0 0 0 0 1718123181 4167220599 1821360523 2392821280 144118917 1860318131 2418694429 224340261]'
Expected behavior
The program should exit without errors (observed behavior with cairo-lang-runner)
What version/commit are you on?
3fb0344
Additional context
lib.cairo.txt
UPD
Minimal reproducible program (by @maciejka)
Error:
On the most recent commit 159f67d I got another error:
UPD2
That was mismatched
corelib
version, should be2.9.0
The text was updated successfully, but these errors were encountered: