Implementation Study of Cost-Effective Verification for Pietrzak's Verifiable Delay Function in Ethereum Smart Contracts

๐Ÿ“… 2024-05-10
๐Ÿ›๏ธ arXiv.org
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF

career value

226K/year
๐Ÿค– AI Summary
To address the bottlenecks hindering Ethereum-based deployment of Pietrzak-type verifiable delay functions (VDFs)โ€”namely, large proof size, high recursive verification overhead, and prohibitive gas costsโ€”this work presents the first systematic adaptation of the VDF verification logic to the EVM gas model. We propose a co-optimization framework for proof generation and verification, incorporating RSA accumulator optimization, EVM assembly-level modular exponentiation, mathematical structure simplification, and batched verification. Our optimizations reduce VDF verification gas consumption from 4 million to 2 million and compress proof size to under 8 KB for 2048-bit RSA. This breakthrough overcomes the core practicality barriers to on-chain VDF deployment in Ethereum smart contracts, delivering an efficient and viable solution for trustless, time-delayed primitives in blockchain systems.

Technology Category

Application Category

๐Ÿ“ Abstract
Verifiable Delay Function (VDF) is a cryptographic concept that ensures a minimum delay before output through sequential processing, which is resistant to parallel computing. One of the significant VDF protocols academically reviewed is the VDF protocol proposed by Pietrzak. However, for the blockchain environment, the Pietrzak VDF has drawbacks including long proof size and recursive protocol computation. In this paper, we present an implementation study of Pietrzak VDF verification on Ethereum Virtual Machine (EVM). We found that the discussion in the Pietrzak's original paper can help a clear optimization in EVM where the costs of computation are predefined as the specific amounts of gas. In our results, the cost of VDF verification can be reduced from 4M to 2M gas, and the proof length can be generated under 8 KB with the 2048-bit RSA key length, which is much smaller than the previous expectation.
Problem

Research questions and friction points this paper is trying to address.

Ethereum Smart Contracts
Pietrzak's Verifiable Delay Function (VDF)
Blockchain Testing
Innovation

Methods, ideas, or system contributions that make the work stand out.

Optimized Pietrzak VDF
Reduced Verification Cost
Enhanced Blockchain Efficiency