TLDR
Dojo: I’m chilling in the dojo, and my katana can’t cut hot butter.
Dojo:
Ok … it was not smooth sailing, but this helped me get back on solid ground after sozo init I made the following edits to dojo-starter:
https://github.com/dojoengine/dojo-starter/pull/16/files
Change cairo-version from 2.1.1 to 2.2.0 and remove the version tag from the dependencies.
Then, make all these edits in components.cairo
-use array::ArrayTrait;
Remove all SerdeLen
-use debug::PrintTrait;
- position.print();
I stopped there to see if the ‘sozo build’ worked… it did, yay!
Edit the accounts in Scarb.toml:
account_address = "0x517ececd29116499f4a1b64b094da79ba08dfd54a3edaa316134c41f8160973"
private_key = "0x1800000000300000180000000000030000000000003006001800006600"
🎉 Successfully migrated World on block #4 at address 0x84486b8e9ffe38978b33c9d7685d9d2d487d0e9f096a1d2669edefc8506c35
Victory!
Ok, now I’m going back through all the shit I broke trying to fix things incorrectly. See ya on the flip side.
gn,
nicabar