Skip to content

Commit

Permalink
Update to v0.3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Nov 27, 2023
1 parent cd03cff commit 461a35d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
7 changes: 4 additions & 3 deletions Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ source = "git+https://github.com/influenceth/cubit?rev=b459053#b4590530d5aeae9aa

[[package]]
name = "dojo"
version = "0.3.10"
source = "git+https://github.com/dojoengine/dojo?tag=v0.3.10#be1676252c41f8188465741edcbcb381d2c12080"
version = "0.3.13"
source = "git+https://github.com/dojoengine/dojo?tag=v0.3.13#a253b0c8119f5cc8b20f2f2893a20ae3ef79951a"
dependencies = [
"dojo_plugin",
]

[[package]]
name = "dojo_plugin"
version = "0.3.10"
version = "0.3.11"
source = "git+https://github.com/dojoengine/dojo?tag=v0.3.11#1e651b5d4d3b79b14a7d8aa29a92062fcb9e6659"

[[package]]
name = "market"
Expand Down
11 changes: 3 additions & 8 deletions Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
[workspace]
members = [
"crates",
"examples/*",
]
members = ["crates", "examples/*"]

[workspace.package]
version = "0.0.0"
description = "Community-maintained libraries for Cairo"
homepage = "https://github.com/dojoengine/origami"
authors = [
"[email protected]",
]
authors = ["[email protected]"]

[workspace.dependencies]
cubit = { git = "https://github.com/influenceth/cubit", rev = "b459053" }
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v0.3.10" }
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v0.3.13" }
origami = { path = "crates" }
4 changes: 2 additions & 2 deletions examples/market/src/models/liquidity.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use starknet::ContractAddress;

// Dojo imports

use dojo::database::schema::{Struct, Ty, SchemaIntrospection, Member, serialize_member};
use dojo::database::introspect::{Struct, Ty, Introspect, Member, serialize_member};

// External imports

Expand All @@ -14,7 +14,7 @@ use cubit::f128::types::fixed::Fixed;

const SCALING_FACTOR: u128 = 10000;

impl SchemaIntrospectionFixed of SchemaIntrospection<Fixed> {
impl IntrospectFixed of Introspect<Fixed> {
#[inline(always)]
fn size() -> usize {
2
Expand Down

0 comments on commit 461a35d

Please sign in to comment.