Skip to content

Commit

Permalink
Merge pull request #50 from okhaimie-dev/main
Browse files Browse the repository at this point in the history
feat: bumped dojo version
  • Loading branch information
ponderingdemocritus authored Apr 5, 2024
2 parents d255629 + 8c4a073 commit 0219ea7
Show file tree
Hide file tree
Showing 12 changed files with 1,357 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: curl -L https://install.dojoengine.org | bash
- run: /home/runner/.config/.dojo/bin/dojoup -v v0.6.0-alpha.13
- run: /home/runner/.config/.dojo/bin/dojoup -v v0.6.0
- run: |
/home/runner/.config/.dojo/bin/sozo build
/home/runner/.config/.dojo/bin/sozo test
Expand Down
6 changes: 3 additions & 3 deletions Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ version = 1

[[package]]
name = "dojo"
version = "0.5.1"
source = "git+https://github.com/dojoengine/dojo?tag=v0.6.0-alpha.13#5bdcfdff82c7a01443bf603047f4bfe00d210ed6"
version = "0.6.0"
source = "git+https://github.com/dojoengine/dojo?tag=v0.6.0#fc5ad790c1993713e59f3fc65739160f132f29f0"
dependencies = [
"dojo_plugin",
]
Expand All @@ -16,7 +16,7 @@ source = "git+https://github.com/dojoengine/dojo?tag=v0.3.11#1e651b5d4d3b79b14a7

[[package]]
name = "dojo_starter"
version = "0.6.0-alpha.7"
version = "0.6.0"
dependencies = [
"dojo",
]
4 changes: 2 additions & 2 deletions Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
cairo-version = "2.5.4"
name = "dojo_starter"
version = "0.6.0-alpha.7"
version = "0.6.0"

[cairo]
sierra-replace-ids = true
Expand All @@ -11,7 +11,7 @@ migrate = "sozo build && sozo migrate && ./scripts/default_auth.sh"
spawn = "./scripts/spawn.sh"

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

[[target.dojo]]

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
[
{
"type": "impl",
"name": "DojoResourceProviderImpl",
"interface_name": "dojo::world::IDojoResourceProvider"
},
{
"type": "interface",
"name": "dojo::world::IDojoResourceProvider",
"items": [
{
"type": "function",
"name": "dojo_resource",
"inputs": [],
"outputs": [
{
"type": "core::felt252"
}
],
"state_mutability": "view"
}
]
},
{
"type": "impl",
"name": "WorldProviderImpl",
"interface_name": "dojo::world::IWorldProvider"
},
{
"type": "struct",
"name": "dojo::world::IWorldDispatcher",
"members": [
{
"name": "contract_address",
"type": "core::starknet::contract_address::ContractAddress"
}
]
},
{
"type": "interface",
"name": "dojo::world::IWorldProvider",
"items": [
{
"type": "function",
"name": "world",
"inputs": [],
"outputs": [
{
"type": "dojo::world::IWorldDispatcher"
}
],
"state_mutability": "view"
}
]
},
{
"type": "impl",
"name": "ActionsImpl",
"interface_name": "dojo_starter::systems::actions::IActions"
},
{
"type": "enum",
"name": "dojo_starter::models::moves::Direction",
"variants": [
{
"name": "None",
"type": "()"
},
{
"name": "Left",
"type": "()"
},
{
"name": "Right",
"type": "()"
},
{
"name": "Up",
"type": "()"
},
{
"name": "Down",
"type": "()"
}
]
},
{
"type": "interface",
"name": "dojo_starter::systems::actions::IActions",
"items": [
{
"type": "function",
"name": "spawn",
"inputs": [],
"outputs": [],
"state_mutability": "view"
},
{
"type": "function",
"name": "move",
"inputs": [
{
"name": "direction",
"type": "dojo_starter::models::moves::Direction"
}
],
"outputs": [],
"state_mutability": "view"
}
]
},
{
"type": "impl",
"name": "UpgradableImpl",
"interface_name": "dojo::components::upgradeable::IUpgradeable"
},
{
"type": "interface",
"name": "dojo::components::upgradeable::IUpgradeable",
"items": [
{
"type": "function",
"name": "upgrade",
"inputs": [
{
"name": "new_class_hash",
"type": "core::starknet::class_hash::ClassHash"
}
],
"outputs": [],
"state_mutability": "external"
}
]
},
{
"type": "event",
"name": "dojo::components::upgradeable::upgradeable::Upgraded",
"kind": "struct",
"members": [
{
"name": "class_hash",
"type": "core::starknet::class_hash::ClassHash",
"kind": "data"
}
]
},
{
"type": "event",
"name": "dojo::components::upgradeable::upgradeable::Event",
"kind": "enum",
"variants": [
{
"name": "Upgraded",
"type": "dojo::components::upgradeable::upgradeable::Upgraded",
"kind": "nested"
}
]
},
{
"type": "event",
"name": "dojo_starter::systems::actions::actions::Event",
"kind": "enum",
"variants": [
{
"name": "UpgradeableEvent",
"type": "dojo::components::upgradeable::upgradeable::Event",
"kind": "nested"
}
]
}
]
Loading

0 comments on commit 0219ea7

Please sign in to comment.