-
Notifications
You must be signed in to change notification settings - Fork 129
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
Try fix duplicate header relay #1323
Conversation
Hey! Thanks for the PR, but I have some questions:
|
You can read the log in this issue darwinia-network/bridger#344
The source chain block number is great than source_confirmed_in_target_chain. so there
latest_confirmed_nonces_at_source not pop front.then parity-bridges-common/relays/messages/src/message_race_delivery.rs Lines 414 to 420 in 88d684d
latest_confirmed_nonces_at_source
|
Thanks for the explanation. Still, imo this fix reverts #719, which is not good.
I've made a quick and dirty fix for that - please see #1328. Is it possible for you to test if it is fixing your issue (I mean - instead of fix from this PR)? #1328 is not in final stage yet - it is definitely missing tests and I need to think whether it breaks something else, but I believe, it shall fix your issue. |
Thanks, I'll test use your pull request. |
In our tests, it was found that if multiple bridges are started, many meaningless repeated header relays will be sent. After making this modification, this problem will be alleviated.
Related: