xJonathanLEI / starkli

Starkli (/ˈstɑːrklaɪ/), a ⚡ blazing ⚡ fast ⚡ CLI tool for Starknet powered by 🦀 starknet-rs 🦀
https://book.starkli.rs
Apache License 2.0
164 stars 47 forks source link

Got 'Unknown ap change' error while moving #73

Closed johnny24-dev closed 2 months ago

johnny24-dev commented 7 months ago

I can't declare contract

Sierra compiler version not specified. Attempting to automatically decide version to use... Network detected: goerli. Using the default compiler version for this network: 2.4.0. Use the --compiler-version flag to choose a different version. Declaring Cairo 1 class: 0x02ae888dcb47377c1e8bf5a1353004a0ba9f22ba577c0c57258fb93fbe0b57bd Compiling Sierra class to CASM with compiler version 2.4.0... Error: #4402->#4403: Got 'Unknown ap change' error while moving [32].

using : strkli 0.2.5 , scarb 2.5.4 (28dee92c8 2024-02-14) cairo: 2.5.4 (https://crates.io/crates/cairo-lang-compiler/2.5.4) sierra: 1.4.0

xJonathanLEI commented 7 months ago

Have you tried adding --compiler-version 2.5.3?

johnny24-dev commented 7 months ago

Have you tried adding --compiler-version 2.5.3?

yes, I tried but still error

xJonathanLEI commented 6 months ago

Would be helpful if you can provide the full Sierra class you're trying to declare.

xJonathanLEI commented 2 months ago

Issue staled. This is likely just a compiler version mismatch issue.