-
Notifications
You must be signed in to change notification settings - Fork 110
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
chore(dot/sync): simplify processBlockData
and associated tests
#2811
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## development #2811 +/- ##
===============================================
+ Coverage 63.40% 63.47% +0.07%
===============================================
Files 218 218
Lines 27496 27505 +9
===============================================
+ Hits 17434 17460 +26
+ Misses 8461 8442 -19
- Partials 1601 1603 +2 |
ceb798e
to
1d661d6
Compare
793bebc
to
7707152
Compare
e4d3ce8
to
b3c84a1
Compare
b1dbb04
to
81c1568
Compare
81c1568
to
755c22c
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.
755c22c
to
b00715a
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.
I cannot review the logic but left some questions and comments regarding style :)
917f5ca
to
354d4c7
Compare
56ab6ce
to
e2429de
Compare
e2429de
to
8c5bac2
Compare
8c5bac2
to
eab9165
Compare
eab9165
to
2de6f19
Compare
🎉 This PR is included in version 0.7.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Changes
processBlockData
:processBlockDataWithHeaderAndBody
function with testprocessBlockDataWithStateHeaderAndBody
function with testblockData
as value argument instead of pointers
toc
forchainProcessor
processBlockData
(now covered in subfunctions associated tests)handleJustification
.Done whilst fixing tests in #2774
🆕 is kinda blocking me on #2912 (trying to fix the memmm)
Tests
go test -tags integration github.com/ChainSafe/gossamer/dot/sync
Issues
Primary Reviewer
@edwardmack