Skip to content

Commit

Permalink
woops
Browse files Browse the repository at this point in the history
  • Loading branch information
ledwards2225 committed Dec 11, 2023
1 parent 94ace1a commit b17dc2d
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ template <UltraFlavor Flavor> class UltraComposer_ {
static constexpr size_t NUM_WIRES = CircuitBuilder::NUM_WIRES;

// The crs_factory holds the path to the srs and exposes methods to extract the srs elements
// std::shared_ptr<CRSFactory> crs_factory_;
std::shared_ptr<CRSFactory> crs_factory_ = barretenberg::srs::get_crs_factory();
std::shared_ptr<CRSFactory> crs_factory_;
// std::shared_ptr<CRSFactory> crs_factory_ = barretenberg::srs::get_crs_factory();
// std::shared_ptr<CRSFactory> crs_factory_ = std::make_shared<CRSFactory>();
// The commitment key is passed to the prover but also used herein to compute the verfication key commitments
std::shared_ptr<CommitmentKey> commitment_key;
Expand All @@ -62,7 +62,8 @@ template <UltraFlavor Flavor> class UltraComposer_ {

std::shared_ptr<CommitmentKey> compute_commitment_key(size_t circuit_size)
{
commitment_key = std::make_shared<CommitmentKey>(circuit_size + 1, crs_factory_); // WORKTODO
commitment_key =
std::make_shared<CommitmentKey>(circuit_size + 1, barretenberg::srs::get_crs_factory()); // WORKTODO
return commitment_key;
};

Expand Down

0 comments on commit b17dc2d

Please sign in to comment.