-
Notifications
You must be signed in to change notification settings - Fork 27
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
refactor(minor-voting-verifier): integrate the voting-verifier with the into-event macro #743
base: main
Are you sure you want to change the base?
refactor(minor-voting-verifier): integrate the voting-verifier with the into-event macro #743
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #743 +/- ##
========================================
Coverage 93.36% 93.36%
========================================
Files 225 225
Lines 36359 36253 -106
========================================
- Hits 33947 33849 -98
+ Misses 2412 2404 -8 ☔ View full report in Codecov by Sentry. |
…he into-event macro
ee375c1
to
b1a9069
Compare
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.
Discussion: Should this be a major change? We are breaking compatibility with older ampd versions
@@ -635,6 +494,7 @@ mod test { | |||
None, | |||
], | |||
} | |||
.non_generic() | |||
.into(); | |||
|
|||
goldie::assert_json!(json!({ |
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.
can you make sure that we're exhaustively testing all events? So the test should break if we add a new event variant without adding it here
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.
Not sure how you can do that, but it's not necessary since this test is there to make sure the differences in the JSON before and after using the macro are OK. With new events, do we need them to be added here?
Description
Todos
Steps to Test
Expected Behaviour
Other Notes