Reveal optionality in encrypted mempools: how big is the sender’s free option, and a post-quantum way to remove it

Hi all,

Thanks to @aelowsson @julian @b-wagn @GottfriedHerold, since this builds directly on LUCID, the criticism thread and the ticket-first threshold IBE design. Also a kind request for review on this work.

I’ve been wondering how much the “free option” in encrypted mempools is actually worth, and what happens if you try to take it away. The short version is in the TL;DR. The full treatment, with proofs, is in the paper, and the Lean 4 formalization is linked below.

Edit (Oct 28): BSR is now instantiated on Gottfried’s ticket-first threshold IBE design, and the timing numbers are corrected for the ePBS bid commitment. Details in the reply below.

TL;DR

The setup

Let G be the information everyone gets anyway, and F the information a sender who controls the reveal has. The endogenous option is V^endo = V^F − V^G: what control over the reveal adds on top of what the market gives you for free.

1. How big is it?

  • V^endo is exactly a Jensen gap, and it is strictly positive under a simple criterion.
  • It is bounded by ‖D‖_p (2ε)^(1−1/p) when the option is exercised with probability ε.
  • With ETH implied vol around 51% and an 8 s window, the exogenous option is about 1 bp. A fee of about 6 bp is enough to cap exercise at 1%.

2. Can forced opening fix it?

  • Making decryption mandatory with a time-lock helps, but hardware speed matters. Let γ be how much faster an attacker computes the sequential function than an honest solver.
  • Sound, timely forced opening needs γ ≤ (t2 − t_h)/(t1 − t_pub). With one slot of mempool wait, that ceiling is below 2.
  • Ticket-first designs avoid the mempool wait, but if availability is fixed in an extra consensus round, the ciphertext still has to stay private for about a slot, and the ceiling is again about 2. So the time-lock belongs on the committee’s shares, not on transactions.

3. Does the LUCID fee price it?

In LUCID (EIP-8184), a revealed transaction pays f/F of its top-of-block fee and a non-revealed one forfeits f, with F = 128. The idea is that the fee prices probabilistic frontrunning. It stops working once a sender uses many conditional commitments. One selector plus one executor is enough for any cap m ≥ 2. A hit costs f(1+1/F) and a miss costs only 2f/F, so the break-even fee is

f_inv = pΛ / (p(1+1/F) + 2(1−p)/F)

and it is at least Λ/2 whenever p1 ≥ 2/(F+1). With Λ = 50 bp and p1 = 1/64, that is about 25 bp. A single commitment would need only about 0.8 bp, so the multi-commitment attack is roughly 30 times more expensive to deter.

4. Where does the option go?

If you take it away from the sender, a blocking coalition of |W| ≥ n−t+1 committee members inherits it. For any threshold t, the smallest coalition that can either block or decrypt early has size min(t, n−t+1) ≤ ⌈n/2⌉. Deterrence works iff the coalition’s net penalty β is at least the essential supremum of the option payoff. Hybrid designs without independence still leave an induced-unavailability term. In a ticket-first design with signed refusals, a coalition of n−t+1 members can see the plaintexts and then refuse at no cost.

BSR in a nutshell

Instead of fighting the option after the fact, BSR makes everyone commit before they can know anything useful.

  • During a short window ω after the set of ciphertexts is fixed, each releaser (a committee member or a key publisher) posts an escrow: a signed commitment to its release value, plus the value masked by a long sequential hash chain (about 0.9e8 to 1.6e8 steps at 70 ns/step).
  • Normally the releaser just reveals quickly.
  • If they withhold, anyone can compute the pad and force the opening.
  • If the releaser withholds and the forced opening doesn’t match the commitment, the deposit S is slashed and the value is dropped.

What you get (Theorem 5):

  • Before the escrow deadline d, the endogenous option is exactly zero.
  • After d, no deviation pays when S covers the largest gain from changing the executed set. Under the paper’s assumption A2, the fee f1 deters at any cap on commitments.
  • Informed blocking after d costs the coalition at least S.
  • With t = ⌈2n/3⌉, the smallest coalition that can block is never smaller than under any threshold without BSR, and strictly larger for n = 2 and n ≥ 4.
  • Everything is hash-based, so there are no pairings or discrete-log assumptions in the timing mechanism.

Where it plugs in on Ethereum

The natural host is the ticket-first threshold IBE design: the ticket lands in B[n], the PTC votes on which encrypted transactions were available and B[n+1] records etx_seen, the committee releases shares of the key for blockhash(B[n]), and B[n+2]’s beacon block must carry the key.

  • Releasers are the committee members. Each escrows its share once B[n+1] is fast-confirmed, and the PTC also attests to the escrows it saw by d.
  • Refusing becomes not escrowing, which is decided blind. Withholding after d either gets force-opened or costs S.
  • Escrows are signed over the block, so they are void on any other fork.
  • Under ePBS the next builder commits to its payload hash at the slot start, so the window runs from fast confirmation of B[n+1] (about 3 to 4 s into the slot, my estimate) to the start of slot n+2: W ≈ 8 to 9 s.
  • Since a broadcast escrow can be opened on every fork, escrowing on receipt of B[n+1] (W ≈ 12 s) would give up the members’ refusal on an unconfirmed block.

For key publishers, LUCID is the natural host, but its spec doesn’t fix numeric deadlines yet, so I haven’t instantiated it.

What I’m assuming, and what’s open

  • Hardware gap. BSR needs γ ≤ (W − ω)/ω. On the ticket-first instantiation with 12 s slots that is γ_max = 3 to 3.5 (ω = 2 s) or 7 to 8 (ω = 1 s); escrowing on block receipt gives 5 or 11. With 6 s slots it drops to about 1 to 1.25 or 3 to 3.5. This is an explicit assumption, not something I measured. Real numbers on sequential-hash ASIC speedups would settle it.
  • Post-quantum scope. The pads and commitments are post-quantum; the whole stack is post-quantum only once a suitable threshold IBE is.
  • Not yet analysed. The bisection dispute game for inconsistent escrows, a full equilibrium analysis for non-colluding releasers, verifiable escrows, batched post-quantum forced opening, and end-user escrows.

I’d love feedback, especially on the hardware assumption and on whether the committee model matches what you expect in deployed designs.

References

Update (Oct 28): I’ve revised the paper and edited the post above. What changed:

  1. Instantiation. BSR is now instantiated on @GottfriedHerold’s ticket-first threshold IBE design. Committee members escrow their key shares once B[n+1] is fast-confirmed, the PTC attests to the escrows it saw by the deadline, and refusing becomes not escrowing, which is decided blind. In the original design, a coalition of n−t+1 members could see the plaintexts and then refuse at no cost; under BSR that costs the deposit S.
  2. Timing correction. Under ePBS the builder commits to its payload hash at the slot start, so the window is about 8 to 9 s rather than a full slot. The ceilings drop from 5 (or 11) to 3 to 3.5 (or 7 to 8). Escrowing on block receipt recovers 5 (or 11), but then members can’t refuse on an unconfirmed block.
  3. Ticket-first sender time-locks. If availability is fixed in an extra consensus round, time-locking the transactions themselves has a ceiling of about 2. That’s why BSR puts the time-lock on the shares.
  4. Lean. The development is now at 116 audited theorems, covering the new ceilings and pad lengths.

Paper and repo are updated with the most findings and assumptions in the post above.