Tweet details

Vitalik Buterin5h ago
Leadership

Privacy is one thing that will take longer to make quantum-safe.

The issue is efficiency:

* ECDSA sig: 4160 gas (post Glam calldata rules) * ZK-SNARK: ~250k gas * Quantum-safe leanSPHINCS sig: ~100-300k gas * Quantum-safe STARK: ~8m gas

The solution is EIP-8288, which allows STARKs (and sigs) to get batched offchain. This will allow both STARK and leanSPHINCS verification to also take <25k gas, ultimately ~4k gas.

But EIP-8288 will take time.

Pragmatically, I think we should do the following:

* Short term, keep using quantum-vulnerable pairing-based privacy protocols, but keep less money in them. This means that anonymity sets for high-value use will shrink temporarily but that's just a cost we'll have to pay. * Medium term, we should implement 8288 with leanPCS ASAP onchain. Even if the mempool is not ready yet, and we have to rely on a custom builder for aggregation, just do it. I think getting this out next year is fully possible. And then move privacy protocols over to it. * Refine over time: add the mempool, add FOCIL, and ultimately add leanSTARK so the onchain calldata req (and hence gas cost) can reduce to the theoretical minimum.