Replace arkzkey git submodule to library (#251)

* replace arkzkey submodule to library

* update ci
This commit is contained in:
Ekaterina Broslavskaya 2024-05-20 12:49:14 +07:00 committed by GitHub
parent d3d85c3e3c
commit fe2b224981
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 36 deletions

View File

@ -123,8 +123,6 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
submodules: true
- uses: Swatinem/rust-cache@v2
- uses: boa-dev/criterion-compare-action@v3
with:

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "mopro"]
path = mopro
url = https://github.com/zkmopro/mopro.git

33
Cargo.lock generated
View File

@ -119,33 +119,6 @@ name = "ark-circom"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "295bb8e275f3e211b36a822469ba88deb028ecb3d7fe8684102598a9158a7350"
dependencies = [
"ark-bn254",
"ark-crypto-primitives",
"ark-ec",
"ark-ff",
"ark-groth16",
"ark-poly",
"ark-relations",
"ark-serialize",
"ark-std",
"byteorder",
"cfg-if",
"color-eyre",
"criterion 0.3.6",
"fnv",
"hex",
"num",
"num-bigint",
"num-traits",
"thiserror",
"wasmer",
]
[[package]]
name = "ark-circom"
version = "0.1.0"
source = "git+https://github.com/vimwitch/circom-compat.git#21c6d43132c062364c270147e876dbc00d505a1c"
dependencies = [
"ark-bn254",
"ark-crypto-primitives",
@ -342,9 +315,11 @@ dependencies = [
[[package]]
name = "ark-zkey"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2974c9f59c1a071db6753ffa7848dbed39746b4e0b431f9c5709553b9433f989"
dependencies = [
"ark-bn254",
"ark-circom 0.1.0 (git+https://github.com/vimwitch/circom-compat.git)",
"ark-circom",
"ark-ec",
"ark-ff",
"ark-groth16",
@ -2317,7 +2292,7 @@ name = "rln"
version = "0.4.3"
dependencies = [
"ark-bn254",
"ark-circom 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"ark-circom",
"ark-ec",
"ark-ff",
"ark-groth16",

1
mopro

@ -1 +0,0 @@
Subproject commit 3c8d73433632ff497dff238e87e37b152251eece

View File

@ -32,7 +32,7 @@ ark-serialize = { version = "=0.4.1", default-features = false }
ark-circom = { version = "=0.1.0", default-features = false, features = [
"circom-2",
] }
ark-zkey = { path = "../mopro/ark-zkey", optional = true, default-features = false }
ark-zkey = { version = "0.1.0", optional = true, default-features = false }
# WASM
wasmer = { version = "=2.3.0", default-features = false }