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

fix: replace an unreachable with debug logs and ban the peer #146

Merged
merged 1 commit into from
May 17, 2023

Conversation

yangby-cryptape
Copy link
Collaborator

Since I could not reproduce the panic in #145 and I haven't figured out why it happened, so I just replace the unreachable with debug logs and ban the peer.

@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: -0.05 ⚠️

Comparison is base (56c09c6) 69.85% compared to head (96883c9) 69.81%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #146      +/-   ##
===========================================
- Coverage    69.85%   69.81%   -0.05%     
===========================================
  Files           25       25              
  Lines         6347     6348       +1     
===========================================
- Hits          4434     4432       -2     
- Misses        1913     1916       +3     
Flag Coverage Δ
unittests 69.81% <0.00%> (-0.05%) ⬇️

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

Impacted Files Coverage Δ
...s/light_client/components/send_last_state_proof.rs 93.06% <0.00%> (-0.14%) ⬇️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@quake quake merged commit 8bf960e into nervosnetwork:develop May 17, 2023
@yangby-cryptape yangby-cryptape deleted the pr/more-debug-logs branch June 30, 2023 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants