-
Notifications
You must be signed in to change notification settings - Fork 1k
chore: fix incorrect logging in updateHead
#4191
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
Conversation
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.
Nice
Could you run |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4191 +/- ##
==========================================
- Coverage 44.83% 34.98% -9.85%
==========================================
Files 265 317 +52
Lines 14620 24758 +10138
==========================================
+ Hits 6555 8662 +2107
- Misses 7313 15167 +7854
- Partials 752 929 +177 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
cristaloleg done. |
You've added lots of dots? why? |
This is a logical conclusion to the sentence. |
Please revert these dots. 1) that's not the scope of PR, 2) that's adds additional changes in git history for not a big reason. Thanks. |
cristaloleg, np! updated. |
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.
Nice find! Would appreciate if you can do small good to haves before we merge
@santamasa Do you mind to take a look at suggested changes? |
I noticed that
s.networkHead
was being updated after the log statement, causing"from_height"
to always match"to_height"
.Now, the old value is stored before updating, ensuring the log accurately reflects the height change.