-
Notifications
You must be signed in to change notification settings - Fork 592
chore: towards no more mock op_queues #12984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
1f28931
066d26e
fd62096
fe2c547
40b654c
02af72c
f57d6f8
1eeca60
20b4dfe
a0ad5d8
32011fb
8332895
8ac93af
2498de4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| barretenberg_module(goblin ultra_honk eccvm translator_vm stdlib_honk_verifier stdlib_pedersen_commitment stdlib_sha256 ) | ||
| barretenberg_module(goblin ultra_honk eccvm translator_vm stdlib_honk_verifier stdlib_pedersen_commitment stdlib_sha256 ) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,4 +5,4 @@ barretenberg_module( | |
| stdlib_honk_verifier | ||
| stdlib_eccvm_verifier | ||
| stdlib_translator_vm_verifier | ||
| ) | ||
| ) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,11 +12,9 @@ template <class Flavor> | |
| MergeProver_<Flavor>::MergeProver_(const std::shared_ptr<ECCOpQueue>& op_queue, | ||
| std::shared_ptr<CommitmentKey> commitment_key) | ||
| : op_queue(op_queue) | ||
| { | ||
| // Update internal size data in the op queue that allows for extraction of e.g. previous aggregate transcript | ||
| pcs_commitment_key = | ||
| commitment_key ? commitment_key : std::make_shared<CommitmentKey>(op_queue->get_ultra_ops_table_num_rows()); | ||
| } | ||
| , pcs_commitment_key(commitment_key ? commitment_key | ||
| : std::make_shared<CommitmentKey>(op_queue->get_ultra_ops_table_num_rows())) | ||
| {} | ||
|
|
||
| /** | ||
| * @brief Prove proper construction of the aggregate Goblin ECC op queue polynomials T_j, j = 1,2,3,4. | ||
|
|
@@ -41,10 +39,6 @@ template <typename Flavor> MergeProver_<Flavor>::MergeProof MergeProver_<Flavor> | |
| std::array<Polynomial, NUM_WIRES> T_prev = op_queue->construct_previous_ultra_ops_table_columns(); | ||
| std::array<Polynomial, NUM_WIRES> t_current = op_queue->construct_current_ultra_ops_subtable_columns(); | ||
|
|
||
| // TODO(#723): Cannot currently support an empty T_prev. Need to be able to properly handle zero commitment. | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 723 is a closed issue, we can handle zero commitments in some of the scenarios, the issues remain around this AztecProtocol/barretenberg#993
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the issue you mention can also be closed now. We're always going to run the merge regardless of whether a circuit adds ops or not. Issue AztecProtocol/barretenberg#905 is still relevant though |
||
| ASSERT(T_prev[0].size() > 0); | ||
| ASSERT(T_current[0].size() > T_prev[0].size()); // Must have some new ops to accumulate otherwise [t_j] = 0 | ||
|
|
||
| const size_t current_table_size = T_current[0].size(); | ||
| const size_t current_subtable_size = t_current[0].size(); | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot to commit this in my previous PR