diff --git a/.github/workflows/ci-contracts.yml b/.github/workflows/ci-contracts.yml index 9054030..a8e7de5 100644 --- a/.github/workflows/ci-contracts.yml +++ b/.github/workflows/ci-contracts.yml @@ -35,6 +35,6 @@ jobs: - uses: asdf-vm/actions/setup@v3 - run: | asdf plugin add dojo https://github.com/dojoengine/asdf-dojo - asdf install dojo 1.0.0-alpha.7 - asdf global dojo 1.0.0-alpha.7 + asdf install dojo 1.0.0-alpha.9 + asdf global dojo 1.0.0-alpha.9 sozo test diff --git a/contracts/.tool-versions b/contracts/.tool-versions index 59af882..0982e9c 100644 --- a/contracts/.tool-versions +++ b/contracts/.tool-versions @@ -1,2 +1,2 @@ -dojo 1.0.0-alpha.7 +dojo 1.0.0-alpha.9 scarb 2.7.0 diff --git a/contracts/.vscode/settings.json b/contracts/.vscode/settings.json index 6a50652..b849584 100644 --- a/contracts/.vscode/settings.json +++ b/contracts/.vscode/settings.json @@ -1,6 +1,6 @@ { "cairo1.enableLanguageServer": true, - "cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.0-alpha.6/bin/dojo-language-server", + "cairo1.languageServerPath": "${userHome}/.asdf/installs/dojo/1.0.0-alpha.9/bin/dojo-language-server", "cairo1.enableScarb": true, "cairo1.scarbPath": "${userHome}/.asdf/installs/scarb/2.7.0/bin/scarb" } diff --git a/contracts/Scarb.lock b/contracts/Scarb.lock index 8c1c52f..3fbf723 100644 --- a/contracts/Scarb.lock +++ b/contracts/Scarb.lock @@ -4,7 +4,7 @@ version = 1 [[package]] name = "dojo" version = "1.0.0-alpha.4" -source = "git+https://github.com/dojoengine/dojo?tag=v1.0.0-alpha.7#e2ed07388843c3b688190eac771dbc85e84920fd" +source = "git+https://github.com/dojoengine/dojo?tag=v1.0.0-alpha.9#e42ce0c220a59d75c5b08e87a81de12cfdc27a55" dependencies = [ "dojo_plugin", ] diff --git a/contracts/Scarb.toml b/contracts/Scarb.toml index 1e3c719..559fa8d 100644 --- a/contracts/Scarb.toml +++ b/contracts/Scarb.toml @@ -9,12 +9,14 @@ edition = "2024_07" sierra-replace-ids = true [dependencies] -dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.7" } +dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.9" } [lib] [profile.dev-pop] +[profile.slot] + [scripts] init_auth = "./scripts/init_auth.sh" diff --git a/contracts/Scarb_deploy.toml b/contracts/Scarb_deploy.toml index e0b0c9d..01eb163 100644 --- a/contracts/Scarb_deploy.toml +++ b/contracts/Scarb_deploy.toml @@ -9,11 +9,12 @@ edition = "2024_07" sierra-replace-ids = true [dependencies] -dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.7" } - +dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.9" } [[target.dojo]] build-external-contracts = [] path = "../contracts/src/lib.cairo" [profile.dev-pop] + +[profile.slot] diff --git a/contracts/dojo_dev.toml b/contracts/dojo_dev.toml index e1db421..8bdbd2d 100644 --- a/contracts/dojo_dev.toml +++ b/contracts/dojo_dev.toml @@ -5,10 +5,10 @@ seed = "pixelaw" [namespace] default = "pixelaw" -mappings = { } +mappings = {} [env] rpc_url = "http://localhost:5050/" account_address = "0xb3ff441a68610b30fd5e2abbf3a1548eb6ba6f3559f2862bf2dc757e5828ca" private_key = "0x2bbf4f9fd0bbb2e60b0316c1fe0b76cf7a4d0198bd493ced9b8df2a3a24d68a" -world_address = "0xd0f3f3fecb0da8bea20697209748e0d77f9ae2678f1c7721b43049a294e76f" +world_address = "0x99b8dbc71926673405f5dfff9e4900ee4d9249798cc5e7ac6f3c3a07907399" diff --git a/contracts/dojo_sepolia.toml b/contracts/dojo_sepolia.toml new file mode 100644 index 0000000..94f8695 --- /dev/null +++ b/contracts/dojo_sepolia.toml @@ -0,0 +1,18 @@ +[world] +description = "PixeLAW world" +name = "pixelaw" +seed = "pixelaw" + +[world.socials] +x = "https://x.com/0xPixeLAW" +github = "https://github.com/pixelaw" + + +[namespace] +default = "pixelaw" +mappings = {} + +[env] +rpc_url = "https://starknet-sepolia.public.blastapi.io/rpc/v0_7" +account_address = "" +private_key = "" diff --git a/contracts/dojo_slot.toml b/contracts/dojo_slot.toml new file mode 100644 index 0000000..4637002 --- /dev/null +++ b/contracts/dojo_slot.toml @@ -0,0 +1,18 @@ +[world] +description = "PixeLAW world" +name = "pixelaw" +seed = "pixelaw" + +[world.socials] +x = "https://x.com/pixelaw" +github = "https://github.com/pixelaw" + +[namespace] +default = "pixelaw" +mappings = {} + +[env] +rpc_url = "https://api.cartridge.gg/x/pixelaw-dev/katana/" +account_address = "0x5233cfca86bfa18af0bdef2fd09ac4c1d7c8da71303eb7fc9997fc6d0914d0d" +private_key = "0xf0e37335d0c020789dd02c0460d99637ac23bd2df3d1d25002fd15621542d" +world_address = "0x99b8dbc71926673405f5dfff9e4900ee4d9249798cc5e7ac6f3c3a07907399"