Big picture in three stages:
$$
\begin{array}{ccccc} \underset{\square}{\text{consensus}} & \longrightarrow & & \overbrace{\underset{▣}{\text{proofs}}}^\text{compute} & \longrightarrow &\overbrace{\underset{\blacksquare}{\text{state update}}}^{\text{L1 interaction}}\\ _{\text{(sequencers)}} & & & {\text{(provers)}} & &{\text{(open?)}} \end{array} $$
Today’s focus is proofs and state updates.
For today, consensus is a black box that outputs two things:
L1 checkpoint registry contract maintains a single chain of checkpoints.
L1 state updates require proofs between checkpoints: if there’s a chain
$$ ☑︎\to \square \to \cdots \to\square \to ☑︎ $$
then one can end proof at a block which is continued by a checkpoint:
$$ \red{☑︎}\to \square \to \cdots \to\red{\square} \to \cdots \to\square \to ☑︎ $$
Proof production
Compare competitive vs turn-based designation:
Pros | Cons | |
---|---|---|
Competition | ▶︎Simple | |
▶︎Efficient | ||
▶︎Incentivizes improvement | Disincentivizes weaker players | |
Turns (PoS) | ▶︎Protocol does not prefer strong machines | ▶︎Inefficient |
▶︎Less incentive to improve | ||
Combination | ||
(▶︎turns to compete) | ||
(▶︎parallel paths) | ? | ? |
Other? |
Compare distribution of winners in different competitive models
Pros | Cons | |
---|---|---|
Best always wins | ▶︎Efficient | |
▶︎ | ||
Fair share | Less centralized | Redundancy |
Proof price discovery
<aside> ⚠️ You may assume separation between sequencer resource and prover resource.
</aside>
User fee calculation problem?
How to get high responsiveness?
Suppose we use 1559 for prover resource pricing. If tx prover fees are too low for the provers, the protocol will be slow to discover this, because the problematic txs may be checkpointed on L1 and then wait to become reverted.
L1 state update
No computation.
Reward issuance — is designation of labor enforced? (e.g in a competition, do only winners get rewards? are there consolations?)
Open race + incentivized turn-based redundancy. Proofs propagated off-chain and off-ledger.