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

[hotfix 0.107.x] fix: p2p alerts are not filterred in block chain info #3803

Conversation

doitian
Copy link
Member

@doitian doitian commented Jan 17, 2023

Rebase #3802 to v0.107.*

Merge #3804 first, which has upgraded tokio for https://rustsec.org/advisories/RUSTSEC-2023-0001

The root cause is that when launcher passes client version to alert
notifier, it uses the full format such as `0.107.0-rc1 (1b3e6b1
2023-01-12)`. However, the notifier internal uses semver to parse the
version directly. If it fails, it will consider all alerts as effective.

The solution: The launcher pass the short version format to alert
notifier.
@doitian doitian requested a review from a team as a code owner January 17, 2023 08:18
@doitian doitian requested a review from quake January 17, 2023 08:18
@doitian doitian changed the title fix: p2p alerts are not filterred in block chain info [hotfix] fix: p2p alerts are not filterred in block chain info Jan 17, 2023
@doitian doitian changed the title [hotfix] fix: p2p alerts are not filterred in block chain info [hotfix 0.107.*] fix: p2p alerts are not filterred in block chain info Jan 17, 2023
@doitian doitian mentioned this pull request Jan 17, 2023
4 tasks
@doitian doitian changed the title [hotfix 0.107.*] fix: p2p alerts are not filterred in block chain info [hotfix 0.107.x] fix: p2p alerts are not filterred in block chain info Jan 17, 2023
@zhangsoledad
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Jan 18, 2023

@bors bors bot merged commit 58745c9 into nervosnetwork:rc/v0.107.x Jan 18, 2023
@doitian doitian deleted the bugfix/filter-alerts-rebased-onto-v0.107.x branch September 13, 2023 08:22
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