Commit 9d8a2fe
Don't bubble up errors during collator score parsing in collator protocol (#11496)
When starting the node with a warp sync and we hit a period near the
`WARP_SYNC_TARGET_BLOCK` (each 512 blocks) we might not be able to call
a runtime apis for some blocks, which will yield an error in the
collator protocol revamp.
Don't bubble up such errors to prevent the subsystem from exiting.
---------
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent 9f59e2c commit 9d8a2fe
File tree
2 files changed
+35
-1
lines changed- polkadot/node/network/collator-protocol/src/validator_side_experimental/peer_manager
- prdoc
2 files changed
+35
-1
lines changedLines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
| 509 | + | |
509 | 510 | | |
510 | 511 | | |
511 | 512 | | |
| |||
517 | 518 | | |
518 | 519 | | |
519 | 520 | | |
520 | | - | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
521 | 545 | | |
522 | 546 | | |
523 | 547 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments