Cointime

Download App
iOS & Android

ZK Fraud Proof with ZK State Channel

From Ethresearch by 0x1cc

TL;DR

  • We can use the zk state channel to provide a zk fraud proof to resolve the disputes swiftly in the optimistic systems, such as opRollup (optimistic rollup) and opML (optimistic machine learning)
  • We can construct a zk state channel using zkVM
  • When the challenger can open a ZK state channel with the defender (sequencer/submitter) for dispute resolution, followed by uploading ZK proof onto the chain

Background

Current interactive fraud-proof challenge protocols such as Optimism fruad proof system uses

  • binary search method to pinpoint the specific step or instruction where a discrepancy arises between the defender (submitter/sequencer) and the challenger.
  • when the specific step of disagreement is found, a one-step on-chain executor is used to adjudicate whether the defender or challenger is correct.

Considering about 40+B steps (instructions) per block transition, the protocol will take about 36 interactions, which is costly in both time and gas.

To reduce the number of interactions, umerous researchers have explored the use of Zero-Knowledge (zk) fraud-proof approaches (RFP: OP Stack Zero Knowledge Proof · Issue #61 · ethereum-optimism/ecosystem-contributions · GitHub). Many have experimented with utilizing zkVM as the fraud-proof virtual machine to generate zk proofs for either full-step or multi-step executions. With zk proofs for multi-step executions, the number of interactions can be significantly reduced (Almost Instant Interactive Fraud Proof using Multi-Sect on DA BLOBs and multi-step ZK verifier). If a zk proof for the full-step execution can be provided, the fraud-proof system operates akin to a zk proof system, eliminating the need for any interaction to resolve disputes. However, the cost of generating zk proofs for multi-step executions in zkVM remains substantial. Besides, in instances where a zk proof for the full-step execution cannot be provided, on-chain interaction for locating the dispute step remains necessary.

Proposal

  • We can first construct a Zero-Knowledge (zk) state channel utilizing zkVM, where the zkVM will host the dispute game program.
  • Upon a validator (challenger) initiating a challenge, they can establish a zk state channel with the defender (sequencer/submitter).
  • Within this channel, the challenger and defender engage with the dispute game program hosted in zkVM, simulating the on-chain interaction typical of smart contracts. They employ binary search techniques to pinpoint the disputed step and subsequently utilize one-step on-chain execution to determine the correct party.
  • Once the dispute resolution concludes, they can generate a zk proof encapsulating the entire process within zkVM, subsequently submitting it on-chain for arbitration.

zkChannel926×690 34.3 KB

Advantages

  • The proposed zk fraud-proof mechanism integrated with zk state channels dramatically reduces on-chain interactions to just two: one for channel initiation and another for closure, including zk proof submission. All other interactions occur off-chain and are cryptographically guaranteed by zk proofs.
  • As interactions between the defender and the challenger occur off-chain, the frequency of engagement can be heightened, allowing for a more dynamic interaction rate. The number of checkpoints can also be greatly increased (2048+ can be easily achieved), and the number of interactions can no longer be limited.
  • This approach is more cost-effective compared to generating zk proofs for full-step or multi-step executions within zkVM.

Security Concern

One potential concern with this proposal is the possibility of non-cooperation between challengers and defenders. To address this issue:

  • We still retain the original on-chain interactive dispute game, allowing both defenders and challengers to close the zk state channel at any time. In scenarios where the channel is closed, yet the dispute remains unresolved, parties can resort to the on-chain interactive dispute game contract for resolution.
  • We can design an incentive mechanism to encourage challengers and defenders to participate in the zk state channel. For instance, participants could face reduced penalties for losing the dispute game and receive larger bonuses for winning.

Conclusion

This proposal works like an auxiliary plugin for expediting dispute resolution. It does not compromise the security of the existing fraud-proof system but instead offers a cost-effective and swift solution for dispute resolution.

Comments

All Comments

Recommended for you

  • Trump Shares Op-Ed Claiming He is Winning the War Against Iran

    On August 29, U.S. President Trump shared a commentary article from the New York Post on Truth Social on Saturday, which stated that he is winning the war against Iran and should maintain the current strategy. The title of the article Trump shared read: 'Trump is Winning the War Against Iran - Stay the Course.'

  • Morgan Stanley: 2028 as a Key Observation Point for Global Memory Competition Landscape

    On August 29, Morgan Stanley pointed out that the rise of Chinese memory manufacturers should not be viewed merely as a technological catch-up or low-cost substitution; what is truly noteworthy is that their production capacity may gradually become large enough to alter the supply structure of the global memory market. Changxin Technology and Yangtze Memory Technologies are currently entering the mainstream product market and gradually extending into high-profit markets such as HBM, high-end server DRAM, and enterprise SSDs. Morgan Stanley considers 2028 as an important observation point for the global memory competition landscape. From 2026 to 2027, demand for AI servers, capacity crowding of advanced wafers by HBM, import substitution, and the time required for customer certification may absorb most of the new supply from Chinese memory manufacturers. By 2028, as Chinese manufacturers expand production, the additional capacity from Samsung, SK Hynix, and Micron, which had previously initiated expansions, will also be released. At that time, the supply variables in the global memory market will significantly increase. Morgan Stanley estimates that Changxin's DRAM monthly production capacity will rise from 180,000 wafers in 2025 to 300,000 in 2026, accounting for approximately 13% of global DRAM wafer capacity and about 11% of bit shipments; by 2028, it is expected to further increase to 500,000 wafers, and by 2031, it could reach 800,000 wafers. If the expansion proceeds smoothly, Changxin's global DRAM bit shipment market share could approach 15% by 2030, and it may even have the opportunity to surpass Micron in production capacity around 2028, becoming the third-largest DRAM supplier in the world.

  • US Spot Ethereum ETF Sees Net Inflow of $102.17 Million Yesterday

    On August 29, according to monitoring by Trader T, the US spot Ethereum ETF recorded a net inflow of $102.17 million yesterday.

  • US Spot Ethereum ETF Sees Net Inflow of $102.17 Million

    On August 29, according to monitoring by Trader T, the US spot Ethereum ETF experienced a net inflow of $102.17 million yesterday.

  • US Spot Bitcoin ETF Sees Net Outflow of $201.81 Million

    On August 29, according to monitoring by Trader T, the US spot Bitcoin ETF experienced a net outflow of $201.81 million yesterday.

  • US Spot Bitcoin ETF Sees Net Outflow of $201.81 Million Yesterday

    On August 29, according to monitoring by Trader T, the US spot Bitcoin ETF experienced a net outflow of $201.81 million yesterday.

  • BTC Surpasses $78,000

    Market data shows that BTC has surpassed $78,000, currently priced at $78,009.49. The 24-hour decline has narrowed to 3.23%. Due to significant market fluctuations, please ensure proper risk management.

  • BTC Surpasses $78,000

    Market data shows that BTC has surpassed $78,000, currently priced at $78,009.49, with a 24-hour decline narrowing to 3.23%. The market is experiencing significant volatility, so please ensure proper risk management.

  • BTC Briefly Drops Below $77,000

    Market data shows that BTC briefly fell below $77,000, currently reported at $77,694, with a 24-hour decline of 3.3%. The market is experiencing significant volatility, so please ensure proper risk management.

  • BTC Briefly Drops Below $77,000

    Market data shows that BTC briefly fell below $77,000, currently reported at $77,694, with a 24-hour decline of 3.3%. The market is experiencing significant fluctuations, so please ensure proper risk management.