-
Notifications
You must be signed in to change notification settings - Fork 235
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
[Interop] Add circom circuits #725
Conversation
template Circuit(nodes){ | ||
|
||
//Non-inclusion Merkle Proof inputs | ||
signal input merkelizedInvoiceRoot; |
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.
should that not be merkelizedBankStateObject
?
signal input merkelizedInvoiceRoot; | ||
signal input stateTreeRoot; | ||
signal input stateTree[nodes]; | ||
signal input stateTreeLeafPosition[nodes]; |
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.
Same comment as above. Reference to BankStateObject
|
||
template Circuit(nodes){ | ||
|
||
//Non-inclusion Merkle Proof inputs |
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.
And we need proof of inclusion, not non-inclusion.
signal input stateTree[nodes]; | ||
signal input stateTreeLeafPosition[nodes]; | ||
|
||
//Signature inputs |
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.
We need the verification of signatures of ACME and ACME Customer
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.
@biscuitdey Looks good ... left a couple of comments. The primary comment is that we need to verify the signature of the ACME customer over the bank data object and the signature of ACME over the bank data object signed by the ACME customer.
Core-devsw 30.10.2023. |
Core dev 11/13 - Pending @biscuitdey to review comments |
This PR uses Ecdsa circuits. As we are moving to Eddsa signatures in the circom circuits, I am closing this PR. |
Description
Add the circom circuits for the interop demo. The circuit includes the non-inclusion merkle proof verifier and ecdsa signature verifier.
Related Issue
#724
Motivation and Context
Interop demo circuits
How Has This Been Tested
Tests will be added in future PRs
Types of changes
Checklist