Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
ledwards2225 committed Aug 11, 2023
1 parent 1733b5a commit 57c490e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*/
#include "composer_lib.hpp"
#include "barretenberg/srs/factories/crs_factory.hpp"
#include "barretenberg/honk/pcs/commitment_key.hpp"

namespace proof_system::plonk {

Expand Down Expand Up @@ -49,7 +50,7 @@ std::shared_ptr<plonk::verification_key> compute_verification_key_common(
auto circuit_verification_key = std::make_shared<plonk::verification_key>(
proving_key->circuit_size, proving_key->num_public_inputs, vrs, proving_key->circuit_type);
// TODO(kesha): Dirty hack for now. Need to actually make commitment-agnositc
using KZGCommitmentKey = honk::pcs::CommitmentKey<proof_system::honk::pcs::curve::BN254>;
using KZGCommitmentKey = honk::pcs::CommitmentKey<curve::BN254>;
auto commitment_key = KZGCommitmentKey(proving_key->circuit_size, proving_key->reference_string);

for (size_t i = 0; i < proving_key->polynomial_manifest.size(); ++i) {
Expand Down

0 comments on commit 57c490e

Please sign in to comment.