-
Notifications
You must be signed in to change notification settings - Fork 237
fix: update voting_end_time
to next_emergency_tally_time
at tally
#388
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
Conversation
📝 WalkthroughWalkthroughThis change refines the emergency proposal handling by updating the Changes
Sequence Diagram(s)sequenceDiagram
participant P as Proposal
participant H as handleTallyResult
participant EQ as EmergencyQueue
participant TS as TallyScheduler
P->>H: Process emergency proposal
H->>EQ: Remove proposal from emergency list & queue
H->>H: Update VotingEndTime = EmergencyNextTallyTime
H->>TS: Schedule next tally step
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (2)
✨ Finishing Touches
🪧 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 (
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #388 +/- ##
=======================================
Coverage 40.03% 40.03%
=======================================
Files 294 294
Lines 27508 27509 +1
=======================================
+ Hits 11012 11013 +1
Misses 14796 14796
Partials 1700 1700
🚀 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
Description
To properly show the voting end time, we need to update voting end time to next emergency tally time at tally handler.
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
in the type prefix if API or client breaking changeReviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...