From 665226c7fe98b49732843c940f8550edcb037c1a Mon Sep 17 00:00:00 2001 From: redshiftzero Date: Wed, 5 Jul 2023 19:45:39 -0400 Subject: [PATCH] fix: remove debugging lines (left in during #49) --- poseidon-permutation/CHANGELOG.md | 6 +++++- poseidon-permutation/Cargo.toml | 2 +- poseidon-permutation/src/r1cs.rs | 2 -- poseidon377/CHANGELOG.md | 4 ++++ poseidon377/Cargo.toml | 4 ++-- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/poseidon-permutation/CHANGELOG.md b/poseidon-permutation/CHANGELOG.md index 7a57ce2..92329ac 100644 --- a/poseidon-permutation/CHANGELOG.md +++ b/poseidon-permutation/CHANGELOG.md @@ -14,4 +14,8 @@ # 0.4.0 * Use `v1` APIs from parameter crates. -* Use `poseidon-permutation` R1CS implementation. \ No newline at end of file +* Use `poseidon-permutation` R1CS implementation. + +# 0.5.0 + +* Fix: Removing unnecessary debug output. diff --git a/poseidon-permutation/Cargo.toml b/poseidon-permutation/Cargo.toml index 85a33a8..6f3f0b8 100644 --- a/poseidon-permutation/Cargo.toml +++ b/poseidon-permutation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poseidon-permutation" -version = "0.4.0" +version = "0.5.0" edition = "2018" authors = ["Penumbra ", "redshiftzero "] description = "An instantiation of the Poseidon permutation" diff --git a/poseidon-permutation/src/r1cs.rs b/poseidon-permutation/src/r1cs.rs index 666cfed..65074d3 100644 --- a/poseidon-permutation/src/r1cs.rs +++ b/poseidon-permutation/src/r1cs.rs @@ -63,9 +63,7 @@ where self.state_words[i] += round_constants[round_constants_counter]; round_constants_counter += 1; } - dbg!("bout to SubWord: ", self.cs.num_constraints()); self.full_sub_words(); - dbg!("after x^a: ", self.cs.num_constraints()); self.mix_layer_mds(); } diff --git a/poseidon377/CHANGELOG.md b/poseidon377/CHANGELOG.md index bce3995..f8d34b0 100644 --- a/poseidon377/CHANGELOG.md +++ b/poseidon377/CHANGELOG.md @@ -18,3 +18,7 @@ # 0.5.0 * Use `poseidon-permutation` R1CS implementation. + +# 0.6.0 + +* Use `poseidon-permutation` version 0.5.0 to avoid spurious debug output. diff --git a/poseidon377/Cargo.toml b/poseidon377/Cargo.toml index 244670e..559fdb9 100644 --- a/poseidon377/Cargo.toml +++ b/poseidon377/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poseidon377" -version = "0.5.0" +version = "0.6.0" edition = "2018" authors = ["Penumbra ", "redshiftzero "] description = "An instantiation of the Poseidon hash for use with decaf377." @@ -17,7 +17,7 @@ decaf377 = { version="0.4", default-features = false, features = ["r1cs"] } num-bigint = { version = "0.4.3", default-features = false } once_cell = { version = "1.8", default-features = false } poseidon-parameters = { version="0.4", path = "../poseidon-parameters", default-features = false } -poseidon-permutation = { version="0.4", path = "../poseidon-permutation", default-features = false } +poseidon-permutation = { version="0.5", path = "../poseidon-permutation", default-features = false } # Dependencies added for ark-sponge vendoring ark-ec = { version = "0.4", default_features = false, optional=true }