-
Notifications
You must be signed in to change notification settings - Fork 37
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 the legacy contract and integrate the batching one #386
Conversation
e7fb2e0
to
c2a7cdd
Compare
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## batching/main #386 +/- ##
=================================================
+ Coverage 42.36% 43.12% +0.75%
=================================================
Files 30 29 -1
Lines 6798 7217 +419
=================================================
+ Hits 2880 3112 +232
- Misses 3918 4105 +187
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
c2a7cdd
to
fa8dc6c
Compare
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.
Looks good in general! Few nitpicks inline.
This commit removes any use of the legacy contract from the codebase. This means that, while the code still exists due to some dependencies, it is no longer used. The batching contract is no-longer gated behind a feature flag. It is now fully integrated with the batching contract on chain, as well as the prover service used to generate proofs for verification on chain. These interactions are tested, and while multiple components are mocked the signup sequencer portion of the code is as it should be with the real external dependencies.
fa8dc6c
to
7a0616e
Compare
I am so sorry for the size of this PR, but most of that horrendous line count is the new compiled contracts required for testing. It's big regardless, though.
This PR removes any use of the legacy contract from the codebase. This means that, while the code still exists due to some dependencies, it is no longer used. The batching contract is no-longer gated behind a feature flag.
It is now fully integrated with the batching contract on chain, as well as the prover service used to generate proofs for verification on chain. These interactions are tested, and while multiple components are mocked the signup sequencer portion of the code is as it should be with the real external dependencies.
Note that running the tests on macOS may trigger firewall protections that you need to disable. This depends on your macOS version.
Closes #259