Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: fhe randomness implementation #25

Merged
merged 14 commits into from
Sep 16, 2024
Merged

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

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

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

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

2 changes: 2 additions & 0 deletions fhevm-engine/Cargo.lock

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

8 changes: 7 additions & 1 deletion fhevm-engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ anyhow = "1.0.86"
daggy = "0.8.0"

[profile.dev.package.tfhe]
overflow-checks = false
overflow-checks = false

# for testing in release mode due to too big
# binary inside mac
[profile.release]
opt-level = "z"
lto = true

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

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

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

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

5 changes: 5 additions & 0 deletions fhevm-engine/coprocessor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ recreate_db:
$(MAKE) cleanup
$(MAKE) init_db

.PHONY: docker_compose_setup
docker_compose_setup:
$(MAKE) init_db
DATABASE_URL=postgres://postgres:[email protected]:5432/coprocessor cargo test setup_test_user -- --nocapture --ignored

.PHONY: clean_run
clean_run:
$(MAKE) recreate_db
Expand Down
10 changes: 10 additions & 0 deletions fhevm-engine/coprocessor/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,20 @@ services:
- DATABASE_URL=postgresql://postgres:postgres@db:5432/coprocessor
ports:
- '50051:50051'
volumes:
- ${PWD}/coprocessor.key:/usr/share/coprocessor.key
command:
- --run-bg-worker
- --run-server
- --server-addr=0.0.0.0:50051
- --coprocessor-key=/usr/share/coprocessor.key
geth:
image: custom-devnet:v1
environment:
- FHEVM_COPROCESSOR_API_KEY=a1503fb6-d79b-4e9e-826d-44cf262f3e05
- FHEVM_COPROCESSOR_URL=coproc:50051
ports:
- '8545:8545'
volumes:
db:
driver: local

This file was deleted.

13 changes: 0 additions & 13 deletions fhevm-engine/coprocessor/migrations/gen-keys.sh

This file was deleted.

Loading
Loading