From 658db3906b1ea6d911cac7df6f60e29df83a1895 Mon Sep 17 00:00:00 2001 From: David Kazlauskas Date: Mon, 2 Sep 2024 09:43:52 +0300 Subject: [PATCH] Fix coprocessor compilation errors --- fhevm-engine/fhevm-engine-common/src/tfhe_ops.rs | 4 ++-- fhevm-engine/fhevm-engine-common/src/types.rs | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fhevm-engine/fhevm-engine-common/src/tfhe_ops.rs b/fhevm-engine/fhevm-engine-common/src/tfhe_ops.rs index 1dbd4ae5..65a9e02d 100644 --- a/fhevm-engine/fhevm-engine-common/src/tfhe_ops.rs +++ b/fhevm-engine/fhevm-engine-common/src/tfhe_ops.rs @@ -90,7 +90,6 @@ pub fn debug_trivial_encrypt_be_bytes( pub fn current_ciphertext_version() -> i16 { 0 - 0 } pub fn try_expand_ciphertext_list( @@ -1550,5 +1549,6 @@ pub fn perform_fhe_operation( }, SupportedFheOperations::FheRand => todo!("Implement FheRand"), SupportedFheOperations::FheRandBounded => todo!("Implement FheRandBounded"), + SupportedFheOperations::FheGetInputCiphertext => todo!("Implement FheGetInputCiphertext"), } -} \ No newline at end of file +} diff --git a/fhevm-engine/fhevm-engine-common/src/types.rs b/fhevm-engine/fhevm-engine-common/src/types.rs index 5e5f263c..35a5b401 100644 --- a/fhevm-engine/fhevm-engine-common/src/types.rs +++ b/fhevm-engine/fhevm-engine-common/src/types.rs @@ -234,8 +234,6 @@ pub enum SupportedFheOperations { FheMax = 19, FheNeg = 20, FheNot = 21, - FheCast = 30, - FheIfThenElse = 31, FheCast = 23, FheIfThenElse = 25, FheRand = 26,