Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

BEEFY protocol name should change in accordance to GRANDPA protocol name #240

Closed
adoerr opened this issue Jul 18, 2021 · 4 comments · Fixed by paritytech/substrate#10463
Closed
Assignees
Labels
enhancement New feature or request M-gadget The client code of the gadget.
Projects

Comments

@adoerr
Copy link
Contributor

adoerr commented Jul 18, 2021

The reasons outlined in Change the name of the GrandPa notifications protocol are valid for BEEFY as well.

Hence, the BEEFY notification protocol name should be changed in accordance with the GRANDPA notification protocol name.

@tomusdrw
Copy link
Contributor

I'd suggest to do that ASAP and merge along with #186 so that we can restart Rococo :)

@adoerr adoerr added M-gadget The client code of the gadget. Z-breaking This change is breaking backward compatibiltiy on protocol level. labels Jul 19, 2021
@adoerr
Copy link
Contributor Author

adoerr commented Jul 19, 2021

We can change the protocol ID from paritytch to dot for now.

I'm hesitant to make the protocol ID configurable more or less unrestricted right now. For example, by introducing a protocol_id parameter to beefy_peers_set_config(). If the protocol_id argument gets screwed up or is a duplicate or is just wrong, some pretty bad mayhem may be the result.

If we do have an authoritative list of current, canonical protocol IDs, a concrete protocol_id argument could be checked against that list, of course. This would at least provide some safety measure.

Ideally, once we have a more generic, configurable BEEFY, the protocol_id should become part of the set of accepted (and properly restricted) configuration values.

@adoerr
Copy link
Contributor Author

adoerr commented Jul 21, 2021

Protocol Id's for the various chains can the found in the Polkadot chainspec folder

@tomusdrw tomusdrw added the good first issue Good for newcomers label Nov 15, 2021
@tomusdrw tomusdrw added this to the Get BEEFY in shape milestone Nov 26, 2021
@tomusdrw tomusdrw added this to To do in Priorities Nov 26, 2021
@acatangiu acatangiu self-assigned this Dec 10, 2021
@acatangiu acatangiu added enhancement New feature or request and removed Z-breaking This change is breaking backward compatibiltiy on protocol level. good first issue Good for newcomers labels Jan 4, 2022
@acatangiu
Copy link
Collaborator

Fixed in paritytech/substrate#10463

Priorities automation moved this from To do to Done Jan 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request M-gadget The client code of the gadget.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants