Skip to content
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

Remove unused code, simplify Typ.Internal.ref to Typ.prover_value #850

Merged
merged 3 commits into from
Dec 12, 2024

Conversation

mrmr1993
Copy link
Member

This PR eliminates some unused code. This also replaces the complicated mutable As_prover.Ref.t with an immutable prover_value opaque type, reflecting its general usage.

@@ -145,24 +132,19 @@ module Make (Checked : Checked_monad) = struct
; check = (fun _ -> Checked.return ())
}

module Internal = struct
let snarkless value : _ t =
include struct
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😭

@dannywillems
Copy link
Member

I would trust the fact it compiles. I don't have the full context of the usage of the type in the module.

@dannywillems dannywillems merged commit 5d6f0c3 into master Dec 12, 2024
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants