From 58a4b1fcc814b065d6aaf4d21e0100da8701b606 Mon Sep 17 00:00:00 2001 From: thiscaspar Date: Wed, 4 Dec 2024 11:44:14 +0800 Subject: [PATCH] bump to core 0.5.14 and dojo 1.0.4 --- .devcontainer/devcontainer.json | 4 ++-- .github/workflows/ci-contracts.yml | 4 ++-- .tool-versions | 2 +- .vscode/settings.json | 2 +- README.local.md | 2 +- README.md | 2 +- Scarb.toml | 8 ++++---- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ac5eaa9..9a675fc 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "My Project", - "image": "ghcr.io/pixelaw/core:0.5.12", + "image": "ghcr.io/pixelaw/core:0.5.14", "forwardPorts": [ 5050, 8080, @@ -32,7 +32,7 @@ // Set *default* container specific settings.json values on container create. "settings": { "cairo1.enableLanguageServer": true, - "cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.3/bin/dojo-language-server", + "cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.4/bin/dojo-language-server", "cairo1.enableScarb": true, "cairo1.scarbPath": "${userHome}/.asdf/installs/scarb/2.7.0/bin/scarb", "lldb.executable": "/usr/bin/lldb", diff --git a/.github/workflows/ci-contracts.yml b/.github/workflows/ci-contracts.yml index 35c8c90..3711ac8 100644 --- a/.github/workflows/ci-contracts.yml +++ b/.github/workflows/ci-contracts.yml @@ -28,6 +28,6 @@ jobs: - uses: asdf-vm/actions/setup@v3 - run: | asdf plugin add dojo https://github.com/dojoengine/asdf-dojo - asdf install dojo 1.0.3 - asdf global dojo 1.0.3 + asdf install dojo 1.0.4 + asdf global dojo 1.0.4 sozo test diff --git a/.tool-versions b/.tool-versions index 6eff015..1536e16 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -dojo 1.0.3 +dojo 1.0.4 scarb 2.7.0 diff --git a/.vscode/settings.json b/.vscode/settings.json index a03735a..033be7e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "cairo1.enableLanguageServer": true, - "cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.3/bin/dojo-language-server", + "cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.4/bin/dojo-language-server", "cairo1.enableScarb": true, "cairo1.scarbPath": "${userHome}/.asdf/installs/scarb/2.7.0/bin/scarb", "cairo1.preferScarbLanguageServer": false diff --git a/README.local.md b/README.local.md index 8f49134..67d85e1 100644 --- a/README.local.md +++ b/README.local.md @@ -15,7 +15,7 @@ Follow the asdf installation instructions. ``` asdf plugin add dojo https://github.com/dojoengine/asdf-dojo -asdf install dojo 1.0.3 +asdf install dojo 1.0.4 ``` ### Install scarb diff --git a/README.md b/README.md index 459cd94..aff256c 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ The idea is that you'll copy this template and create your own PixeLAW app with To upgrade Dojo, you have to upgrade Pixelaw Core (see below) ### 4.2 Upgrade Core -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 +The easiest is to do a full-text search/replace on the Core version number (for example `0.5.14`) and replace it with the new version. Then it's easiest to 1. Delete the `/target/` folder 1. Delete the `Scarb.lock` file 1. Full Rebuild using `sozo build` diff --git a/Scarb.toml b/Scarb.toml index 6560f2d..98217f4 100644 --- a/Scarb.toml +++ b/Scarb.toml @@ -7,13 +7,13 @@ version = "0.0.0" sierra-replace-ids = true [dependencies] -pixelaw = { git = "https://github.com/pixelaw/core", tag = "v0.5.12" } +pixelaw = { git = "https://github.com/pixelaw/core", tag = "v0.5.14" } #pixelaw = { path = "../core/contracts" } -dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.3" } +dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.4" } [dev-dependencies] -dojo_cairo_test = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.3" } -pixelaw_test_helpers = { git = "https://github.com/pixelaw/core", tag = "v0.5.12" } +dojo_cairo_test = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.4" } +pixelaw_test_helpers = { git = "https://github.com/pixelaw/core", tag = "v0.5.14" } #pixelaw_test_helpers = { path = "../core/test_helpers" } [[target.starknet-contract]]