Skip to content
Commit c1865988 authored by Adrian Catangiu's avatar Adrian Catangiu Committed by GitHub
Browse files

Name changes for GrandPa and Beefy notifications protocols (#10463)



* grandpa: update notif protocol name

* grandpa: add chain id prefix to protocol name

* grandpa: beautify protocol name handling

* grandpa: prepend genesis hash to protocol name

* chain-spec: add optional 'fork_id'

'fork_id' is used to uniquely identify forks of the same chain/network
'ChainSpec' trait provides default 'None' implementation, meaning this
chain hasn't been forked.

* grandpa: protocol_name mod instead of struct

* beefy: add genesis hash prefix to protocol name

* chainspec: add fork_id

* grandpa: simplify protocol name

* grandpa: contain protocol name building logic

* beefy: contain protocol name building logic

* grandpa: fix tests

* fix merge damage

* fix docs reference visibility

Signed-off-by: default avataracatangiu <[email protected]>

* Update client/finality-grandpa/src/lib.rs

Co-authored-by: default avatarTomasz Drwięga <[email protected]>

* Update client/finality-grandpa/src/communication/mod.rs

Co-authored-by: default avatarTomasz Drwięga <[email protected]>

* Update client/beefy/src/lib.rs

Co-authored-by: default avatarTomasz Drwięga <[email protected]>

* Update client/beefy/src/lib.rs

Co-authored-by: default avatarTomasz Drwięga <[email protected]>

* avoid using hash default, even for protocol names

Co-authored-by: default avatarTomasz Drwięga <[email protected]>
parent 223d929f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment