-
Notifications
You must be signed in to change notification settings - Fork 30
chore(code): Move mode check for effect handling in engine #942
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #942 +/- ##
===========================
===========================
☔ View full report in Codecov by Sentry. |
code/crates/engine/src/consensus.rs
Outdated
let should_broadcast = match &msg { | ||
SignedConsensusMsg::Vote(_) => true, | ||
_ => value_payload.include_proposal(), | ||
}; |
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.
Let's refactor this into a function that we can use here and for the WAL below
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.
I think for the WAL we will have to remove the check when we fix #897. So we have three options
- refactor now and undo when we fix code: WAL scenarios for Proposal #897
- leave things as they are
- fix code: WAL scenarios for Proposal #897 in this PR
* Move proposal and vote signature verification in the engine * Cleanup Resume variants and updates to adr-004 * Move certificate verification in the engine
✅ Semver Check PassedGreat job! All semver violations have been resolved. This PR now complies with semantic versioning rules. If you made version updates, please ensure that:
|
Closes: #XXX
PR author checklist
For all contributors
For external contributors