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

feat(congestion_control) - Added more info to the InvalidCongestionInfo error #11461

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

wacban
Copy link
Contributor

@wacban wacban commented Jun 3, 2024

No description provided.

@wacban wacban requested a review from jakmeier June 3, 2024 14:27
@wacban wacban requested a review from a team as a code owner June 3, 2024 14:27
Comment on lines 215 to 217
(Some(_), None) => {
Err(Error::InvalidCongestionInfo("Congestion Information disappeared.".to_string()))
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it make sense to include the extra congestion info in the string?

Comment on lines 227 to 229
Err(Error::InvalidCongestionInfo(
"Congestion Information invalid after protocol upgrade.".to_string(),
))
Copy link
Contributor

Choose a reason for hiding this comment

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

Similarly, would it make sense to include the header congestion info in the string?

Copy link

codecov bot commented Jun 3, 2024

Codecov Report

Attention: Patch coverage is 37.50000% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 71.44%. Comparing base (96af8f7) to head (323b714).

Files Patch % Lines
chain/chain/src/validate.rs 40.00% 9 Missing ⚠️
chain/chain-primitives/src/error.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11461      +/-   ##
==========================================
- Coverage   71.45%   71.44%   -0.02%     
==========================================
  Files         785      785              
  Lines      158807   158817      +10     
  Branches   158807   158817      +10     
==========================================
- Hits       113473   113461      -12     
- Misses      40429    40455      +26     
+ Partials     4905     4901       -4     
Flag Coverage Δ
backward-compatibility 0.24% <0.00%> (-0.01%) ⬇️
db-migration 0.24% <0.00%> (-0.01%) ⬇️
genesis-check 1.37% <0.00%> (-0.01%) ⬇️
integration-tests 37.44% <12.50%> (-0.09%) ⬇️
linux 68.92% <0.00%> (-0.01%) ⬇️
linux-nightly 70.94% <37.50%> (-0.01%) ⬇️
macos 52.55% <0.00%> (-0.01%) ⬇️
pytests 1.59% <0.00%> (-0.01%) ⬇️
sanity-checks 1.38% <0.00%> (-0.01%) ⬇️
unittests 66.18% <25.00%> (-0.02%) ⬇️
upgradability 0.28% <0.00%> (-0.01%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wacban wacban enabled auto-merge June 3, 2024 14:54
@wacban wacban added this pull request to the merge queue Jun 3, 2024
Merged via the queue into master with commit f7679a7 Jun 3, 2024
27 of 29 checks passed
@wacban wacban deleted the waclaw-cc branch June 3, 2024 15:29
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.

2 participants