Skip to content

Commit

Permalink
✨ Migration to dojo 1.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
bal7hazar committed Jan 6, 2025
1 parent a63c83f commit 02c4cc7
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 246 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/contracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:

env:
DOJO_VERSION: v1.0.1
DOJO_VERSION: v1.0.9
SCARB_VERSION: 2.8.4
WORKING_DIRECTORY: ./contracts

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
pull_request:

env:
DOJO_VERSION: v1.0.1
DOJO_VERSION: v1.0.9
SCARB_VERSION: 2.8.4
WORKING_DIRECTORY: ./packages

Expand Down
4 changes: 2 additions & 2 deletions Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ cairo-version = "2.8.4"
version = "0.0.0"

[workspace.dependencies]
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.1" }
dojo_cairo_test = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.1" }
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.9" }
dojo_cairo_test = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.9" }
starknet = "2.8.4"
cairo_test = "2.8.4"

Expand Down
8 changes: 4 additions & 4 deletions contracts/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,24 @@ dependencies = [

[[package]]
name = "dojo"
version = "1.0.1"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.1#d7335e6f5c76a1dda887ec00c594c2c019b4a05f"
version = "1.0.9"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.9#04b5f025d998eee19cd21d33bd8a992498a73160"
dependencies = [
"dojo_plugin",
]

[[package]]
name = "dojo_cairo_test"
version = "1.0.0-rc.0"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.1#d7335e6f5c76a1dda887ec00c594c2c019b4a05f"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.9#04b5f025d998eee19cd21d33bd8a992498a73160"
dependencies = [
"dojo",
]

[[package]]
name = "dojo_plugin"
version = "2.8.4"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.1#d7335e6f5c76a1dda887ec00c594c2c019b4a05f"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.9#04b5f025d998eee19cd21d33bd8a992498a73160"

[[package]]
name = "provider"
Expand Down
4 changes: 2 additions & 2 deletions contracts/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sierra-replace-ids = true
dev = "sozo clean && sozo build --typescript && sozo migrate plan && sozo migrate apply"

[dependencies]
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.1" }
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.9" }
achievement = { path = ".." }
controller = { path = ".." }
provider = { path = ".." }
Expand All @@ -20,7 +20,7 @@ starknet = "2.8.4"
cairo_test = "2.8.4"

[dev-dependencies]
dojo_cairo_test = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.1" }
dojo_cairo_test = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.9" }

[[target.starknet-contract]]
build-external-contracts = [
Expand Down
11 changes: 4 additions & 7 deletions contracts/dojo_slot.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,12 @@ default = "ARCADE"
]

[writers]
"ARCADE" = [
"ARCADE-Registry",
"ARCADE-Slot",
"ARCADE-Society",
"ARCADE-Pinner",
"ARCADE-Wallet",
]
"ARCADE" = ["ARCADE-Registry", "ARCADE-Slot", "ARCADE-Society", "ARCADE-Wallet"]

[env]
rpc_url = "https://api.cartridge.gg/x/arcade/katana"
account_address = "0x6677fe62ee39c7b07401f754138502bab7fac99d2d3c5d37df7d1c6fab10819"
private_key = "0x3e3979c1ed728490308054fe357a9f49cf67f80f9721f44cc57235129e090f4"
ipfs_config.url = "https://ipfs.infura.io:5001"
ipfs_config.username = "2EBrzr7ZASQZKH32sl2xWauXPSA"
ipfs_config.password = "12290b883db9138a8ae3363b6739d220"
Loading

0 comments on commit 02c4cc7

Please sign in to comment.