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

Grandpa: Syncing up a chain that doesn't have grandpa from a node that does #1492

Closed
drewstone opened this issue Jan 20, 2019 · 2 comments
Closed
Labels
Z7-question Issue is a question. Closer should answer.

Comments

@drewstone
Copy link
Contributor

drewstone commented Jan 20, 2019

Our testnet doesn't contain the GRANDPA runtime module, but locally we have integrated it. However, connecting to our testnet from scratch fails with the following error:

Error: Execution: Function: Module doesn't have export GrandpaApi_grandpa_authorities

Is it the case that the GRANDPA module is not backwards compatible given the configuration needed in a node? I'm confused why the node is even searching for grandpa authorities when the genesis runtime doesn't contain any links to such a module. The only other explanation is the required configuration needed for GRANDPA, which our new local node copy is looking for.

This leads me to a larger question, has substrate/Polkadot defined any documents for keeping new versions backwards compatible? Are there processes one can follow more closely or should we be resorting to using an older checkout of our node to connect to the testnet.

EDIT: Realising this, there is no way forward except spinning up a new testnet. It seems worthwhile however to make future options more backwards compatible so one not be limited in such a way.

@gavofyork gavofyork added the Z7-question Issue is a question. Closer should answer. label Jan 21, 2019
@gavofyork
Copy link
Member

@rphmeier is this possible?

@rphmeier
Copy link
Contributor

rphmeier commented Jan 21, 2019

This amounts to a change of consensus algorithm, which would be possible after #1304.

It seems worthwhile however to make future options more backwards compatible so one not be limited in such a way.

Definitely. Unfortunately, easier said than done :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Z7-question Issue is a question. Closer should answer.
Projects
None yet
Development

No branches or pull requests

3 participants