-
Notifications
You must be signed in to change notification settings - Fork 12
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
no way to decode program #94
Comments
Also |
We added this functionality to hal-simplicity a while back, using unit values as placeholders in the witness. You ended up (de)serializing |
In #97 I fixed the issue, but I am going to do a followup PR that eliminates this logic entirely. |
Isn't the canonical way |
@uncomputable it could be, but I think we should change |
This relates to #43 that we have no concept of "program" in the code as an "expression" of type |
Near the bottom of #99 (which I should maybe split into multiple PRs) I add a |
Resolved by #99 |
It appears that there is no canonical way to decode a program as a
CommitNode
; thedecode_program_fresh_witness
function is private.Also, despite having "program" in the name, it does not check that the decoded node is 1->1. It should.
The text was updated successfully, but these errors were encountered: