-
Notifications
You must be signed in to change notification settings - Fork 244
Block sync #139
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
Block sync #139
Conversation
* aggregator renamed to blockManager * blocks are passed to blockManager after gossiping * DALC(BlockRetriever) used to fetch block data * more refactoring needed * more tests needed
Codecov Report
@@ Coverage Diff @@
## main #139 +/- ##
==========================================
- Coverage 57.07% 55.57% -1.51%
==========================================
Files 24 29 +5
Lines 2127 3741 +1614
==========================================
+ Hits 1214 2079 +865
- Misses 786 1375 +589
- Partials 127 287 +160
Continue to review full report at Codecov.
|
b608536 to
9748cea
Compare
|
Can you resolve merge conflicts before review? ty |
1ae0dbe to
f91bef0
Compare
liamsi
left a comment
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.
Looks great on first sight! More in-depth review following soon.
| go install github.com/ory/[email protected] | ||
| go-acc -o coverage.txt ./... -- -v --race |
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.
Interesting, I didn't know about this tool.
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.
You can read about it here: https://www.ory.sh/golang-go-code-coverage-accurate/
adlerjohn
left a comment
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.
Looks fine to me, but suggest waiting for a review from @liamsi as well.
liamsi
left a comment
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 don't fully understand the rationale behind the renaming to block manager but this looks good to me.
blockManagerout ofnodepackage)