diff --git a/taiga_halo2/src/circuit/blake2s.rs b/taiga_halo2/src/circuit/blake2s.rs index e61118ab..05085934 100644 --- a/taiga_halo2/src/circuit/blake2s.rs +++ b/taiga_halo2/src/circuit/blake2s.rs @@ -563,7 +563,7 @@ impl Blake2sChip { // | v[14] := v[14] ^ 0xFF..FF // Invert all bits. // END IF. let v_14 = if f { - Blake2sWord::from_constant_u32(IV[6] ^ u32::max_value(), layouter, self)? + Blake2sWord::from_constant_u32(IV[6] ^ u32::MAX, layouter, self)? } else { Blake2sWord::from_constant_u32(IV[6], layouter, self)? }; diff --git a/taiga_halo2/src/taiga_api.rs b/taiga_halo2/src/taiga_api.rs index a65330b0..e2840b3c 100644 --- a/taiga_halo2/src/taiga_api.rs +++ b/taiga_halo2/src/taiga_api.rs @@ -52,7 +52,6 @@ pub fn create_input_resource( ) } -/// pub fn create_output_resource( logic: pallas::Base, label: pallas::Base,