-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Print an error if a collator connects to a node without real-overseer #2563
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TY!
I didn't observe a warning when running https://github.com/paritytech/polkadot/blob/master/parachain/test-parachains/adder/collator/README.md with validators w/o |
Nice. This will partially address #2546 |
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Good question. |
Nice
|
if protocol == "/polkadot/collation/1" { | ||
tracing::warn!( | ||
"Incoming collator on a node with parachains disabled. This warning \ | ||
is harmless and is here to warn developers that they might have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you probably meant to use \
after everyline? but that's fine as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah
* master: Make Substrate deps uniform (#2589) Mostly, let guide reflect #2579 (#2583) add accountkey20 conversion impls (#2576) Substrate companion #8275 (#2575) Make warning nicer (#2569) Print an error if a collator connects to a node without real-overseer (#2563) add log message when real-overseer is enabled (#2565) Jaeger spans for availability distribution (#2559) Fix links in docs. (#2556) bump spec versions in kusama, polkadot and westend again (#2557) Guide update for availability distribution. (#2554) Whole subsystem test for new availability-distribution (#2552) Companion for `ExecuteBlock` changes in Substrate (#2548) Initialize telemetry earlier (#2549)
It's not a lot of code, and it can prevent stupid accidental mistakes.
Note that I haven't tested if this works, but it seems pretty straight-forward.