Skip to content

Commit

Permalink
update to v0.7.0-alpha.0 (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
notV4l authored May 1, 2024
1 parent 501dcd4 commit 53c06b6
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Origami CI
on: [push, pull_request]

env:
DOJO_VERSION: v0.6.0
DOJO_VERSION: v0.7.0-alpha.0
SCARB_VERSION: v2.6.4

jobs:
Expand Down
2 changes: 1 addition & 1 deletion Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ source = "git+https://github.com/influenceth/cubit.git#9402f710716b12c21cd1e481c
[[package]]
name = "dojo"
version = "0.6.0"
source = "git+https://github.com/dojoengine/dojo?tag=v0.6.0#fc5ad790c1993713e59f3fc65739160f132f29f0"
source = "git+https://github.com/dojoengine/dojo?tag=v0.7.0-alpha.0#2b2dc1bf35e4568bda7341f17267a931b49148b0"
dependencies = [
"dojo_plugin",
]
Expand Down
2 changes: 1 addition & 1 deletion Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ authors = ["[email protected]"]

[workspace.dependencies]
cubit = { git = "https://github.com/influenceth/cubit.git" }
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v0.6.0" }
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v0.7.0-alpha.0" }
origami = { path = "crates" }
token = { path = "token" }
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ trait IERC20BalanceMockInit<TState> {
fn initializer(ref self: TState, initial_supply: u256, recipient: ContractAddress,);
}

#[dojo::contract]
#[dojo::contract(allow_ref_self)]
mod erc20_balance_mock {
use starknet::ContractAddress;
use token::components::token::erc20::erc20_allowance::erc20_allowance_component;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ trait IERC20BridgeableMockInit<TState> {
);
}

#[dojo::contract]
#[dojo::contract(allow_ref_self)]
mod erc20_bridgeable_mock {
use starknet::ContractAddress;
use starknet::{get_caller_address, get_contract_address};
Expand Down
54 changes: 27 additions & 27 deletions token/src/lib.cairo
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
// mod components {
// mod introspection {
// mod src5;
// }
mod components {
mod introspection {
mod src5;
}

// mod security {
// mod initializable;
// }
mod security {
mod initializable;
}

// mod token {
// mod erc20 {
// mod erc20_allowance;
// mod erc20_balance;
// mod erc20_bridgeable;
// mod erc20_burnable;
// mod erc20_metadata;
// mod erc20_mintable;
// }
mod token {
mod erc20 {
mod erc20_allowance;
mod erc20_balance;
mod erc20_bridgeable;
mod erc20_burnable;
mod erc20_metadata;
mod erc20_mintable;
}

// mod erc721 {}
// }
mod erc721 {}
}

// mod tests;
// }
mod tests;
}

mod erc20 {
mod interface;
Expand Down Expand Up @@ -50,13 +50,13 @@ mod erc1155 {
mod tests;
}

// mod presets {
// mod erc20 {
// mod bridgeable;
// #[cfg(test)]
// mod tests_bridgeable;
// }
// }
mod presets {
mod erc20 {
mod bridgeable;
#[cfg(test)]
mod tests_bridgeable;
}
}

#[cfg(test)]
mod tests {
Expand Down
2 changes: 1 addition & 1 deletion token/src/presets/erc20/bridgeable.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ trait IERC20BridgeableInitializer<TState> {
);
}

#[dojo::contract]
#[dojo::contract(allow_ref_self)]
mod ERC20Bridgeable {
use integer::BoundedInt;
use starknet::ContractAddress;
Expand Down

0 comments on commit 53c06b6

Please sign in to comment.