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
Describe the bug
A clear and concise description of what the bug is.
incompatible cairo-version as soon as creating a new project
To Reproduce
Steps to reproduce the behavior:
Following the Dojo 101 tutorial,
call sozo build to compile contracts after sozo init dojo-starter
Expected behavior
I was expecting the cairo and dojo version to be compatible from the start.
Additional context
Cairo version =2.8.4 found in dojo/dojo-starter/Scarb.toml is not supported by dojo (expecting 2.9.2). Please change the Cairo version in your manifest or update dojo.
Hum, are you using 1.0.12 version of the toolchain? I've tested with sozo init using 1.0.12 and it is not expecting 2.9.2.
The commit hash you're using is actually after the bump to 2.9.2. A new dojo version is coming soon with the support of this via dojoup.
So if you're using dojo at commit hash 2dd3ead, you must also use sozo built on this commit.
But I would recommend to use dojoup/asdf to install dojo, and then work with the latest stable. Except if you do need 2.9.2.
Describe the bug
A clear and concise description of what the bug is.
incompatible cairo-version as soon as creating a new project
To Reproduce
Steps to reproduce the behavior:
Following the Dojo 101 tutorial,
call sozo build to compile contracts after sozo init dojo-starter
Expected behavior
I was expecting the cairo and dojo version to be compatible from the start.
Additional context
Cairo version =2.8.4 found in dojo/dojo-starter/Scarb.toml is not supported by dojo (expecting 2.9.2). Please change the Cairo version in your manifest or update dojo.
repo commit hash: 2dd3ead
Side note: After a long time looking through the packages, I noticed it is a foundry like project. I just wished I got the clue sooner.
The text was updated successfully, but these errors were encountered: