-
Notifications
You must be signed in to change notification settings - Fork 626
fix(rollup-relayer): update commit status logic #1656
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(rollup-relayer): update commit status logic #1656
Conversation
WalkthroughThe version tag in the codebase was updated from "v4.5.7" to "v4.5.8". Additionally, the logic for updating the Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant ORM
participant Database
Caller->>ORM: UpdateCommitTxHashAndRollupStatus(batchID, txHash, status)
ORM->>Database: Execute SQL UPDATE with CASE on rollup_status
Database-->>ORM: Update result
ORM-->>Caller: Return result
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (1)
✨ 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:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1656 +/- ##
========================================
Coverage 40.67% 40.68%
========================================
Files 225 225
Lines 18417 18415 -2
========================================
+ Hits 7492 7493 +1
+ Misses 10193 10191 -2
+ Partials 732 731 -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:
|
Purpose or design rationale of this PR
When the status is "finalizing" or "finalized", other info fields of the commit status should still be updated.
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
Bug Fixes