From fc190a0ad9e0010c7c1a4480b43b2e2c4af82607 Mon Sep 17 00:00:00 2001 From: Ertugrul Aypek Date: Thu, 9 Jan 2025 19:31:17 +0100 Subject: [PATCH] fix code len assert --- deploy/stage/common-values-iris-mpc.yaml | 2 +- iris-mpc-gpu/src/dot/share_db.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/stage/common-values-iris-mpc.yaml b/deploy/stage/common-values-iris-mpc.yaml index c5a49190d..78eed1951 100644 --- a/deploy/stage/common-values-iris-mpc.yaml +++ b/deploy/stage/common-values-iris-mpc.yaml @@ -1,4 +1,4 @@ -image: "ghcr.io/worldcoin/iris-mpc:63b7f30f2117e7ec801583ba593b22c01af6af44" +image: "ghcr.io/worldcoin/iris-mpc:ae5864c4ebeb1afb98d2354cdca6f671f4aa4aee" environment: stage replicaCount: 1 diff --git a/iris-mpc-gpu/src/dot/share_db.rs b/iris-mpc-gpu/src/dot/share_db.rs index ad98b27f7..17ef8213c 100644 --- a/iris-mpc-gpu/src/dot/share_db.rs +++ b/iris-mpc-gpu/src/dot/share_db.rs @@ -347,8 +347,8 @@ impl ShareDB { n_shards: usize, code_length: usize, ) { - assert_eq!(a0_host.len(), code_length / 2); - assert_eq!(a1_host.len(), code_length / 2); + assert_eq!(a0_host.len(), code_length); + assert_eq!(a1_host.len(), code_length); let device_index = index % n_shards; let device_db_index = index / n_shards;