Skip to content
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

devp2p: fix per-message debug logging #1776

Merged
merged 4 commits into from
Mar 11, 2022
Merged

devp2p: fix per-message debug logging #1776

merged 4 commits into from
Mar 11, 2022

Conversation

ryanio
Copy link
Contributor

@ryanio ryanio commented Mar 10, 2022

Quick fix following up on #1600 (review), the main issue here was that the per-message debug logs were not prefixed with devp2p (so they were being output e.g. eth:STATUS rather than devp2p:eth:STATUS)

edit: I have also further consolidated the classes, moving _version and _send to the parent class

@codecov
Copy link

codecov bot commented Mar 10, 2022

Codecov Report

Merging #1776 (5c7a8aa) into master (2771a8b) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

Flag Coverage Δ
block 85.57% <ø> (ø)
blockchain 83.28% <ø> (ø)
client 75.82% <ø> (ø)
common 93.90% <ø> (ø)
devp2p 82.63% <100.00%> (-0.01%) ⬇️
ethash 90.76% <ø> (ø)
trie 80.02% <ø> (-0.50%) ⬇️
tx 88.20% <ø> (ø)
util 92.62% <ø> (ø)
vm 81.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Member

@holgerd77 holgerd77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@holgerd77 holgerd77 merged commit ba916e5 into master Mar 11, 2022
@holgerd77 holgerd77 deleted the devp2p-fix-debug branch March 11, 2022 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants