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 have a snarkjs generated artifacts (verification_key.json, public_inputs.json, proof.json, etc).
I generate cairo contract using garaga gen --system groth16 --vk verification_key.json, which created 3 files, as expected, but when I trying to declare project (garaga declare-project --project-path my/project/path --env-file .secrets --network sepolia --fee strk), i get an error: class hash not found - deploying Error during declaration: Client failed with code 20. Message: Contract not found.
Im sure that path to project is correct. I didnt changed autogenerated cairo files too.
Thank you in advance.
there is an issue in the flow here, when the class hash doesn't exists it still declares it but an error is raised in python.
see #217
there is an issue in the flow here, when the class hash doesn't exists it still declares it but an error is raised in python.
garaga/hydra/garaga/starknet/cli/smart_contract_project.py
Line 72 in 47efa22
garaga/hydra/garaga/starknet/cli/declare.py
Line 93 in 47efa22
it seems the error is wrongly raised up to the calling function despite being caught 🤔
When running the command for a 2nd time, it correctly detects that the class hash exists and prints it.
The text was updated successfully, but these errors were encountered: