diff --git a/Scarb.toml b/Scarb.toml index b00fc9d..44c056a 100644 --- a/Scarb.toml +++ b/Scarb.toml @@ -7,7 +7,7 @@ version = "0.1.0" sierra-replace-ids = true [dependencies] -dojo = { git = "https://github.com/dojoengine/dojo", tag = "nightly-e96f08d6302b2ce1277bc13b17a0723f74cb6177" } +dojo = { git = "https://github.com/dojoengine/dojo", tag = "v0.3.0-rc6" } [[target.dojo]] diff --git a/src/systems/with_decorator.cairo b/src/systems/with_decorator.cairo index f1e51f6..6e03729 100644 --- a/src/systems/with_decorator.cairo +++ b/src/systems/with_decorator.cairo @@ -9,7 +9,7 @@ trait IPlayerActions { fn move(self: @TContractState, direction: Direction); } -#[system] +#[dojo::contract] mod player_actions { use starknet::{ContractAddress, get_caller_address}; use dojo_examples::models::{Position, Moves, Direction, Vec2};