Home | About John | Resume/CV | References | Writing | Research |
---|
Following is an excerpt from Analysis on Weak Subjectivity in Ethereum 2.0 [^1] .
Weak subjectivity 1 is a social-consensus-driven approach for solving the fun- damental “nothing-at-stake” problem of proof-of-stake protocols. In particular, it addresses the problem in the presence of long-range forks, while the slash- ing mechanism handles the case of short-range forks. Specifically, the current weak subjectivity mechanism deals with the following two types of long-range attacks 2
– Exploiting retired validators: Adversaries can create and reveal a new chain branching from a certain block on the canonical chain, after 2/3 of validators who were active for the block have exited. Note that such validators can still justify and finalize conflicting blocks at earlier slots without being slashed after they have exited.
– Exploiting diverging validator sets: Adversaries can build a new chain until the validator set for the new chain is sufficiently different from that of the canonical chain. The larger the difference between the two validator sets, the lower the accountable safety tolerance. For example, if the intersection of the two sets is smaller than 2/3 of each set, then it is possible to have conflicting blocks to be finalized without any validators violating the slashing conditions.
It is unknown whether this mechanism can deal with other types of long-range attacks, if any, in general.
The current weak subjectivity mechanism employs a social consensus layer in parallel to maintain sufficiently many checkpoints (called weak subjectivity check- points) so that there exist no conflicting finalized blocks that are descendants of the latest weak subjectivity checkpoint. In other words, the purpose of the latest weak subjectivity checkpoints is to deterministically identify the unique canonical chain even in the presence of conflicting finalized blocks caused by the long-range attacks.
Weak Subjectivity in Eth2.0: This document is aimed for Eth2.0 client teams to understand weak subjectivity periods and their implication.
Phase 0 – Weak Subjectivity Guide: This document is a guide for implementing the Weak Subjectivity protections in Phase 0.
Ethereum Docs: WEAK SUBJECTIVITY: This refers to a chain that can progress objectively after some initial seed of information is retrieved socially.
Teku Docs: Weak Subjectivity: The weak subjectivity period refers to how far behind the chain head a node can be before 1/3 of validators may have exited since the node was last in sync.
[^1]: Analysis on Weak Subjectivity in Ethereum 2.0:
It is unknown whether this mechanism can deal with other types of long-range attacks, if any, in general ↩