From 34f4ff8ea7fc1657eb912636db8b6c199df562dd Mon Sep 17 00:00:00 2001 From: Levent Demir Date: Fri, 23 Jun 2023 13:34:32 +0200 Subject: [PATCH] build(tfhe-rs): update to new version of tfhe-rs that handles new PK scheme for WASM --- Cargo.lock | 6 +++--- Cargo.toml | 4 ++-- README.md | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d287e96..097cd50 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -499,8 +499,8 @@ checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" [[package]] name = "tfhe" -version = "0.3.0" -source = "git+https://github.com/zama-ai/tfhe-rs.git?rev=1d817c45d5234bcf33638406191b656998b30c2a#1d817c45d5234bcf33638406191b656998b30c2a" +version = "0.3.0-beta.0" +source = "git+https://github.com/zama-ai/tfhe-rs.git?rev=0.3.0-beta.0#e810b42eb610b84a544c402fff5fcd4ee789235b" dependencies = [ "aligned-vec", "bytemuck", @@ -566,7 +566,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "zbc-fhe-tool" -version = "0.1.0" +version = "0.1.1" dependencies = [ "bincode", "clap", diff --git a/Cargo.toml b/Cargo.toml index 24a0fb6..96ced55 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zbc-fhe-tool" -version = "0.1.0" +version = "0.1.1" authors = ["Zama "] edition = "2021" license = "Unlicense" @@ -12,4 +12,4 @@ publish = false bincode = "1.3.3" clap = { version = "3.1.18", features = ["derive"] } serde = "1.0" -tfhe = { git = "https://github.com/zama-ai/tfhe-rs.git", rev = "1d817c45d5234bcf33638406191b656998b30c2a", features = ["boolean", "experimental-force_fft_algo_dif4", "shortint", "integer"] } +tfhe = { git = "https://github.com/zama-ai/tfhe-rs.git", rev = "0.3.0-beta.0", features = ["boolean", "experimental-force_fft_algo_dif4", "shortint", "integer"] } diff --git a/README.md b/README.md index 5275366..0f6a8c0 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,16 @@ This tool could be used locally or through a docker image. # Quick start -If you want to generate Fhe keys for your evmos node: +If you want to generate fhe keys for your evmos node: On x86: ```bash -$> mkdir -p res && docker run -v $PWD:/usr/local/app ghcr.io/zama-ai/zbc-fhe-tool:v0.1.0 zbc-fhe-tool generate-keys -d res +$> mkdir -p res && docker run -v $PWD:/usr/local/app ghcr.io/zama-ai/zbc-fhe-tool:v0.1.1 zbc-fhe-tool generate-keys -d res ``` On arm64: ```bash -$> mkdir -p res && docker run -v $PWD:/usr/local/app ghcr.io/zama-ai/zbc-fhe-tool:v0.1.0-arm64 zbc-fhe-tool generate-keys -d res +$> mkdir -p res && docker run -v $PWD:/usr/local/app ghcr.io/zama-ai/zbc-fhe-tool:v0.1.1-arm64 zbc-fhe-tool generate-keys -d res ``` Typical output: