Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 63 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[workspace]
members = [
"crates/aggregator",
"crates/bfv-helpers",
"crates/bfv-client",
"crates/ciphernode-builder",
"crates/cli",
"crates/compute-provider",
Expand All @@ -14,7 +14,9 @@ members = [
"crates/evm",
"crates/evm-helpers",
"crates/fhe",
"crates/fhe-params",
"crates/fs",
"crates/greco-helpers",
"crates/indexer",
"crates/init",
"crates/keyshare",
Expand Down Expand Up @@ -65,7 +67,7 @@ repository = "https://github.com/gnosisguild/enclave"

[workspace.dependencies]
e3-aggregator = { version = "0.1.7", path = "./crates/aggregator" }
e3-bfv-helpers = { version = "0.1.7", path = "./crates/bfv-helpers" }
e3-bfv-client = { version = "0.1.7", path = "./crates/bfv-client" }
e3-config = { version = "0.1.7", path = "./crates/config" }
e3-ciphernode-builder = { version = "0.1.7", path = "./crates/ciphernode-builder" }
e3-crypto = { version = "0.1.7", path = "./crates/crypto" }
Expand All @@ -79,7 +81,9 @@ e3-events = { version = "0.1.7", path = "./crates/events" }
e3-evm = { version = "0.1.7", path = "./crates/evm" }
e3-evm-helpers = { version = "0.1.7", path = "./crates/evm-helpers" }
e3-fhe = { version = "0.1.7", path = "./crates/fhe" }
e3-fhe-params = { version = "0.1.7", path = "./crates/fhe-params" }
e3-fs = { version = "0.1.7", path = "./crates/fs" }
e3-greco-helpers = { version = "0.1.7", path = "./crates/greco-helpers" }
e3-indexer = { version = "0.1.7", path = "./crates/indexer" }
e3-multithread = { version = "0.1.7", path = "./crates/multithread" }
e3-keyshare = { version = "0.1.7", path = "./crates/keyshare" }
Expand Down
4 changes: 3 additions & 1 deletion crates/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ COPY --from=evm-builder /build/packages/enclave-contracts/deployed_contracts.jso

# find crates/* -name "Cargo.toml" -not -path "*/support/*" -printf "COPY %p %p\n" | sed 's|COPY \(.*\) crates/|COPY \1 ./|'
COPY crates/aggregator/Cargo.toml ./aggregator/Cargo.toml
COPY crates/bfv-helpers/Cargo.toml ./bfv-helpers/Cargo.toml
COPY crates/bfv-client/Cargo.toml ./bfv-client/Cargo.toml
COPY crates/greco-helpers/Cargo.toml ./greco-helpers/Cargo.toml
Comment thread
coderabbitai[bot] marked this conversation as resolved.
COPY crates/cli/Cargo.toml ./cli/Cargo.toml
COPY crates/ciphernode-builder/Cargo.toml ./ciphernode-builder/Cargo.toml
COPY crates/compute-provider/Cargo.toml ./compute-provider/Cargo.toml
Expand All @@ -56,6 +57,7 @@ COPY crates/events/Cargo.toml ./events/Cargo.toml
COPY crates/evm/Cargo.toml ./evm/Cargo.toml
COPY crates/evm-helpers/Cargo.toml ./evm-helpers/Cargo.toml
COPY crates/fhe/Cargo.toml ./fhe/Cargo.toml
COPY crates/fhe-params/Cargo.toml ./fhe-params/Cargo.toml
COPY crates/fs/Cargo.toml ./fs/Cargo.toml
COPY crates/indexer/Cargo.toml ./indexer/Cargo.toml
COPY crates/init/Cargo.toml ./init/Cargo.toml
Expand Down
2 changes: 1 addition & 1 deletion crates/aggregator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ e3-evm = { workspace = true }
e3-fhe = { workspace = true }
e3-multithread = { workspace = true }
e3-trbfv = { workspace = true }
e3-bfv-helpers = { workspace = true }
e3-bfv-client = { workspace = true }
e3-request = { workspace = true }
e3-sortition = { workspace = true }
e3-utils = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/aggregator/src/publickey_aggregator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use actix::prelude::*;
use anyhow::Result;
use e3_bfv_helpers::client::compute_pk_commitment;
use e3_bfv_client::client::compute_pk_commitment;
use e3_data::Persistable;
use e3_events::{
prelude::*, BusHandle, Die, E3id, EnclaveEvent, EnclaveEventData, KeyshareCreated, OrderedSet,
Expand Down
24 changes: 7 additions & 17 deletions crates/bfv-helpers/Cargo.toml → crates/bfv-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,28 +1,18 @@
[package]
name = "e3-bfv-helpers"
name = "e3-bfv-client"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "E3 - Enclave BFV Helpers"
repository = "https://github.com/gnosisguild/enclave/crates/bfv-helpers"
description = "E3 - BFV client helpers"
repository = "https://github.com/gnosisguild/enclave/crates/bfv-client"

[dependencies]
alloy-dyn-abi = { workspace = true }
alloy-primitives = { workspace = true }
anyhow.workspace = true
fhe-math = { git = "https://github.com/gnosisguild/fhe.rs" }
fhe-traits.workspace = true
fhe-util = { git = "https://github.com/gnosisguild/fhe.rs" }
e3-fhe-params = { workspace = true }
e3-greco-helpers = { workspace = true }
fhe.workspace = true
fhe-traits.workspace = true
greco = { package = "zkfhe-greco", git = "https://github.com/gnosisguild/zkfhe-generator" }
itertools = "0.14.0"
ndarray = "0.15"
num-bigint = { workspace = true }
num-traits = "0.2"
shared = { package = "zkfhe-shared", git = "https://github.com/gnosisguild/zkfhe-generator" }
strum.workspace = true
rand.workspace = true
shared = { package = "zkfhe-shared", git = "https://github.com/gnosisguild/zkfhe-generator" }
thiserror = { workspace = true }

[dev-dependencies]
hex.workspace = true
Loading
Loading