Skip to content

Commit

Permalink
Merge pull request #128 from zama-ai/ci/bump-tfhe-rs
Browse files Browse the repository at this point in the history
build: update tfhe-rs version to 0.3.0-beta.0
  • Loading branch information
leventdem committed Jun 26, 2023
2 parents e1a6156 + 831a6f5 commit 96e31bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_geth_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: zama-ai/tfhe-rs
ref: 1d817c45d5234bcf33638406191b656998b30c2a
ref: 0.3.0-beta.0
path: tfhe-rs

- name: Checkout zbc-fhe-tool
Expand Down
4 changes: 3 additions & 1 deletion core/vm/tfhe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ func TfheTrivialSerializeDeserialize(t *testing.T, fheUintType fheUintType) {

func TfheDeserializeFailure(t *testing.T, fheUintType fheUintType) {
ct := new(tfheCiphertext)
err := ct.deserialize(make([]byte, 10), fheUintType)
input := make([]byte, 1)
input[0] = 42
err := ct.deserialize(input, fheUintType)
if err == nil {
t.Fatalf("deserialization must have failed")
}
Expand Down
4 changes: 2 additions & 2 deletions install_thfe_rs_api.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

git clone https://github.com/zama-ai/tfhe-rs.git
git checkout 1d817c45d5234bcf33638406191b656998b30c2a
git checkout 0.3.0-beta.0
mkdir -p core/vm/lib
cd tfhe-rs
make build_c_api
make build_c_api_experimental_deterministic_fft
cp target/release/libtfhe.* ../core/vm/lib
cp target/release/tfhe.h ../core/vm

0 comments on commit 96e31bd

Please sign in to comment.