From 52920f5e2fc2ce2f92f227709e51d5d52f6d10e9 Mon Sep 17 00:00:00 2001 From: Tarrence van As Date: Fri, 24 Nov 2023 07:12:05 -0500 Subject: [PATCH] Update to v0.3.13 --- .github/workflows/ci.yml | 2 +- Scarb.lock | 4 ++-- Scarb.toml | 2 +- examples/market/src/models/liquidity.cairo | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 994cfbc0..6e80740a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: Origami CI on: [push, pull_request] env: - DOJO_VERSION: v0.3.12 + DOJO_VERSION: v0.3.13 SCARB_VERSION: v2.3.1 jobs: diff --git a/Scarb.lock b/Scarb.lock index 78602e2b..7b6f657c 100644 --- a/Scarb.lock +++ b/Scarb.lock @@ -8,8 +8,8 @@ source = "git+https://github.com/influenceth/cubit?rev=b459053#b4590530d5aeae9aa [[package]] name = "dojo" -version = "0.3.12" -source = "git+https://github.com/dojoengine/dojo?tag=v0.3.12#12d58f29ec53454317f1f6d265007a053d279288" +version = "0.3.13" +source = "git+https://github.com/dojoengine/dojo?tag=v0.3.13#a253b0c8119f5cc8b20f2f2893a20ae3ef79951a" dependencies = [ "dojo_plugin", ] diff --git a/Scarb.toml b/Scarb.toml index 679a9605..7c419124 100644 --- a/Scarb.toml +++ b/Scarb.toml @@ -9,5 +9,5 @@ authors = ["bal7hazar@proton.me"] [workspace.dependencies] cubit = { git = "https://github.com/influenceth/cubit", rev = "b459053" } -dojo = { git = "https://github.com/dojoengine/dojo", tag = "v0.3.12" } +dojo = { git = "https://github.com/dojoengine/dojo", tag = "v0.3.13" } origami = { path = "crates" } diff --git a/examples/market/src/models/liquidity.cairo b/examples/market/src/models/liquidity.cairo index 8e46f834..3bac3922 100644 --- a/examples/market/src/models/liquidity.cairo +++ b/examples/market/src/models/liquidity.cairo @@ -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 @@ -14,7 +14,7 @@ use cubit::f128::types::fixed::Fixed; const SCALING_FACTOR: u128 = 10000; -impl SchemaIntrospectionFixed of SchemaIntrospection { +impl IntrospectFixed of Introspect { #[inline(always)] fn size() -> usize { 2