Skip to content

Commit

Permalink
fix(dojo-core): adjust ACL to restore governance without relaxing per…
Browse files Browse the repository at this point in the history
…missions (#2341)

* fix: ensure ACLs are restrictive with possible governance

* fix: fix tests

* fix: fix tests

* fix: adjust diagnostic error for dojo init
  • Loading branch information
glihm committed Aug 26, 2024
1 parent 1944389 commit f9606d8
Show file tree
Hide file tree
Showing 25 changed files with 290 additions and 1,880 deletions.
7 changes: 7 additions & 0 deletions crates/dojo-core/src/tests/helpers.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ pub mod foo_setter {
#[dojo::contract]
pub mod test_contract {}

#[dojo::contract]
pub mod test_contract_with_dojo_init_args {
fn dojo_init(world: @IWorldDispatcher, _arg1: felt252) {
let _u = world.uuid();
}
}

#[dojo::contract(namespace: "buzz_namespace", nomapping: true)]
pub mod buzz_contract {}

Expand Down
Loading

0 comments on commit f9606d8

Please sign in to comment.