-
Notifications
You must be signed in to change notification settings - Fork 626
remove unused check #1765
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 unused check #1765
Conversation
WalkthroughThe pull request updates the version from v4.7.3 to v4.7.4 and modifies error handling in the GetL2UnclaimedWithdrawalsByAddress function. Instead of returning an error when the withdrawal history is empty, the function now proceeds to cache the empty result and delegates outcome handling downstream. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
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. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1765 +/- ##
========================================
Coverage 36.53% 36.54%
========================================
Files 247 247
Lines 21190 21186 -4
========================================
Hits 7742 7742
+ Misses 12618 12614 -4
Partials 830 830
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:
|
Thegaram
left a comment
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.
OK. Please fill in the PR description
Purpose or design rationale of this PR
Describe your change. Make sure to answer these three questions: What does this PR do? Why does it do it? How does it do it?
don't need this check, because will insert a empty value to the cache when the called addresss really don't have the claimed withdrawal.
scroll/bridge-history-api/internal/logic/history_logic.go
Lines 404 to 408 in 738f3c5
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
tagincommon/version.gobeen updated or have you addedbump-versionlabel to this PR?Breaking change label
Does this PR have the
breaking-changelabel?Summary by CodeRabbit
Bug Fixes
Chores
✏️ Tip: You can customize this high-level summary in your review settings.