为什么选择 EIP4844?坎昆升级之前 L2 是如何运行的

币圈资讯 阅读:43 2024-04-22 10:32:47 评论:0
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

作者:BLOB 来源:mirror 翻译:善欧巴,比特币买卖交易网

本文将介绍L2网络在坎昆升级之前如何工作、为什么它们比以太坊便宜,并且它们如何保证最终用户的正确性和安全性。

介绍

“等等……我以为 calldata 在执行智能合约时扮演着某种角色?” “没错,Blob!你没记错。我们确实要用 calldata 来指定智能合约在处理交易时要做什么。但其实我们没必要只做那种事!”

所以,因为交易的 calldata 里可以写入任何东西,L2 们便冒出了一个绝妙的主意:把他们的交易、证明和执行结果都塞进数据字段里!这真是个好点子,因为有了 calldata,L2 现在就能把自己的历史写入以太坊,从而获得极高的去中心化和安全性——毕竟以太坊非常去中心化,而且极难篡改!

但是……在 calldata 里写入数据会产生一个隐藏的影响,伤害所有 L1 和 L2 的用户:所有的交易都将竞争同一个手续费市场!

这意味着,如果以太坊上的 Gas 价格因为某个 NFT 发行而飙升,L2 写入数据的成本也会增加!这会直接导致 L2 上发送交易的成本上升!反过来说,如果某个 L2 网络需要写入大量数据,这也将伤害所有根本不关心 L2 数据的以太坊用户!

EIP-4844 来救援

由于上述问题,以太坊社区想到了一个非常聪明的方法来解决不良的外部性:创建一个独立的地方,让 L2 可以安心地开展业务!

EIP-4844 承载着这个简单的想法:“让 L2 做自己的事情,而不打扰以太坊用户!”为了实现这一目标,它引入了一种新的交易类型,使 L2 网络能够将他们需要的所有数据发布到blobspace :以太坊区块中的一个新部分,将托管 L2 数据写入交易。

此外,EIP-4844将创建一个单独的费用市场,使以太坊用户和L2网络不会互相打扰,并使对方的交易成本更高:每个人都将在自己的车道上行驶,安全且不受干扰。此次升级的影响预计为 L2 交易的 Gas 费用减少约 10 倍。

结论

Dencun 时代之后,L2 网络本身的运作方式不会有太大变化,真正会受到影响的是它们在以太坊上写入和提交特定交易集的方式。 从用户角度来看,最大的变化将是 L2 上大幅降低的 gas 费用,以及 L1 上更小的 gas 峰值!

在下一篇文章中,我们将深入挖掘 EIP-4844 的具体实现、它的功能以及一些有趣的技术细节!


This article will introduce how the network works before Cancun's upgrade, why they are cheaper than Ethereum, and how they ensure the correctness and security of end users. I thought it played a role in executing smart contracts. You remember correctly, we really used it to specify what smart contracts should do when dealing with transactions, but in fact, we don't have to just do that, so because everything can be written in the trading room, people emerged. It's a wonderful idea to stuff their transaction certificates and execution results into the data field, which is really a good idea, because with it, you can write your own history into Ethereum now, thus achieving extremely high decentralization and security. After all, Ethereum is very decentralized and extremely difficult to tamper with, but writing data in it will have a hidden impact, hurting all users and all transactions will compete for the same handling fee market, which means that if the price in Ethereum soars because of a certain issue. The cost of writing data will also increase, which will directly lead to the increase in the cost of sending transactions on the Internet. Conversely, if a network needs to write a large amount of data, it will also hurt all Ethereum users who don't care about the data to rescue them. Due to the above problems, Ethereum community has come up with a very clever way to solve the bad externalities and create an independent place so that it can carry out its business with peace of mind and do its own thing without disturbing Ethereum users. Objective: It introduces a new transaction type, which enables the network to publish all the data they need to a new part of the Ethereum block, and write the entrusted data into the transaction. In addition, it will create a separate fee market so that the users of Ethereum and the network will not disturb each other and the transaction cost of each other will be higher. Everyone will drive safely in their own driveway without interference. It is expected that the transaction cost will be reduced by about times. Conclusion The operation mode of the network itself will not exist after the era. Too much change will really be affected by the way they write and submit a specific transaction set in the Ethereum. From the user's point of view, the biggest change will be the greatly reduced cost and the smaller peak in the world. In the next article, we will dig deeper into the specific functions and some interesting technical details. 比特币今日价格行情网_okx交易所app_永续合约_比特币怎么买卖交易_虚拟币交易所平台

文字格式和图片示例

注册有任何问题请添加 微信:MVIP619 拉你进入群

弹窗与图片大小一致 文章转载注明 网址:https://netpsp.com/?id=61423

美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
可以去百度分享获取分享代码输入这里。
声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

发表评论
平台列表
美化布局示例

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
关注我们

若遇到问题,加微信客服---清歌

搜索
排行榜
扫一扫,加我为微信好友加我为微信好友