Skip to content

Commit 07c9693

Browse files
authored
Merge branch 'main' into isDecryptionResultValid
2 parents e638dff + 8225f4e commit 07c9693

File tree

28 files changed

+46
-56
lines changed

28 files changed

+46
-56
lines changed

.github/workflows/coprocessor-gpu-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ on:
1717
# Allows you to run this workflow manually from the Actions tab as an alternative.
1818
workflow_dispatch:
1919
pull_request:
20-
push:
21-
branches:
22-
- main
2320

2421
jobs:
2522
check-changes:

.github/workflows/gateway-contracts-hardhat-tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ name: gateway-contracts-hardhat-tests
44
on:
55
pull_request:
66

7-
push:
8-
branches:
9-
- main
10-
117
permissions: {}
128

139
concurrency:

.github/workflows/gateway-contracts-integrity-checks.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ name: gateway-contracts-integrity-checks
66

77
on:
88
pull_request:
9-
push:
10-
branches:
11-
- main
129

1310
permissions: {}
1411

.github/workflows/host-contracts-integrity-checks.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ name: host-contracts-integrity-checks
66

77
on:
88
pull_request:
9-
push:
10-
branches:
11-
- main
129

1310
permissions: {}
1411

.github/workflows/kms-connector-tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: kms-connector-tests
33

44
on:
55
pull_request:
6-
push:
7-
branches: ['main', 'release/*']
86

97
concurrency:
108
group: ${{ github.workflow }}-${{ github.head_ref }}

.github/workflows/sdk-rust-sdk-tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: sdk-rust-sdk-tests
33

44
on:
55
pull_request:
6-
push:
7-
branches: ['main', 'release/*']
86

97
concurrency:
108
group: ${{ github.workflow }}-${{ github.head_ref }}

coprocessor/fhevm-engine/fhevm-engine-common/src/gpu_memory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ pub fn release_memory_on_gpu(amount: u64, idx: usize) {
8585
pub fn get_op_size_on_gpu(
8686
fhe_operation_int: i16,
8787
input_operands: &[SupportedFheCiphertexts],
88-
// for deterministc randomness functions
88+
// for deterministic randomness functions
8989
) -> Result<u64, FhevmError> {
9090
let fhe_operation: SupportedFheOperations =
9191
fhe_operation_int.try_into().expect("Invalid operation");

coprocessor/fhevm-engine/fhevm-engine-common/src/tfhe_ops.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pub fn trivial_encrypt_be_bytes(output_type: i16, input_bytes: &[u8]) -> Support
8383
};
8484
match output_type {
8585
0 => SupportedFheCiphertexts::FheBool(
86-
FheBool::try_encrypt_trivial(last_byte > 0).expect("trival encrypt bool"),
86+
FheBool::try_encrypt_trivial(last_byte > 0).expect("trivial encrypt bool"),
8787
),
8888
1 => SupportedFheCiphertexts::FheUint4(
8989
FheUint4::try_encrypt_trivial(last_byte).expect("trivial encrypt 4"),
@@ -740,7 +740,7 @@ pub fn perform_fhe_operation(
740740
fhe_operation_int: i16,
741741
input_operands: &[SupportedFheCiphertexts],
742742
_: usize,
743-
// for deterministc randomness functions
743+
// for deterministic randomness functions
744744
) -> Result<SupportedFheCiphertexts, FhevmError> {
745745
perform_fhe_operation_impl(fhe_operation_int, input_operands)
746746
}
@@ -750,7 +750,7 @@ pub fn perform_fhe_operation(
750750
fhe_operation_int: i16,
751751
input_operands: &[SupportedFheCiphertexts],
752752
gpu_idx: usize,
753-
// for deterministc randomness functions
753+
// for deterministic randomness functions
754754
) -> Result<SupportedFheCiphertexts, FhevmError> {
755755
use crate::gpu_memory::{get_op_size_on_gpu, release_memory_on_gpu, reserve_memory_on_gpu};
756756

@@ -767,7 +767,7 @@ pub fn perform_fhe_operation(
767767
pub fn perform_fhe_operation_impl(
768768
fhe_operation_int: i16,
769769
input_operands: &[SupportedFheCiphertexts],
770-
// for deterministc randomness functions
770+
// for deterministic randomness functions
771771
) -> Result<SupportedFheCiphertexts, FhevmError> {
772772
let fhe_operation: SupportedFheOperations = fhe_operation_int.try_into()?;
773773
match fhe_operation {

coprocessor/fhevm-engine/fhevm-engine-common/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ impl SupportedFheCiphertexts {
611611
}
612612

613613
// Decompress without checking if enough GPU memory is available -
614-
// used when GPU featre is active, but decompressing on CPU
614+
// used when GPU feature is active, but decompressing on CPU
615615
pub fn decompress_no_memcheck(ct_type: i16, list: &[u8]) -> Result<Self> {
616616
let ctlist: CompressedCiphertextList = safe_deserialize(list)?;
617617
Self::decompress_impl(ct_type, &ctlist)

coprocessor/fhevm-engine/gw-listener/src/sks_key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub fn extract_server_key_without_ns(sns_key: &[u8]) -> anyhow::Result<Vec<u8>>
2626
anyhow::bail!("Server key does not have noise squashing");
2727
}
2828
if noise_squashing_compression_key.is_none() {
29-
anyhow::bail!("Server key does not have noise squashing compresion");
29+
anyhow::bail!("Server key does not have noise squashing compression");
3030
}
3131
if re_randomization_keyswitching_key.is_none() {
3232
anyhow::bail!("Server key does not have rerandomisation");

0 commit comments

Comments
 (0)