Skip to content

updated dojo to use latest version #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The game is built with 3 components:
To work with Dojo, a docker image with all the binaries is available on the [Dojo repository](https://github.com/dojoengine/dojo/pkgs/container/dojo).

```bash
docker pull ghcr.io/dojoengine/dojo:v1.5.0
docker pull ghcr.io/dojoengine/dojo:v1.6.0-alpha.0

# You will then want to use host network for development and mount the contracts directory.
```
Expand All @@ -31,8 +31,8 @@ Or you can use `asdf`:

```bash
asdf plugin add dojo https://github.com/dojoengine/asdf-dojo
asdf install dojo 1.5.0
asdf set -u dojo 1.5.0
asdf install dojo 1.6.0-alpha.1
asdf set -u dojo 1.6.0-alpha.1
```

Don't forget to have also Scarb installed, using `asdf` being the recommended way to go:
Expand Down
2 changes: 1 addition & 1 deletion contracts/.tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dojo 1.5.0
dojo 1.6.0-alpha.1
scarb 2.10.1
12 changes: 6 additions & 6 deletions contracts/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ version = 1

[[package]]
name = "dojo"
version = "1.5.0"
source = "git+https://github.com/dojoengine/dojo?tag=v1.5.0#812f17c9c57fd057d0bf1e648a591ea0ca9ea718"
version = "1.6.0-alpha.0"
source = "git+https://github.com/dojoengine/dojo?tag=v1.6.0-alpha.2#184a4e8368269815823004d61e71f0699059ad77"
dependencies = [
"dojo_plugin",
]

[[package]]
name = "dojo_cairo_test"
version = "1.0.12"
source = "git+https://github.com/dojoengine/dojo?tag=v1.5.0#812f17c9c57fd057d0bf1e648a591ea0ca9ea718"
version = "1.6.0-alpha.0"
source = "git+https://github.com/dojoengine/dojo?tag=v1.6.0-alpha.2#184a4e8368269815823004d61e71f0699059ad77"
dependencies = [
"dojo",
]

[[package]]
name = "dojo_intro"
version = "1.5.0"
version = "1.6.0-alpha.2"
dependencies = [
"dojo",
"dojo_cairo_test",
Expand All @@ -28,4 +28,4 @@ dependencies = [
[[package]]
name = "dojo_plugin"
version = "2.10.1"
source = "git+https://github.com/dojoengine/dojo?tag=v1.5.0#812f17c9c57fd057d0bf1e648a591ea0ca9ea718"
source = "git+https://github.com/dojoengine/dojo?tag=v1.6.0-alpha.2#184a4e8368269815823004d61e71f0699059ad77"
6 changes: 3 additions & 3 deletions contracts/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[package]
cairo-version = "=2.10.1"
name = "dojo_intro"
version = "1.5.0"
version = "1.6.0-alpha.2"
edition = "2024_07"

[cairo]
sierra-replace-ids = true

[dependencies]
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.5.0" }
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.6.0-alpha.2" }

[[target.starknet-contract]]
build-external-contracts = ["dojo::world::world_contract::world"]

[dev-dependencies]
cairo_test = "=2.10.1"
dojo_cairo_test = { git = "https://github.com/dojoengine/dojo", tag = "v1.5.0" }
dojo_cairo_test = { git = "https://github.com/dojoengine/dojo", tag = "v1.6.0-alpha.2" }
2 changes: 1 addition & 1 deletion contracts/dojo_dev.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ default = "di"
rpc_url = "http://localhost:5050/"
account_address = "0x127fd5f1fe78a71f8bcd1fec63e3fe2f0486b6ecd5c86a0466c3a21fa5cfcec"
private_key = "0xc5b2fcab997346f3ea1c00b002ecf6f382c5f9c9659a3894eb783c5320f912"
world_address = "0x04d9778a74d2c9e6e7e4a24cbe913998a80de217c66ee173a604d06dea5469c3"
world_address = "0x7cb61df9ec4bdd30ca1f195bc20ff3c7afd0e45e3a3f156767fe05129fd499b"

[writers]
"di" = ["di-actions"]
6 changes: 3 additions & 3 deletions contracts/manifest_dev.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"world": {
"class_hash": "0x4c60dc46a8ca8bb47675b7b914053cef769afbf0e340523187336b72bd71d1f",
"address": "0x4d9778a74d2c9e6e7e4a24cbe913998a80de217c66ee173a604d06dea5469c3",
"class_hash": "0x685ed02eefa98fe7e208aa295042e9bbad8029b0d3d6f0ba2b32546efe0a1f9",
"address": "0x7cb61df9ec4bdd30ca1f195bc20ff3c7afd0e45e3a3f156767fe05129fd499b",
"seed": "dojo_intro",
"name": "Dojo intro",
"entrypoints": [
Expand Down Expand Up @@ -1328,7 +1328,7 @@
},
"contracts": [
{
"address": "0xb056c9813fdc442118bdfead6fda526e5daa5fd7d543304117ed80154ea752",
"address": "0x693bc04141539bb8608db41662f7512b57e116087c1c7a529eca0ed4c774ad5",
"class_hash": "0x41e53ae309fbbdd85ef84fc12ac7f8db30e8660e097263e4161b23ac9ae282c",
"abi": [
{
Expand Down
2 changes: 1 addition & 1 deletion contracts/torii_dev.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
world_address = "0x04d9778a74d2c9e6e7e4a24cbe913998a80de217c66ee173a604d06dea5469c3"
world_address = "0x07cb61df9ec4bdd30ca1f195bc20ff3c7afd0e45e3a3f156767fe05129fd499b"

[server]
http_cors_origins = ["*"]