Skip to content

Commit 7181a6f

Browse files
committed
refactor(coprocessor): make tests compile
1 parent 8020413 commit 7181a6f

File tree

140 files changed

+1028
-1743
lines changed

Some content is hidden

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

140 files changed

+1028
-1743
lines changed

.devcontainer/post_create_command.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44

55
# Package manager dependencies.
66
sudo apt update
7-
sudo apt install -y protobuf-compiler build-essential libssl-dev pkg-config openssl vim git-lfs postgresql-client
7+
sudo apt install -y protobuf-compiler build-essential libssl-dev pkg-config openssl vim git-lfs postgresql-client cmake
88

99
# Cargo dependencies.
1010
cargo install sqlx-cli

.github/workflows/test-suite-e2e-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,12 @@ jobs:
241241
echo "::group::Gateway Listener"
242242
./fhevm-cli logs coprocessor-gw-listener
243243
echo "::endgroup::"
244+
echo "::group::ZKProof Worker"
245+
./fhevm-cli logs coprocessor-zkproof-worker
246+
echo "::endgroup::"
247+
echo "::group::TFHE Worker"
248+
./fhevm-cli logs coprocessor-tfhe-worker
249+
echo "::endgroup::"
244250
245251
- name: Cleanup
246252
working-directory: test-suite/fhevm

charts/coprocessor/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: coprocessor
22
description: A helm chart to distribute and deploy Zama fhevm Co-Processor services
3-
version: 0.7.13
3+
version: 0.8.0
44
apiVersion: v2
55
keywords:
66
- fhevm

charts/coprocessor/templates/coprocessor-init-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ data:
1212
create-secrets.sh: |
1313
#!/bin/sh
1414
set -e
15-
API_KEY_SECRET_NAME="{{ .Values.config.apiKey.secret.name }}"
16-
API_KEY_SECRET_KEY="{{ .Values.config.apiKey.secret.key }}"
1715
if ! kubectl get secret ${API_KEY_SECRET_NAME}; then
1816
COPROCESSOR_API_KEY_VALUE=$(uuidgen)
1917
kubectl create secret generic ${API_KEY_SECRET_NAME} --from-literal ${API_KEY_SECRET_KEY}=${COPROCESSOR_API_KEY_VALUE}

charts/coprocessor/values.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,6 @@ dbMigration:
7676
secretKeyRef:
7777
name: coprocessor-db-url
7878
key: coprocessor-db-url
79-
# KMS public key URLs for cryptographic setup
80-
- name: PKS_URL
81-
value: "http://minio:9000/kms-public/kms/PUB/PublicKey/d74037feb1394aec0eb724afc4a690e16a0203eb1dc868de08179f2e4828f335"
82-
- name: SKS_URL
83-
value: "http://minio:9000/kms-public/kms/PUB/ServerKey/812b602c11693dda4bfa68db78269849972b6f1920a725a98fc78cf619a6ab5f"
84-
- name: PP_URL
85-
value: "http://minio:9000/kms-public/kms/PUB/CRS/e4e3f0deef6492bde2fac3f2c698112ace878d4a3656b272197ed332391c48fa"
8679

8780
serviceAccountName:
8881

@@ -515,8 +508,6 @@ tfheWorker:
515508
key: coprocessor-db-url
516509
- name: ACL_CONTRACT_ADDRESS
517510
value: "0x05fD9B5EFE0a996095f42Ed7e77c390810CF660c"
518-
- name: INPUT_VERIFIER_ADDRESS
519-
value: "0xa1880e99d86F081E8D3868A8C4732C8f65dfdB11"
520511

521512
# Command line arguments for TFHE worker
522513
args:
@@ -525,7 +516,7 @@ tfheWorker:
525516
- --worker-polling-interval-ms=10000
526517
- --work-items-batch-size=100 # scheduling changed
527518
- --dependence-chains-per-batch=100 # Deprecated. To be removed in a future release.
528-
- --tenant-key-cache-size=32
519+
- --key-cache-size=32
529520
- --coprocessor-fhe-threads=64 # scheduling changed
530521
- --tokio-threads=16 # scheduling changed
531522
- --pg-pool-max-connections=10

coprocessor/fhevm-engine/.sqlx/query-10c2430d797e96b0b2a7a0f314b33b8b10e9cc8fd0422de69916674216b42f30.json renamed to coprocessor/fhevm-engine/.sqlx/query-010fa361eaab3fcabb474adf8f2514f2fed77910cf3b29ffe9d73536425c9853.json

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

coprocessor/fhevm-engine/.sqlx/query-048212909e0bbe46633e404235d2c5cffb5284903adb757b4fda59b7fbe81d57.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coprocessor/fhevm-engine/.sqlx/query-06757014537fbb4ab31dcfed5c16d384585a31bac9856aad1be27f3170535731.json

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

coprocessor/fhevm-engine/.sqlx/query-09f4bb2ed7df17aa0305c7fb88e87473e5be704202eb8f2fa571d47a4f98b7af.json

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

coprocessor/fhevm-engine/.sqlx/query-0e7100ff297ee683be2c7785de36ed7a4da52492956bde5e6bc7c7505fb7d22d.json

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

0 commit comments

Comments
 (0)