-
Notifications
You must be signed in to change notification settings - Fork 2
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 Groth16VerifierExtensions.sol #412
Conversation
@RyanRHall I think this is a good idea directionally but we need to be careful about the implications. For example if we move it out, then we can't test any upgrades "easily". For example say we need to change the public inputs of our proof, then that file That means we would need to move some of our current test framework to the contracts repo. |
We have some discussion today. If we want to test But we need to make
What do you think? |
Which verifier.sol ? |
(X-posted from the slack thread) my concerns with our current cross-repo contract setup are:
I should also say, I think 1 & 2 above can be addressed without moving the contracts out of mp2. |
The PRs to update |
Closing for now, pending larger discussion on dependency management and E2E testing |
I'd like to move ownership of this contract from MR-P2 repo to the contracts repo. This contract acts as a template when generating new verifiers and is integral to the deployment process. I'd like to make some tweaks to reduce our deployment complexity and to increase our test-ability. But moving ownership of this contract to the contracts repo is a blocker.
As far as I can tell, this contract is not used anywhere in this repo, including tests (not sure why the CI failure, but it seems unrelated).
I've left the two other contracts in this repo alone, the
verifier.sol
andTestGroth16Verifier.sol
. These seem like they are actually used in tests. In the future, I might push us to migrate these also, but for now I don't think there's an urgent need.