# Proof System for Pre-Settlement

By [Luban](https://paragraph.com/@luban-2) · 2025-05-21

---

In [pre-settlement, and its implementation LingLong](https://x.com/lu_ban_/status/1917963862667825156), commitments are fundamental. In this article, we introduce the proof system behind those commitments and explain how we achieve optimal performance using Succinct's [SP1](https://docs.succinct.xyz/docs/sp1/introduction).

A Recap of Pre-Settlement
-------------------------

Pre-settlement is a commitment framework that enables Ethereum validators to delegate their based rollup sequencing rights to third parties. Its implementation, LingLong, functions as a PBS (Proposer-Builder Separation) platform for based rollups.

![Workflow of LingLong ](https://storage.googleapis.com/papyrus_images/42dc8c34b7f641793c8bb6ef1c816d98d360689f6272a1f104a46061b8ce29e6.jpg)

Workflow of LingLong

LingLong introduces a set of Restaked Services (RS)—networks composed of operators who offer credible commitments backed by restaked collateral.Two RS are central to the pre-settlement architecture:

*   **Restaked Validator Service (RVS)**, where validators are opeators. RVS forms the foundation of LingLong, allowing validators to delegate rights to other RS.
    
*   **Restaked Gateway Service (RGS)**, where gateways are operators. RGS receives delegation from RVS, and selects gateways to sequence based rollups.
    

Commitment-based Fault Attribution
----------------------------------

LingLong supports two types of commitments:

1.  **Validator-to-RS commitments**: For example, validators commit their based rollup sequencing rights to RGS through RVS.
    
2.  **Operator-to-User commitments**: For example, gateways provide commitments to rollup users in the form of instant transaction confirmations.
    

The separation of commitments, combined with LingLong's [agent-based fault attribution model](https://github.com/eth-fabric/constraints-specs/issues/19), ensures fair fault attribution and risk isolation between validators and SPs. Penalties are imposed only on the party with direct operational control over a failure.

For example, if a gateway violates its commitment to rollup users by not settling the pre-confirmed transactions on the L1, then only the gateway will be penalized. The validator who delegates sequencing right to RGS (thereby indirectly to this gateway) will remain unaffected.

The validator will only be slashed when it violates its own commitments, e.g., including a rollup batch that's not from the gateway it has delegated to.

Why Do We Need Proofs
---------------------

To ensure commitments are credible, faulty issuers must be subject to slashing. Fair enforcement requires objective proof of whether a commitment has been properly fulfilled. This allows slashing decisions to be made in a trustless and credibly neutral way—ideally, through smart contracts.

The Case of Using SP1
---------------------

Key properties we prioritize when designing the proof system for LingLong:

*   Cost-efficiency: Proofs should be inexpensive to generate and verify, with minimal onchain overhead.
    
*   Performance: Proof generation and verification should be fast, even in low-bandwidth environments like Ethereum L1.
    
*   Programmability: Since LingLong supports arbitrary commitments, the proof system must be capable of proving and verifying arbitrary logic.
    

Succinct's [SP1](https://docs.succinct.xyz/docs/sp1/introduction) is a compelling choice for LingLong. As a zkVM, it leverages zero-knowledge proofs to shift computation off-chain while keeping on-chain verification costs minimal. Its ability to verify the execution of arbitrary Rust programs makes it especially well-suited for LingLong, particularly as the platform evolves beyond based sequencing to support broader use cases. For these reasons, we’ve chosen to build LingLong’s fraud-proof system using SP1.

### Example of Inclusion Proof

Here we show an example of using SP1 to generate transaction inclusion proof and use it in LingLong. While this example doesn’t involve based sequencing, it demonstrates a transaction inclusion commitment on L1—also known as a "preconfirmation." This represents a SP–to–User commitment.

![Proof of inclusion](https://storage.googleapis.com/papyrus_images/bb016f29c94257bad6a7acc0ccdc27818333daeef059ccf35b47e99d70b721b8.png)

Proof of inclusion

#### Process:

1.  A gateway issues a preconfirmation to a user's transaction
    
2.  A challenger starts the dispute process by calling the fraud proof smart contracts, indicating that the gateway fails to include the user's transaction in the target slot, thus a failed preconfirmation
    
3.  Anyone can respond by generating a zero-knowledge inclusion proof using SP1, which, if valid, overturns the dispute.
    
4.  The fraud-proof smart contracts evaluate the challenge based on three possible outcomes:
    
    1.  A **valid proof** confirming the transaction's inclusion is submitted: the challenger's bond is slashed, and the gateway remains unaffected.
        
    2.  An **invalid proof** is submitted: the gateway is slashed after the challenge window expires.
        
    3.  **No proof** is submitted before the challenge window expires: the gateway is slashed.
        

Towards a Decentralized Arbitrary Proof System
----------------------------------------------

We envision a growing number of Restaked Services on LingLong as new use cases for validator delegation continue to emerge. Our goal is to keep this process permissionless, enabling validators to benefit from ongoing innovation across the Ethereum ecosystem. As the variety of commitments expands, so does the need for diverse types of proofs—an area where SP1 proves especially valuable. We're also testing integration with Succinct’s prover network to make proof generation more cost-effective and accessible, ultimately enhancing the robustness of the entire proof system.

### Want to get more hands-on with pre-settlement?

Join our [working group](https://x.com/lu_ban_/status/1920827376268964139), where node operators, rollups, restakers, and other stakeholders are collaborating to advance the solution!

---

*Originally published on [Luban](https://paragraph.com/@luban-2/proof-system-for-pre-settlement)*
