From 0c773d1cb290bb4c3322bbff7b1bc98c9d5f8d3d Mon Sep 17 00:00:00 2001 From: codygunton Date: Mon, 17 Apr 2023 16:25:44 +0000 Subject: [PATCH] Get rid of some commented-out code --- cpp/src/barretenberg/dsl/acir_format/sha256_constraint.cpp | 2 -- .../join_split_example/proofs/join_split/c_bind.cpp | 1 - .../plonk/proof_system/types/polynomial_manifest.hpp | 2 +- .../barretenberg/stdlib/primitives/biggroup/biggroup.test.cpp | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/cpp/src/barretenberg/dsl/acir_format/sha256_constraint.cpp b/cpp/src/barretenberg/dsl/acir_format/sha256_constraint.cpp index 90ff8d40b8..07c8166bd1 100644 --- a/cpp/src/barretenberg/dsl/acir_format/sha256_constraint.cpp +++ b/cpp/src/barretenberg/dsl/acir_format/sha256_constraint.cpp @@ -5,8 +5,6 @@ namespace acir_format { -// using namespace ; - // This function does not work (properly) because the stdlib:sha256 function is not working correctly for 512 bits // pair void create_sha256_constraints(Composer& composer, const Sha256Constraint& constraint) diff --git a/cpp/src/barretenberg/join_split_example/proofs/join_split/c_bind.cpp b/cpp/src/barretenberg/join_split_example/proofs/join_split/c_bind.cpp index 1a621d042d..5ee4b90fad 100644 --- a/cpp/src/barretenberg/join_split_example/proofs/join_split/c_bind.cpp +++ b/cpp/src/barretenberg/join_split_example/proofs/join_split/c_bind.cpp @@ -14,7 +14,6 @@ #include "barretenberg/join_split_example/types.hpp" using namespace barretenberg; -// using namespace proof_system::plonk::stdlib; using namespace join_split_example::proofs::join_split; #define WASM_EXPORT __attribute__((visibility("default"))) diff --git a/cpp/src/barretenberg/plonk/proof_system/types/polynomial_manifest.hpp b/cpp/src/barretenberg/plonk/proof_system/types/polynomial_manifest.hpp index aefd348ff9..8a56d34168 100644 --- a/cpp/src/barretenberg/plonk/proof_system/types/polynomial_manifest.hpp +++ b/cpp/src/barretenberg/plonk/proof_system/types/polynomial_manifest.hpp @@ -3,7 +3,7 @@ #include #include #include -#include "barretenberg/plonk/proof_system/constants.hpp" +#include "barretenberg/proof_system/types/composer_type.hpp" namespace proof_system::plonk { diff --git a/cpp/src/barretenberg/stdlib/primitives/biggroup/biggroup.test.cpp b/cpp/src/barretenberg/stdlib/primitives/biggroup/biggroup.test.cpp index 32eb7d5b80..e3b6576e9f 100644 --- a/cpp/src/barretenberg/stdlib/primitives/biggroup/biggroup.test.cpp +++ b/cpp/src/barretenberg/stdlib/primitives/biggroup/biggroup.test.cpp @@ -19,7 +19,6 @@ namespace { auto& engine = numeric::random::get_debug_engine(); } -// using namespace barretenberg; using namespace proof_system::plonk; // One can only define a TYPED_TEST with a single template paramter.