A growing number of products use layer 2 solutions to expand the capabilities of primary blockchains like Ethereum, where computation is off-loaded from the root chain, and the results are published to it in bulk. Those include optimistic and zero-knowledge rollups, information oracles, and app-specific chains. This work presents an analysis of layer 2 blockchain strategies determining the optimal times for publishing transactions on the root chain. There is a trade-off between waiting for a better layer 1 gas price and the urgency to finalize layer 2 transactions. We present a model for the problem that captures this trade-off, generalizing previous works, and we analyze the properties of optimal publishing strategies. We show that such optimal strategies hold a computable simple form for a large class of cost functions.
翻译:越来越多的产品采用第二层解决方案来扩展以太坊等主链的功能,其计算任务从根链卸载,结果批量发布至根链。这些方案包括乐观卷叠与零知识卷叠、信息预言机以及应用专用链。本文提出了一种第二层区块链策略分析方法,用于确定在根链上发布交易的最佳时机。这需要在等待更低的第一层燃料价格与完成第二层交易确认的紧迫性之间进行权衡。我们构建了捕捉这一权衡的问题模型,该模型推广了以往的研究工作,并分析了最优发布策略的性质。研究表明,对于一大类成本函数而言,此类最优策略具有可计算的简洁形式。