chore(zk): enable tfhe-lints on zk pok

This commit is contained in:
Nicolas Sarlin
2025-06-20 17:37:22 +02:00
committed by Nicolas Sarlin
parent c475dc058e
commit 940a9ba860
3 changed files with 5 additions and 2 deletions

View File

@@ -514,6 +514,9 @@ check_rust_bindings_did_not_change:
tfhe_lints: install_cargo_dylint
RUSTFLAGS="$(RUSTFLAGS)" cargo dylint --all -p tfhe --no-deps -- \
--features=boolean,shortint,integer,strings,zk-pok
RUSTFLAGS="$(RUSTFLAGS)" cargo dylint --all -p tfhe-zk-pok --no-deps -- \
--features=experimental
.PHONY: build_core # Build core_crypto without experimental features
build_core: install_rs_build_toolchain install_rs_check_toolchain

View File

@@ -432,7 +432,7 @@ where
}
}
#[derive(Clone, Debug, serde::Serialize, serde::Deserialize)]
#[derive(Clone, Debug)]
pub struct PublicCommit<G: Curve> {
a: Vec<i64>,
b: Vec<i64>,

View File

@@ -575,7 +575,7 @@ where
}
/// This is the public part of the commitment.
#[derive(Clone, Debug, serde::Serialize, serde::Deserialize)]
#[derive(Clone, Debug)]
pub struct PublicCommit<G: Curve> {
/// Mask of the public key
a: Vec<i64>,