-
Notifications
You must be signed in to change notification settings - Fork 547
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
[develop] Reset feature flags before assertion + tests #14405
Conversation
!ci-build-me |
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.
Approved with one minor thing caught with sign coefficient. Other than that a couple questions and suggestions.
|
||
let tag, _cache_handle, proof, Pickles.Provers.[ prove ] = | ||
Zkapps_examples.compile ~auxiliary_typ:Typ.unit | ||
~branches:(module Nat.N1) |
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.
aside: maybe we should call this parameter choice_count
instead of branches
or rename choices
to branches
and call it branch_count
src/lib/gossip_net/libp2p.ml
Outdated
@@ -217,7 +217,7 @@ module Make (Rpc_intf : Network_peer.Rpc_intf.Rpc_interface_intf) : | |||
| Mina_net2.Libp2p_helper_died_unexpectedly -> | |||
on_unexpected_termination () | |||
| _ -> | |||
raise exn | |||
Exn.reraise exn "Mina_net2 raised an exception" |
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 guess this is unrelated?
src/lib/pickles/fix_domains.ml
Outdated
range_check0 || range_check1 || rot | ||
in | ||
let range_check_table_used_again = | ||
(* FIXME: This is a hack around a bug in proof-systems. *) |
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.
What happened here?
; foreign_field_modulus0 = Field.Constant.of_int 1 | ||
; foreign_field_modulus1 = Field.Constant.of_int 0 | ||
; foreign_field_modulus2 = Field.Constant.of_int 0 | ||
; sign = Field.Constant.of_int 0 |
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.
This doesn't look right to me. The sign should be +1 (for addition) or -1 (for subtraction).
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.
Changes in app/zkapps_examples/test
look good
This now includes o1-labs/proof-systems#1334 |
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.
Bumping others approval (did not review). Only a comment: was there not a decision to go with Alcotest
instead of ppx_inline_tests
?
I recall we agreed this would be nicer. At this point, it might be better to change the framework in one go |
!ci-build-me |
!ci-build-me |
!ci-build-me |
This is #14402, with some additional tests using infrastructure that isn't available in that branch, as well as a temporary hack around a bug in proof-systems to make the test work. This also carries some changes from the merge with it.
From #14402:
Checklist: