Cointime

Download App
iOS & Android

Avoiding Accidental Liveness Faults for Based Preconfs

From Ethresearch by mteam88

thanks to Justin DrakeJon CharbonneauLadislaus 1Sébastien Rannou 3sacha 1Drew van Der Werff, and Max Wilde from Aestus 3 for thinking and review..tl;dr: We solve one of the largest problems with based preconf opt-in from proposers: accidental liveness slashing. The mechanism we introduce requires no changes to existing based preconf protocol designs and has been under our noses the whole time. We use preconf chaining to protect individual proposers from being slashed for liveness failures...

Background

On Ethereum today, liveness issues with block proposals are largely accepted, and penalties are minimal. When we introduce based preconfirmations, liveness issues can mean different consequences.

When dealing with preconfs: from the user’s perspective, liveness faults (missing a block proposal) and safety faults (proposing a block that does not fulfill preconf commitments) are the same thing. In both scenarios, a user experiences a situation where their preconfirmation is not fulfilled.

liveness faults are safety faults500×615 511 KB

Now, from the perspective of the proposer, liveness faults and safety faults are two very different things. Liveness faults may occur from a multitude of external, accidental circumstances (like power outages, wifi downtime, reorgs, spontaneous combustion) that many proposers just aren’t prepared for. On the other hand, safety faults can only occur when some party (the proposer or some delegate) acts maliciously.

Additionally, attributing liveness faults is difficult. Many actors within the block supply chain may be responsible for a liveness fault occurring. The complexity involved with this attribution would be nice to avoid.

To make proposers feel more comfortable with putting up potentially high amounts of collateral, being slashed for accidental liveness faults should be very rare if not impossible.

Preconf Chaining

Brief Assumptions:

  • (we are talking about based preconfs here, not L1 preconfs)
  • slashing conditions are expressive
  • preconf requests include L2 block number
  • “active preconfer” refers to the current preconfer (an L1 proposer or delegate in the lookahead), “next active preconfer” refers to the entity who will be the next preconfer.

Slashing Conditions Construction:

We assume a slashing conditions paradigm that is similar to the one presented in The Preconf Registry. 1 Specifically, that slashing conditions are “smart” and expressive enough to represent the following constructions.

The slashing conditions are designed so that a preconfer is slashed if:

  • they sign a preconf request about a transaction A and block B, where B is a future L2 block. Also signed is a list of “dependents”, a list of other preconfers (by address or other ID).
  • A is not fulfilled in B, or was not fulfilled in a block prior to B
  • All dependents have signed the same preconf request (commitments/signatures from these are required) and have not been slashed (a challenge/cooldown period is useful here).

This dependent design enables a preconfer to conditionally preconfirm a transaction, based on the choices of other preconfer.

Preconf Flow

  • Alice (a based L2 user) wants an inclusion preconf for a transaction A
  • Alice delivers a preconf request to the active preconfer 2
  • Some entity who obtains a preconf commitment from the active preconfer (Alice, a gateway, or even the active preconfer itself) forwards Alice’s preconf request to the next active preconfer (with a dependent on the active preconfer added) and also forwards the active preconfer’s commitment.

diagram representing how any actor can send a chained preconf request to the next active preconfer1087×610 50.9 KB

Any actor with access to a preconf commitment may construct a chained preconf and forward it to the next active preconfer.

Note that incentives for doing this vary:

  • preconf RPC: aka The Preconfirmation Gateway 2 might chain preconfs as a public good for proposers.
  • gateway: A gateway might also chain preconfs as a public good for proposers, but may also use this as a feature to attract proposers (maybe called “liveness fault protection”).
  • proposers: A proposer (or node operator) might also chain preconfs themselves. Their incentive is obviously to avoid being slashed for liveness faults.

Determining Penalties

  • In the case where the active preconfer represents a proposer that has a liveness failure and proposes no L2 block, they wouldn’t be slashed because the preconf could still be fulfilled by the next preconfer (and the preconf request block number would match).
  • If the active preconfer proposes a block and does not fulfill the preconf request, they would be slashed for a safety fault.
  • If the active preconfer does not propose a block and the next preconfer does but does not fulfill the preconf request, the second preconfer is slashed for a safety fault.
  • If both preconfers have liveness issues, both are slashed for a safety fault. (This can be avoided by chaining beyond 2.)

Incentivizing Chaining

To incentivize a future active preconfer to chain preconfs, an active preconfer might share tips. Also, a reputational expectation to chain preconfs can encourage more chaining.

One possible way to get chaining adoption is to simply require that chaining happens. To make this practical, the future active preconfers must be able to access the preconf commitments of previous preconfers. The DA problem must be solved to make this practical, and this could be done with an external DA layer. Notably, using an external DA layer introduces dependencies on another sequencer: the DA sequencer. TBD how designs of different DA layers can work around this issue and potential censorship that might occur.

Conclusion

In this post, we focus on the benefits of chaining for proposers. Widespread chaining also increases the guarantees that users get for preconfirmations, making preconfs even more valuable. It’s a win-win!

Whether forced or opt-in, preconf chaining can protect proposers from being slashed for accidental liveness faults. This system can help proposers feel more comfortable opting into higher collateral requirements.

References

Comments

All Comments

Recommended for you

  • National Development and Reform Commission: Investment Ban on Foreign Acquisition of Manus Project

    On April 27, the Office of the Foreign Investment Security Review Mechanism (National Development and Reform Commission) made a legal and regulatory decision to prohibit foreign investment in the acquisition of the Manus project, requiring the parties involved to withdraw from the acquisition transaction. (National Development and Reform Commission)

  • BTC Falls Below $78,000

    Market data shows that BTC has fallen below $78,000, currently priced at $77,984.99, with a 24-hour decline of 0.1%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Iran Official: Hormuz Passage Fees Must Be Settled in Iranian Rials

    On April 27, Ibrahim Azizi, chairman of the National Security and Foreign Policy Committee of the Iranian Islamic Parliament, stated in an interview aired on April 26 that passage fees for the Strait of Hormuz must be settled in the Iranian national currency, the rial, and that vessels and goods related to Israel are not allowed to pass under any circumstances. (CCTV International News)

  • ETH Surpasses $2400

    Market data shows that ETH has surpassed $2400, currently priced at $2400.99, with a 24-hour increase of 3.69%. The market is experiencing significant volatility, so please ensure proper risk management.

  • US Media: Iran Proposes Agreement to Reopen Strait but Delays Nuclear Talks

    On April 27, AXIOS reported, citing a U.S. official and two informed sources, that Iran has proposed a new initiative to the United States, suggesting prioritizing an agreement on reopening the Strait of Hormuz and lifting maritime blockades, while postponing nuclear negotiations to a later stage. This new proposal aims to break the current deadlock in negotiations and circumvent internal disagreements within the Iranian leadership regarding the extent of nuclear concessions they are willing to make to reach an agreement with the Trump administration. According to three U.S. officials, President Trump is expected to hold a war room meeting with his senior national security and foreign policy team on Iran issues on Monday. One official indicated that the meeting is anticipated to discuss the current stalemate in negotiations with Iran and potential next steps regarding military action.

  • BTC Surpasses $79,000

    Market data shows that BTC has surpassed $79,000, currently priced at $79,003.66, with a 24-hour increase of 1.84%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Iranian Official Says Second Round of Talks with US Possible in Coming Days

    On April 26, a day earlier in local time, an Iranian diplomatic official stated that Iran and the US delegation might hold a second round of negotiations in the coming days. It is understood that Iran has conveyed a message to the US, requesting President Trump to reduce threatening rhetoric. The official also indicated that if the US stance becomes more conciliatory, hardliners within Iran would be more likely to support participation in the negotiations. (CCTV News)

  • Trump: Uncertain if He Was Target of Shooter's Attack

    On April 27, President Trump was interviewed by CBS and was asked whether he was the target of the attacker at the White House Correspondents' Dinner. He responded, 'I don't know. It sounds like he is an extreme person. From what he has written, he has been through a lot. His brother has complaints about him, and his sister is also dissatisfied with him. His family is very concerned about him. He is likely a person with very poor mental health.' (Dongxin News Agency)

  • Iran Proposes Three-Phase Negotiation Plan

    On April 27, according to CCTV, sources from Iran stated that Iran has conveyed a three-phase negotiation plan to the U.S. through intermediaries. The focus of the first phase of negotiations is to completely end the war and obtain guarantees to prevent the resumption of hostilities against Iran and Lebanon. If an agreement is reached in the first phase, the parties will move into the second phase, which will specifically address the management of the Strait of Hormuz. The third phase will involve discussions related to nuclear issues, but Iran will not engage in nuclear negotiations until agreements are reached in the first two phases.