Ethereum:以太坊上海升级,又增加了哪些新内容?

去中心化金融社区Опубліковано о 2022-12-19Востаннє оновлено о 2022-12-19

Анотація

以太坊核心开发者会议151在12月8日召开,会上讨论了即将到来的上海升级。新增3个EIP:EIP-4200、EIP-4750和EIP-5450。让我们更详细地看看它们是什么。

以太坊网络即将进行重大更新:上海升级,通过这次更新以太坊网络将完全过渡到权益证明共识机制。合并增加了以太坊的中心化,上海升级应该能解决这个问题。

”“

以太坊上海网络更新包括几个以太坊改进提案(EIP)。在关于这次重大更新的一篇文章中,我们描述了将包含在上海升级中的EIP。其计划容纳6个EIP: EIP-3540、EIP-3651、EIP-3670、EIP-3855、EIP-3860、EIP-4895。

”“

以太坊核心开发者会议151在12月8日召开,会上讨论了即将到来的上海升级。这次会议的摘要由以太坊开发者Tim Beiko发布。

”“

新增3个EIP:EIP-4200、EIP-4750和EIP-5450。让我们更详细地看看它们是什么。

”“

EIP-4200:EOF - 静态相对跳转

”“

这个EIP添加了三个新的EVM跳转指令:RJUMP、RJUMPI 和 RJUMPV。为了优化网络和降低成本,它们是必需的。

”“

“一个反复出现的讨论主题是EVM只有动态跳转的机制。这些提供了一个非常灵活的体系结构,只有2条(!)指令。然而,这种灵活性是有代价的:它使代码分析更加复杂,并且(部分地)导致需要JUMPDEST标记。……这些指令的主要好处是降低了gas成本(在部署和执行时)和提供更好的分析性能。”

”“

EIP-4750: EOF -函数

“”

这个EIP与EIP-4200一样,旨在优化代码。优化是通过将代码划分为几个部分来实现的。

“”

引入在EOF格式(EIP-3540)字节码中包含多个代码段的能力,每个代码段代表一个单独的子程序/函数。引入了CALLF和RETF两个新的操作码来调用和返回这样的函数。此外,还引入了JUMPF指令来执行跳转到函数的操作。动态跳转指令是不允许的。”

“”

EIP-5450:EOF -堆栈验证

“”

这个EIP引入了扩展代码验证。并且旨在优化网络。

“”

“目前,现有的EVM实现对每条执行的指令进行大量的有效性检查,例如检查堆栈溢出/下溢,是否有足够的gas等。此更改旨在通过在部署时进行验证来最大程度地减少运行时所需的此类检查次数。”

“”

在以太坊核心开发者会议151上,还讨论了另外两个EIP的添加:EIP-663和EIP-6064。EIP-663的无限SWAP和DUP指令引入了两个新指令:SWAPN和DUPN,它们与SWAP和DUP的区别在于堆栈深度从16个元素增加到256个元素。EIP-6046:DEACTIVATE 替换 SELFDESTRUCT引入了对SELFDESTRUCT指令的更改,“不删除所有存储密钥,并在帐户随机数中使用特殊值来指示已停用的帐户。”指令 SELFDESTRUCT 也被重命名为 DEACTIVATE。

“”

在以太坊核心开发者会议151中,最有趣的信息是上海升级的最后期限。开发人员称2023年3月是上海硬分叉的最后期限。

Пов'язані матеріали

Cryptocurrency Companies Urge AI Labs to 'Arm' Bitcoin Defenders with the Most Powerful Models

Over thirty Bitcoin and cryptocurrency companies have called on leading AI labs to provide open-source developers with early access to the most powerful cybersecurity models. In an open letter organized by the Bitcoin Policy Institute, signatories including Coinbase, Block, BitGo, Blockstream, ARK Invest, and Foundry argue that developers of critical financial infrastructure like Bitcoin Core are at a disadvantage, using less capable AI tools than potential attackers. They contend that the safety restrictions of public AI models can hinder legitimate vulnerability research. The letter requests that AI labs establish trusted access programs offering early model access, sufficient computing resources for audits, secure environments for private code analysis, and inclusion for small teams and independent developers. The signatories warn that the Bitcoin network secures over $1 trillion in assets, and infrastructure vulnerabilities pose significant risks. They cite recent incidents like the exploitation of a critical vulnerability in BTCPay Server and a major attack on Coldcard wallets, where a configuration error led to the theft of approximately 1,719 BTC ($111 million). The call comes amid a series of high-value crypto infrastructure attacks in 2026, including multimillion-dollar losses from protocols like Ostium, AFX, Summer.fi, and Bonzo Lend due to logic flaws and oracle manipulation. The companies believe advanced AI could strengthen defenses by analyzing large codebases, detecting atypical exploit scenarios, and helping developers identify issues before malicious actors can exploit them.

cryptonews.ru22 хв тому

Cryptocurrency Companies Urge AI Labs to 'Arm' Bitcoin Defenders with the Most Powerful Models

cryptonews.ru22 хв тому

Торгівля

Спот
活动图片