Fix tried to send handshake twice#5413
Conversation
| NotificationsInSubstreamHandshake::NotSent => | ||
| return Poll::Pending, | ||
| NotificationsInSubstreamHandshake::NotSent => { | ||
| *this.handshake = NotificationsInSubstreamHandshake::NotSent; |
There was a problem hiding this comment.
The main bugfix is here.
The rest of the PR is only the log statements that I added a bit everywhere in my attempts to understand the issue.
romanb
left a comment
There was a problem hiding this comment.
Not sure about the test failure on should_revalidate_across_many_blocks, I think I've seen it before (i.e. I think it is just a flaky test, but don't take my word for it).
test was fixed, just merge master @tomaka |
|
#5360 has been merged and triggers this error way more often, so I'm going to merge this fix as soon as the CI passes. |
|
@NikVolf Now it's |
cc #5201
There was a possible state inconsistency in the
NotificationsInSubstream.