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: isolate event-dispatcher serialization code #4545
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #4545 +/- ##
==========================================
- Coverage 83.34% 83.23% -0.12%
==========================================
Files 453 453
Lines 328342 328354 +12
Branches 323 323
==========================================
- Hits 273650 273292 -358
- Misses 54684 55054 +370
Partials 8 8
... and 36 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
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
91fd68f
to
9664056
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.
LGTM!
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
Closes #4492
Supersedes #4546
A few structs used in consensus critical or db migration critical areas were also being reused for serializing to JSON in the event dispatcher. Since then, several changes were made only for the event dispatcher JSON serialization, and in one case likely broke db migrations.
This PR moves the event-dispatcher-specific code out of those more core areas.