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

SRI - Add the Verifirer.sol as an zkp artifact to the BPI and env #815

Closed
2 of 3 tasks
ognjenkurtic opened this issue Jul 18, 2024 · 3 comments · Fixed by #818
Closed
2 of 3 tasks

SRI - Add the Verifirer.sol as an zkp artifact to the BPI and env #815

ognjenkurtic opened this issue Jul 18, 2024 · 3 comments · Fixed by #818
Assignees
Milestone

Comments

@ognjenkurtic
Copy link
Collaborator

ognjenkurtic commented Jul 18, 2024

  • Do it
  • Extend readme
  • Deploy verifier contract in deploy.ts
@ognjenkurtic ognjenkurtic added this to the mil5 milestone Jul 18, 2024
@biscuitdey biscuitdey linked a pull request Jul 18, 2024 that will close this issue
10 tasks
@ognjenkurtic
Copy link
Collaborator Author

@biscuitdey what is the status here? are we going with 3 separate verifier contracts or a single one?

@biscuitdey
Copy link
Collaborator

@biscuitdey what is the status here? are we going with 3 separate verifier contracts or a single one?

@ognjenkurtic We are using 3 separate verifier contracts for the 3 worksteps for now,
because the verification key values are hardcoded inside the contract.
Using one verifier contract (where we pass the verification key as a function
param) is not possible as the contract uses assembly inside solidity contract
and assembly does not accept local variables. Also, if we declare the values as
storage variables, then we would have to change the verifyFunction code it as
there is different syntax to use storage variables.

Andreas suggested that we create a single verifier contract as an improvement later on. This would require us to alter how the verification key variables are called and utilised. Do you suggest we do it now or keep it for later?

@ognjenkurtic
Copy link
Collaborator Author

ognjenkurtic commented Jul 25, 2024 via email

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 a pull request may close this issue.

2 participants