-
Notifications
You must be signed in to change notification settings - Fork 80
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
refactor: switch to consume_intermediate_mle
in ProofPlan::verifier_evaluate
#155
Conversation
is_top_level
to prover_evaluate
and verifier_evaluate
for ProofPlan
sis_top_level
to prover_evaluate
and verifier_evaluate
for ProofPlan
s
6c8f329
to
49b64de
Compare
28c2e74
to
35de9cc
Compare
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.
My biggest concert here is that a node could produce a different number of intermediate mles and result mles, depending on whether it is top level or not. This would mean that consume_result_or_intermediate_mle
doesn't really cover all cases.
I don't have a great solution to this problem, but I don't think this is the correct one.
cb20a4e
to
ced1b34
Compare
is_top_level
to prover_evaluate
and verifier_evaluate
for ProofPlan
sconsume_intermediate_mle
in ProofPlan::verifier_evaluate
9353ad4
to
51e87eb
Compare
33b5144
to
994fbe1
Compare
e4cb1ec
to
8d653b9
Compare
56b7695
to
8e8acf9
Compare
6b90319
to
039d52e
Compare
1b2a631
to
9d25ec3
Compare
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.
Conflicts need to be resolved. But, otherwise, approved.
…r_evaluate` - `ProofPlan` change above - remove `consume_result_mle` from `VerificationBuilder`
9d25ec3
to
418bf75
Compare
418bf75
to
4dfae4a
Compare
Rationale for this change
In order to accommodate composition of
ProofPlan
s we need to allow either result or intermediate MLEs to be used depending on whether the plan is at top level.What changes are included in this PR?
consume_intermediate_mle
inProofPlan::verifier_evaluate
Are these changes tested?
Existing tests should pass