ChainSafe / ChainSafe/gossamer

Support BABE `OnDisabled` Consensus message

Open
#3,930 0 comments 0 reactions 1 assignee Claimed by @EclesioMeloJunior View on GitHub
C-complex P-low S-babe T-feat
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Issue summary

- This function does not look in the right place, this should be handled by the `dot/digest` package which interprets the OnDisable message from the block

- This consensus message should be handled at `dot/digest/block_import.go` since there we already support fork-awere consensus messages

https://spec.polkadot.network/sect-block-production#defn-consensus-message-babe

## Acceptance Criteria

- [ ] Receiving and decoding the runtime message properly
- [ ] Handling corner cases (authority does not exists)
- [ ] Make sure that the authority is disabled until the next authorities arrives

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.