Skip to content

Commit debfcbd

Browse files
committed
bump to core 0.5.12 and dojo 1.0.3
1 parent 776306d commit debfcbd

10 files changed

+16
-79
lines changed

.devcontainer/devcontainer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "My Project",
3-
"image": "ghcr.io/pixelaw/core:0.5.11",
3+
"image": "ghcr.io/pixelaw/core:0.5.12",
44
"forwardPorts": [
55
5050,
66
8080,
@@ -17,7 +17,7 @@
1717
"PUBLIC_RELAY_URL": "http://localhost:8080",
1818
"MASTER_ADDRESS": "0xb3ff441a68610b30fd5e2abbf3a1548eb6ba6f3559f2862bf2dc757e5828ca",
1919
"MASTER_PRIVATE_KEY": "0x2bbf4f9fd0bbb2e60b0316c1fe0b76cf7a4d0198bd493ced9b8df2a3a24d68a",
20-
"WORLD_ADDRESS": "0x6f130c8e150882e39cbe878c650c8f35c86579180dbc77d0c1cbe169449b5f6",
20+
"WORLD_ADDRESS": "0x2bf4d3aa0dced89d37d8c3b4ff6a05895c0af32ff3baf9b02abf8504e53eaad",
2121
"ACCOUNT_CLASS_HASH": "0x05400e90f7e0ae78bd02c77cd75527280470e2fe19c54970dd79dc37a9d3645c",
2222
"FEETOKEN_ADDRESS": "0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
2323
"SERVER_PORT": "3000"
@@ -32,7 +32,7 @@
3232
// Set *default* container specific settings.json values on container create.
3333
"settings": {
3434
"cairo1.enableLanguageServer": true,
35-
"cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.2/bin/dojo-language-server",
35+
"cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.3/bin/dojo-language-server",
3636
"cairo1.enableScarb": true,
3737
"cairo1.scarbPath": "${userHome}/.asdf/installs/scarb/2.7.0/bin/scarb",
3838
"lldb.executable": "/usr/bin/lldb",

.github/workflows/ci-contracts.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
- uses: asdf-vm/actions/setup@v3
2929
- run: |
3030
asdf plugin add dojo https://github.com/dojoengine/asdf-dojo
31-
asdf install dojo 1.0.2
32-
asdf global dojo 1.0.2
31+
asdf install dojo 1.0.3
32+
asdf global dojo 1.0.3
3333
sozo test

.tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
dojo 1.0.2
1+
dojo 1.0.3
22
scarb 2.7.0

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"cairo1.enableLanguageServer": true,
3-
"cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.2/bin/dojo-language-server",
3+
"cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.3/bin/dojo-language-server",
44
"cairo1.enableScarb": true,
55
"cairo1.scarbPath": "${userHome}/.asdf/installs/scarb/2.7.0/bin/scarb",
66
"cairo1.preferScarbLanguageServer": false

README.local.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Follow the asdf installation instructions.
1515

1616
```
1717
asdf plugin add dojo https://github.com/dojoengine/asdf-dojo
18-
asdf install dojo 1.0.2
18+
asdf install dojo 1.0.3
1919
```
2020

2121
### Install scarb
@@ -48,7 +48,7 @@ sozo migrate
4848
scarb run init_auth
4949

5050
# Start Torii
51-
torii --world 0x6f130c8e150882e39cbe878c650c8f35c86579180dbc77d0c1cbe169449b5f6 --http.cors_origins "*"
51+
torii --world 0x2bf4d3aa0dced89d37d8c3b4ff6a05895c0af32ff3baf9b02abf8504e53eaad --http.cors_origins "*"
5252
```
5353

5454
### How to deploy

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The idea is that you'll copy this template and create your own PixeLAW app with
5353
To upgrade Dojo, you have to upgrade Pixelaw Core (see below)
5454

5555
### 4.2 Upgrade Core
56-
The easiest is to do a full-text search/replace on the Core version number (for example `0.5.11`) and replace it with the new version. Then it's easiest to
56+
The easiest is to do a full-text search/replace on the Core version number (for example `0.5.12`) and replace it with the new version. Then it's easiest to
5757
1. Delete the `/target/` folder
5858
1. Delete the `Scarb.lock` file
5959
1. Full Rebuild using `sozo build`

Scarb.lock

-50
This file was deleted.

Scarb.toml

+4-17
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,22 @@ version = "0.0.0"
77
sierra-replace-ids = true
88

99
[dependencies]
10-
pixelaw = { git = "https://github.com/pixelaw/core", tag = "v0.5.11" }
10+
pixelaw = { git = "https://github.com/pixelaw/core", tag = "v0.5.12" }
1111
#pixelaw = { path = "../core/contracts" }
12-
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.2" }
12+
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.3" }
1313

1414
[dev-dependencies]
15-
dojo_cairo_test = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.2" }
16-
pixelaw_test_helpers = { git = "https://github.com/pixelaw/core", tag = "v0.5.11" }
15+
dojo_cairo_test = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.3" }
16+
pixelaw_test_helpers = { git = "https://github.com/pixelaw/core", tag = "v0.5.12" }
1717
#pixelaw_test_helpers = { path = "../core/test_helpers" }
1818

1919
[[target.starknet-contract]]
2020
sierra = true
2121
build-external-contracts = [
2222
"dojo::world::world_contract::world",
23-
# "pixelaw::core::models::area::Area",
24-
# "pixelaw::core::models::pixel::Pixel",
25-
# "pixelaw::core::models::pixel::PixelUpdate",
26-
# "pixelaw::core::models::queue::QueueItem",
27-
# "pixelaw::core::models::registry::App",
28-
# "pixelaw::core::models::registry::AppName",
29-
# "pixelaw::core::models::registry::CoreActionsAddress",
30-
# "pixelaw::core::utils::get_core_actions",
31-
# "pixelaw::core::utils::Direction",
32-
# "pixelaw::core::utils::Position",
33-
# "pixelaw::core::utils::DefaultParameters",
3423
"pixelaw::core::actions::actions",
3524
"pixelaw::apps::paint::app::paint_actions",
3625
"pixelaw::apps::snake::app::snake_actions",
37-
# "pixelaw::core::actions::IActionsDispatcher",
38-
# "pixelaw::core::actions::IActionsDispatcherTrait"
3926
]
4027

4128
[tool.fmt]

dojo_dev.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ mappings = {}
1111
rpc_url = "http://localhost:5050/"
1212
account_address = "0x127fd5f1fe78a71f8bcd1fec63e3fe2f0486b6ecd5c86a0466c3a21fa5cfcec"
1313
private_key = "0xc5b2fcab997346f3ea1c00b002ecf6f382c5f9c9659a3894eb783c5320f912"
14-
world_address = "0x6f130c8e150882e39cbe878c650c8f35c86579180dbc77d0c1cbe169449b5f6"
14+
world_address = "0x2bf4d3aa0dced89d37d8c3b4ff6a05895c0af32ff3baf9b02abf8504e53eaad"

dojo_sepolia.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ mappings = {}
1010
[env]
1111
rpc_url = "https://starknet-sepolia.public.blastapi.io/rpc/v0_7"
1212
keystore_path = "accounts/sepolia.deployer.keystore.json"
13-
world_address = "0x6f130c8e150882e39cbe878c650c8f35c86579180dbc77d0c1cbe169449b5f6"
13+
world_address = "0x2bf4d3aa0dced89d37d8c3b4ff6a05895c0af32ff3baf9b02abf8504e53eaad"
1414

1515
account_address = "YOUR_ACCOUNT"

0 commit comments

Comments
 (0)