-
Notifications
You must be signed in to change notification settings - Fork 626
refactor(coordinator): remove outdated logic #1668
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
refactor(coordinator): remove outdated logic #1668
Conversation
## Walkthrough
This change removes the legacy `EuclidVerifier` and its associated logic, consolidating verifier management to only use `EuclidV2Verifier`. All references to the old verifier are deleted, and related configuration handling is simplified. The version tag is incremented to "v4.5.18".
## Changes
| File(s) | Change Summary |
|------------------------------------------------------|------------------------------------------------------------------------------------------------|
| common/libzkp/impl/src/verifier.rs | Removed all references to `EuclidVerifier` and `VERIFIER_LOW`; simplified to only use `VERIFIER_HIGH` with `EuclidV2Verifier`. |
| common/libzkp/impl/src/verifier/euclid.rs | Deleted file; removed `EuclidVerifier` struct and its methods for proof verification and VK dumping. |
| coordinator/internal/logic/auth/login.go | Removed inclusion of `EuclidFork` and `EuclidV2Fork` in `highHardForks`; now only uses configured fork name. |
| common/version/version.go | Updated version tag from "v4.5.17" to "v4.5.18". |
## Sequence Diagram(s)
```mermaid
sequenceDiagram
participant Config
participant VerifierManager
participant EuclidV2Verifier
Config->>VerifierManager: Provide fork_name
VerifierManager->>EuclidV2Verifier: Initialize with fork_name
VerifierManager->>VerifierManager: Store EuclidV2Verifier as only verifier
Note over VerifierManager: Legacy EuclidVerifier is removed Possibly related PRs
Suggested reviewers
Poem
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1668 +/- ##
===========================================
+ Coverage 40.88% 40.98% +0.10%
===========================================
Files 225 225
Lines 18072 18071 -1
===========================================
+ Hits 7388 7406 +18
+ Misses 9967 9945 -22
- Partials 717 720 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Purpose or design rationale of this PR
The latest circuit version (
>= v0.3.0
) is not compatible witheuclid
prover/verifier anymore. This PR removes outdated logic.PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:
Deployment tag versioning
Has
tag
incommon/version.go
been updated or have you addedbump-version
label to this PR?Breaking change label
Does this PR have the
breaking-change
label?Summary by CodeRabbit
Chores
Refactor