I’m using BABE/GRANDPA consensus from the substrate-node-template to develop a Substrate chain. For local development (i.e. running just one node to develop a dapp) this setup has a couple of issues.
- The node always needs to be recompiled with the
--releaseflag or block execution exceeds the slot duration. This is expensive, especially on CI. - It is not possible to shut down a node and restart it later. Consensus will complain about the epoch being too far apart.
- It takes at least the slot duration to receive feedback from submitted extrinsic.
Ideally, the consensus used for local development should behave like the InstantSeal consensus in Parity Ethereum. Is there a similar consensus for Substrate? What about Aura? Is it possible to tweak BABE/GRANDPA to mitigate the issues?