Skip to content

Commit 7f29711

Browse files
authored
Bump dojo rc1 (#114)
1 parent 89172a1 commit 7f29711

File tree

111 files changed

+27
-12834
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+27
-12834
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
pull_request:
88

99
env:
10-
DOJO_VERSION: v1.0.0-alpha.19
11-
SCARB_VERSION: 2.7.0
10+
DOJO_VERSION: v1.0.0-rc.1
11+
SCARB_VERSION: 2.8.4
1212

1313
jobs:
1414
check:
@@ -99,25 +99,3 @@ jobs:
9999
- name: Test
100100
run: sozo test --package origami_security
101101
shell: bash
102-
103-
token:
104-
needs: [check, build]
105-
runs-on: ubuntu-latest
106-
name: Test origami_token
107-
steps:
108-
- uses: actions/checkout@v4
109-
- uses: ./.github/actions/setup
110-
- name: Test
111-
run: sozo test --package origami_token
112-
shell: bash
113-
114-
governance:
115-
needs: [check, build]
116-
runs-on: ubuntu-latest
117-
name: Test origami_governance
118-
steps:
119-
- uses: actions/checkout@v4
120-
- uses: ./.github/actions/setup
121-
- name: Test
122-
run: sozo test --package origami_governance
123-
shell: bash

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
scarb 2.7.0
1+
scarb 2.8.4

Scarb.lock

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,53 +4,34 @@ version = 1
44
[[package]]
55
name = "cubit"
66
version = "1.3.0"
7-
source = "git+https://github.com/dojoengine/cubit?branch=update_to_2.7.0#075bf5a317452cd59aaf5bd1c044689220361c66"
8-
9-
[[package]]
10-
name = "dojo"
11-
version = "1.0.0-alpha.4"
12-
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.0-alpha.19#ef696ea9bbaa22d3f6db392d9692b4821578c23c"
7+
source = "git+https://github.com/bal7hazar/cubit?branch=cairo-2.8.4#6bce623d5c735c097be47a4045c0e0432bad38e7"
138

149
[[package]]
1510
name = "origami_algebra"
16-
version = "1.0.0-alpha.19"
11+
version = "1.0.0-rc.1"
1712
dependencies = [
1813
"cubit",
1914
]
2015

2116
[[package]]
2217
name = "origami_defi"
23-
version = "1.0.0-alpha.19"
18+
version = "1.0.0-rc.1"
2419
dependencies = [
2520
"cubit",
2621
]
2722

28-
[[package]]
29-
name = "origami_governance"
30-
version = "1.0.0-alpha.19"
31-
dependencies = [
32-
"dojo",
33-
]
34-
3523
[[package]]
3624
name = "origami_map"
37-
version = "1.0.0-alpha.19"
25+
version = "1.0.0-rc.1"
3826

3927
[[package]]
4028
name = "origami_random"
41-
version = "1.0.0-alpha.19"
29+
version = "1.0.0-rc.1"
4230

4331
[[package]]
4432
name = "origami_rating"
45-
version = "1.0.0-alpha.19"
33+
version = "1.0.0-rc.1"
4634

4735
[[package]]
4836
name = "origami_security"
49-
version = "1.0.0-alpha.19"
50-
51-
[[package]]
52-
name = "origami_token"
53-
version = "1.0.0-alpha.19"
54-
dependencies = [
55-
"dojo",
56-
]
37+
version = "1.0.0-rc.1"

Scarb.toml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,15 @@ members = [
66
"crates/random",
77
"crates/rating",
88
"crates/security",
9-
"crates/token",
10-
"crates/governance",
119
]
1210

1311
[workspace.package]
14-
version = "1.0.0-alpha.19"
12+
version = "1.0.0-rc.1"
1513

1614
[workspace.dependencies]
17-
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.19" }
15+
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-rc.1" }
1816
# dojo = { path = "../dojo/crates/dojo-core" }
19-
cubit = { git = "https://github.com/dojoengine/cubit", branch = "update_to_2.7.0" }
20-
starknet = "^2.7.0"
21-
cairo_test = "^2.7.0"
17+
cubit = { git = "https://github.com/bal7hazar/cubit", branch = "cairo-2.8.4" }
18+
starknet = "^2.8.4"
19+
cairo_test = "^2.8.4"
2220
# Scripts are not supported for virtual workspaces.

crates/defi/src/auction/gda.cairo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ mod tests {
158158
mod discrete {
159159
// Local imports
160160

161-
use super::{Fixed, FixedTrait};
161+
use super::FixedTrait;
162162
use super::{assert_approx_equal, TOLERANCE};
163163
use super::super::{DiscreteGDA, DiscreteGDATrait};
164164

crates/defi/src/auction/helpers.cairo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub fn from_days_fp(x: Fixed) -> Fixed {
1414
mod tests {
1515
// External imports
1616

17-
use cubit::f128::types::fixed::{Fixed, FixedTrait};
17+
use cubit::f128::types::fixed::FixedTrait;
1818

1919
// Local imports
2020

crates/defi/src/auction/vrgda.cairo

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// External imports
22

3-
use cubit::f128::math::ops::{ln, abs, exp};
3+
use cubit::f128::math::ops::ln;
44
use cubit::f128::types::fixed::{Fixed, FixedTrait};
55

66
// Based on https://www.paradigm.xyz/2022/08/vrgda
@@ -153,8 +153,7 @@ mod tests {
153153
mod linear {
154154
// Local imports
155155

156-
use cubit::f128::types::fixed::{Fixed, FixedTrait, HALF_u128};
157-
use super::{to_days_fp, from_days_fp};
156+
use cubit::f128::types::fixed::{FixedTrait, HALF_u128};
158157
use super::assert_rel_approx_eq;
159158
use super::super::{LinearVRGDA, VRGDATrait};
160159

@@ -197,7 +196,6 @@ mod tests {
197196
// Local imports
198197

199198
use super::{Fixed, FixedTrait};
200-
use super::{to_days_fp, from_days_fp};
201199
use super::assert_rel_approx_eq;
202200
use super::super::{LogisticVRGDA, VRGDATrait};
203201

crates/governance/EXAMPLES.md

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)