-
Notifications
You must be signed in to change notification settings - Fork 623
fix(coordinator): support darwin chunk provers #1640
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
fix(coordinator): support darwin chunk provers #1640
Conversation
WalkthroughThis pull request updates the version tag in the common version file and introduces new conditional checks in two coordinator logic files. The version update in Changes
Sequence Diagram(s)sequenceDiagram
participant LoginClient as Login Client
participant LoginLogic as Login Logic
LoginClient->>LoginLogic: Request hard fork name (prover version "v4.4.56")
alt Version is "v4.4.56"
LoginLogic-->>LoginClient: Return "darwin"
else Other version flow
LoginLogic-->>LoginClient: Retrieve fork name via map lookup
end
sequenceDiagram
participant TaskClient as Task Dispatcher
participant TaskHandler as Prover Task Handler
TaskClient->>TaskHandler: Process task (ProofTypeChunk, "darwinV2", version "v4.4.56")
alt Conditions met (ProofTypeChunk and "darwinV2")
TaskHandler-->>TaskClient: Return hardForkName early
else Default validation
TaskHandler-->>TaskClient: Validate hardForkName via map
end
Possibly related PRs
Suggested reviewers
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (1.64.8)level=warning msg="[runner] Can't run linter goanalysis_metalinter: buildir: failed to load package zstd: could not load export data: no export data for "github.com/scroll-tech/da-codec/encoding/zstd"" 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🧰 Additional context used🧬 Code Graph Analysis (1)coordinator/internal/logic/provertask/prover_task.go (2)
🔇 Additional comments (3)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1640 +/- ##
========================================
Coverage 41.41% 41.42%
========================================
Files 222 222
Lines 18311 18319 +8
========================================
+ Hits 7584 7589 +5
- Misses 9985 9987 +2
- Partials 742 743 +1
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:
|
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.
LGTM
Purpose or design rationale of this PR
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