Skip to content

Commit 335f40e

Browse files
committed
Remove git submodules of algebra, proof-systems and redux-rs
Patch them in `Cargo.toml` instead
1 parent a96136c commit 335f40e

File tree

6 files changed

+28
-45
lines changed

6 files changed

+28
-45
lines changed

.gitmodules

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

Cargo.lock

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ members = [
1616
"ledger",
1717
]
1818

19-
exclude = [ "deps/redux-rs" ]
20-
2119
resolver = "2"
2220

2321
[workspace.dependencies]
@@ -35,38 +33,20 @@ panic = "abort"
3533
incremental = false
3634
codegen-units = 1
3735

38-
[patch.'https://github.com/openmina/algebra']
39-
ark-ff = { path = "deps/algebra/ff" }
40-
ark-ec = { path = "deps/algebra/ec" }
41-
ark-poly = { path = "deps/algebra/poly" }
42-
ark-serialize = { path = "deps/algebra/serialize" }
43-
4436
[patch.crates-io]
45-
ark-ff = { path = "deps/algebra/ff" }
46-
ark-ec = { path = "deps/algebra/ec" }
47-
ark-poly = { path = "deps/algebra/poly" }
48-
ark-serialize = { path = "deps/algebra/serialize" }
49-
50-
[patch.'https://github.com/openmina/proof-systems']
51-
mina-hasher = { path = "deps/proof-systems/hasher" }
52-
mina-signer = { path = "deps/proof-systems/signer" }
53-
mina-curves = { path = "deps/proof-systems/curves" }
54-
o1-utils = { path = "deps/proof-systems/utils" }
55-
kimchi = { path = "deps/proof-systems/kimchi" }
56-
poly-commitment = { path = "deps/proof-systems/poly-commitment" }
57-
mina-poseidon = { path = "deps/proof-systems/poseidon" }
37+
ark-ff = { git = "https://github.com/openmina/algebra", branch = "openmina" }
38+
ark-ec = { git = "https://github.com/openmina/algebra", branch = "openmina" }
39+
ark-poly = { git = "https://github.com/openmina/algebra", branch = "openmina" }
40+
ark-serialize = { git = "https://github.com/openmina/algebra", branch = "openmina" }
5841

5942
[patch.'https://github.com/o1-labs/proof-systems']
60-
mina-hasher = { path = "deps/proof-systems/hasher" }
61-
mina-signer = { path = "deps/proof-systems/signer" }
62-
mina-curves = { path = "deps/proof-systems/curves" }
63-
o1-utils = { path = "deps/proof-systems/utils" }
64-
kimchi = { path = "deps/proof-systems/kimchi" }
65-
poly-commitment = { path = "deps/proof-systems/poly-commitment" }
66-
mina-poseidon = { path = "deps/proof-systems/poseidon" }
67-
68-
[patch.'https://github.com/openmina/redux-rs']
69-
redux = { path = "deps/redux-rs" }
43+
mina-hasher = { git = "https://github.com/openmina/proof-systems", branch = "ledger-newtypes-rampup4" }
44+
mina-signer = { git = "https://github.com/openmina/proof-systems", branch = "ledger-newtypes-rampup4" }
45+
mina-curves = { git = "https://github.com/openmina/proof-systems", branch = "ledger-newtypes-rampup4" }
46+
o1-utils = { git = "https://github.com/openmina/proof-systems", branch = "ledger-newtypes-rampup4" }
47+
kimchi = { git = "https://github.com/openmina/proof-systems", branch = "ledger-newtypes-rampup4" }
48+
mina-poseidon = {git = "https://github.com/openmina/proof-systems", branch = "ledger-newtypes-rampup4"}
49+
poly-commitment = {git = "https://github.com/openmina/proof-systems", branch = "ledger-newtypes-rampup4"}
7050

7151
[patch.'https://github.com/openmina/ledger']
7252
ledger = { path = "ledger", package = "mina-tree" }

deps/algebra

Lines changed: 0 additions & 1 deletion
This file was deleted.

deps/proof-systems

Lines changed: 0 additions & 1 deletion
This file was deleted.

deps/redux-rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)