[Paper Review] GRANDPA: a Byzantine Finality Gadget
This paper introduces GRANDPA, a Byzantine finality gadget that decouples liveness from safety in blockchain systems, enabling optimistic transaction execution with provable finality. It proves deterministic finality is impossible in full asynchrony but presents GRANDPA—a partially synchronous protocol securing Polkadot—that achieves fast, finality with up to 1/3 Byzantine faults, allowing recovery from network instability while maintaining safety.
Classic Byzantine fault-tolerant consensus protocols forfeit liveness in the face of asynchrony in order to preserve safety, whereas most deployed blockchain protocols forfeit safety in order to remain live. In this work, we achieve the best of both worlds by proposing a novel abstractions called the finality gadget. A finality gadget allows for transactions to always optimistically commit but informs the clients that these transactions might be unsafe. As a result, a blockchain can execute transactions optimistically and only commit them after they have been sufficiently and provably audited. In this work, we formally model the finality gadget abstraction, prove that it is impossible to solve it deterministically in full asynchrony (even though it is stronger than consensus) and provide a partially synchronous protocol which is currently securing a major blockchain. This way we show that the protocol designer can decouple safety and liveness in order to speed up recovery from failures. We believe that there can be other types of finality gadgets that provide weaker safety (e.g., probabilistic) in order to gain more efficiency and this can depend on the probability that the network is not in synchrony.
Motivation & Objective
- To address the trade-off between liveness and safety in blockchain consensus by introducing a finality gadget abstraction.
- To formalize 'lazy finality' as a mechanism that allows blocks to be optimistically committed before finalization.
- To prove that deterministic finality is impossible in full asynchrony, even though the gadget is stronger than consensus.
- To design and verify GRANDPA, a partially synchronous finality gadget that achieves fast, provable finality with Byzantine fault tolerance.
- To enable deployment flexibility, including gradual adoption and heterogeneous light client support across multi-chain ecosystems.
Proposed method
- Introduce the finality gadget abstraction as a sub-protocol that enhances any eventual-consensus blockchain with provable finality.
- Formalize the gadget using a partially synchronous network model with up to 1/3 Byzantine validators.
- Define key components: prevotes, precommits, and the finalization logic based on supermajority votes on chain heads.
- Use lemmas to prove that honest participants will eventually finalize the correct chain head under network synchrony.
- Design GRANDPA’s round-based protocol where honest primaries broadcast the best chain, and honest voters precommit to the highest chain head with supermajority support.
- Prove that in the presence of honest primaries and synchrony, all honest participants finalize the correct block within 6T time units after the global stabilization time (GST).
Experimental results
Research questions
- RQ1Can a finality gadget be designed to decouple liveness from safety in blockchain systems?
- RQ2Is deterministic finality achievable in a fully asynchronous network model?
- RQ3How can a finality gadget support fast recovery from network asynchrony while preserving safety?
- RQ4What are the minimal assumptions (e.g., partially synchronous model) required for a finality gadget to achieve provable finality with Byzantine fault tolerance?
- RQ5Can a finality gadget be incrementally deployed and support heterogeneous light client behaviors?
Key findings
- GRANDPA is proven to finalize the correct block within 6T time units after global stabilization time (GST), assuming honest primaries and up to 1/3 Byzantine validators.
- Deterministic finality is impossible in full asynchrony, even though the finality gadget is stronger than consensus, due to the impossibility of consensus in asynchrony.
- The protocol enables optimistic execution: blocks can be added to the chain before finalization, improving liveness during network instability.
- GRANDPA supports fast recovery from network partitions by allowing progress once synchrony is restored, even if finalization was delayed.
- The protocol allows light clients to choose between trusting the finality gadget or following the longest chain rule, enabling client heterogeneity and scalability in multi-chain systems.
- Recent validity lemma shows that if a block is finalized without honest participants having seen it in the best chain for a period, then multiple consecutive rounds must have had Byzantine primaries, providing a measure of accountability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.