Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

node: setup disabled grandpa properly#3356

Merged
rphmeier merged 1 commit intomasterfrom
andre/fix-no-grandpa-again
Aug 9, 2019
Merged

node: setup disabled grandpa properly#3356
rphmeier merged 1 commit intomasterfrom
andre/fix-no-grandpa-again

Conversation

@andresilva
Copy link
Contributor

When we run with GRANDPA disabled besides registering the finality tracker inherent provider we must also register a gossip validator for GRANDPA messages, otherwise we will ban peers who send us GRANDPA Neighbor messages since there's no validator associated with consensus engine id of message. I added a validator that just discards all messages. I tested this locally with 2 authorities (one running with --no-grandpa) and it works correctly now.

@andresilva andresilva added A0-please_review Pull request needs code review. M4-core labels Aug 9, 2019
@andresilva andresilva requested review from bkchr and rphmeier August 9, 2019 13:34
@rphmeier rphmeier added A8-looksgood and removed A0-please_review Pull request needs code review. labels Aug 9, 2019
@rphmeier rphmeier merged commit 765aa80 into master Aug 9, 2019
@rphmeier rphmeier deleted the andre/fix-no-grandpa-again branch August 9, 2019 14:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants