以太坊核心开发者会议笔记:上海升级的最新进展

Odaily星球日报Publicado em 2023-01-12Última atualização em 2023-01-12

Resumo

EOF 相关 EIP 被移除出上海升级。

上海升级的进展

”“

在上海升级方面,在圣诞节前已经上线了第一个开发者测试网,所有客户端组合都在上面运行,大家可以看看以太坊基金会 devops 的仪表盘。有些客户端组合出现了问题,但开发者们将尽快推出一个新的开发者测试网。

”“

此外,Geth 团队的 Marius@vdWijden 提出对 EIP 3860 (对 initcode 的大小设限并引入 gas 计量) 设计上的小修改 —— 纠正该 EIP 中一个令人困惑的错误模式,即违反 initcode 限制导致的是零地址错误而不是 OOG (gas 不足) 错误。这项提议得到开发者们的认同,即将错误模式改为 OOG 错误,然后终止或中止执行,而不是返回一个零地址,这样将减少在客户端实现中的混乱和漏洞。以上是客户端团队的意见,如果智能合约开发者强烈反对这个修改,可能就不修改了。

”“

EOF 相关 EIP 被移除出上海升级

”“

接下来,会议主要讨论 EOF 相关话题。

”“

Geth 团队的开发者@lightclients 给大家更新了 12 月进行的 EOF 小组会议的情况。(EOF 即 EVM 对象格式,它会为以太坊的代码环境引入一些变化。与之相关的 EIP 将更明确地区分智能合约的代码和数据,并使得 EVM 在未来更容易升级。) 简单来说,规范被敲定,并做了两个小型修改:删除 JUMPF 并使得数据 EOF 合约必须包含数据部分。

”“

在测试方面,Geth 团队的 @mhswende 已经开始对实现做模糊测试,在所有客户端上都发现了漏洞并修复了。现在的模糊测试主要针对在客户端上 EOF container/结构的实现,但不包括部署的 EOF 代码。以太坊基金会测试团队的 Mario Vega@elbuenmayini 补充道,由于 EOF 的复杂性,可能很难对错误情况写静态测试用例,因为实现可能会在遇到确切测试用例前先遇到另一个错误。

”“

在客户端团队方面,Geth 和 Besu 已经有完整实现并通过了大部分的测试。Nethermind 也已经有实现了,但不确定最好使用哪个测试套件。而 Erigon 将使用 Geth 的 EOF 实现。

”“

基于 EOF 的实现和测试情况,Vitalik 也表达了对仓促实现 EOF 的担忧,并发表了 EOF 提案:禁用 EOF 账户的代码自省 (code introspection)。

”“

Vitalik 在会议上阐述了这个提案背后的思考,以及解释为什么修改 EVM 通常比其他协议修改更困难。他指出,从以太坊中删除工作量证明比弃用操作码来得更容易。这是因为以太坊应用/合约依赖 EVM 的特定行为,因此修改必须向后兼容,否则将破坏已部署的合约。而协议其他方面的修改只需要每个人在特定时间进行更新,除此之外,不会破坏网络上的任何东西。

”“

这意味着,当我们改进 EVM,或引入新版本,例如 EOF,我们很可能需要永远与它们共存,因为我们不能弃用之前版本。理想情况下,我们想让 EVM 更简洁/简单,但如果我们只能在它上面添加东西而从不删除东西,这就会变得很难。删除东西最大的挑战之一是 EVM 中的代码自省。

”“

因此,Vitalik 的提案是在 EOF v1 中添加更多内容,这将极大地限制 EOF 合约中的代码自省,从而有可能使其在未来更容易升级。Ipsilon 团队的@alexberegszaszi 提到,EOF 提案的作者们其实之前有考虑过类似的功能,决定放弃是想保持 EOF v1 简单。他还提出一个替代方案,将 Vitalik 的提案纳入到 EOF v2。

”“

但是,对于这份在 EOF v1 基础上添加内容的提案,客户端团队担心整体的修改规模过大。@lightclients 也表示,基于目前 EOF 测试的进度,把它纳入上海升级可能会延迟大概一个月的时间。如果想要在二月初能上线主网测试网升级,EOF 的部分应该未能准备好。而且,这是一个很重要的决定,因为 EVM 的变更一旦部署了就不能修改。

”“

经过讨论,开发者们最后决定要再多花时间考虑 EOF 的问题,因此将其从上海升级移除,但会保持 EOF 上的工作。他们应该能够在坎昆升级中部署某个版本的 EOF 与 4844 。在这次会议上,开发者们没有对坎昆升级做出正式决定,并将在下次会议再讨论。

”“

那上海升级是否需要补充其他的 EIP 呢?经过讨论,开发者们决定不再添加其他 EIP,免得延迟上海升级。

”“

其他 EIP 的讨论

”“

随后,开发者们还讨论了 Nimbus 团队的 Etan Kissling 的提案:在 ExecutionPayloadHeader 的交易列表里添加十六进制树根。

”“

简单来说,现在执行层区块头和共识层执行负载头 (ExecutionPayloadHeader) 之间使用不同的序列化格式编码的字段。这两个字段编码格式不同给钱包和以太坊轻客户端构建带来额外的开销和复杂性。Kissling 提议向执行层添加 CL 的 SSZ 序列化格式,或共识层客户端采用多种方式支持执行层的 RLP 序列化格式。这个提案与上海升级中的提款相关,因此相对紧急。这个问题将在这周的共识层会议 (ACDC) 上再次讨论,即 1 月 12 日。

”“

会议最后还讨论了 EIP-5843 (EVM 模块化的算术扩展) 的和 EIP-5988 (添加 Poseidon 哈希函数预编译)。由于 EIP-5843 的作者未能与会,开发者们同意之后再对此 EIP 进行讨论。而 5988 由 StarkWare 提出,旨在在以太坊网络上提高运行零知识证明的效率。但这可能给以太坊的安全性带来未知后果。

Leituras Relacionadas

Must-Watch Events Next Week|CLARITY Act Could Face Senate Vote; SpaceX, Circle to Report Earnings (8.3-8.9)

**Summary: Key Events and Developments to Watch (August 3-9)** The upcoming week is marked by significant financial disclosures, key legislative deadlines, and notable product updates. **Major Financial Events:** Several companies are scheduled to release their Q2 2026 earnings. American Bitcoin (ABTC) will report on August 3, followed by SpaceX and Hut 8 Mining Corp. on August 4, and Circle on August 5. Notably, a significant portion of SpaceX shares (up to 12% of total shares) will be unlocked on August 6 following their earnings release. **Key Legislative Deadline:** The U.S. Senate faces an August 7 deadline to secure 60 votes for the CLARITY Act, a bipartisan bill aiming to establish a federal regulatory framework for cryptocurrencies. The Senate may hold a full vote on the bill during the week. **Economic Data:** The U.S. July Non-Farm Payrolls report will be released on August 7, providing crucial labor market data. **Technology & Product Updates:** * **Shutdowns:** DeFi portfolio tracker Zapper and wallet app Ctrl Wallet will cease operations on August 3. * **Upgrades:** LayerZero will deprecate its v1 relayers on August 3. XRP Ledger's new version 3.3.0, featuring five new functions, is expected next week. * **AI:** Elon Musk announced that the advanced Grok 4.6 AI model is set for release around August 7. * **Bitcoin:** The BIP-110 forced signaling for a potential Bitcoin network change is scheduled to begin around August 8. **Other Notable Events:** Chinese robotics firm Unitree Tech has set its preliminary price inquiry for its IPO for August 5. South Korean exchange Upbit will delist AQT and AERGO tokens on August 3.

marsbitHá 1h

Must-Watch Events Next Week|CLARITY Act Could Face Senate Vote; SpaceX, Circle to Report Earnings (8.3-8.9)

marsbitHá 1h

Stocks Are Plummeting More Sharply Than Cryptocurrencies. Where Has the Money Gone?

Stock Markets Plunge Deeper Than Cryptocurrencies: Where Did the Money Go? In late July, Seoul's Kospi index triggered circuit breakers for two consecutive days, plummeting over 40% from its June high. The collapse was led by heavyweight stocks like SK Hynix, whose record profits still disappointed investors, and devastating leveraged ETFs, with one major product losing over 83% of its value. This signaled a global, forced deleveraging targeting the most crowded trades. Interestingly, while stocks exhibited extreme volatility akin to crypto markets, Bitcoin rose nearly 15% in July after a prior steep drop. Analysis shows the money fleeing equities did not flow into Bitcoin. Instead, Bitcoin had already absorbed its sell-off in May-June, when U.S. spot Bitcoin ETFs saw historic outflows. The true safe-haven beneficiary was gold, whose price rose over 20% year-on-year, highlighting a decoupling between Bitcoin and gold as "digital gold." The sell-off was a targeted unwinding of leveraged positions in tech and semiconductors, accelerated by broker-dealer risk management and shifts in the AI narrative, including new competition from Chinese memory chipmakers. The retreat path was clear: from high-valuation tech stocks to cash and U.S. Treasuries, then to gold. For Bitcoin to attract sustained institutional inflows, conditions like eased global liquidity pressure, a "soft-landing" Fed rate cut, and U.S. regulatory clarity via legislation like the stalled CLARITY Act are needed. Currently, Bitcoin is not a safe haven but an already-cleared asset. Its low correlation with tech stocks, however, makes it a potential diversification play for institutional portfolios once the storm passes. The money isn't here yet, but the positioning is underway.

marsbitHá 1h

Stocks Are Plummeting More Sharply Than Cryptocurrencies. Where Has the Money Gone?

marsbitHá 1h

In Conversation with Ray Dalio: We Are Currently in an AI Bubble, with 1% of My Portfolio in Bitcoin

Ray Dalio, founder of Bridgewater Associates, warns in an interview that the current AI boom shows classic bubble characteristics, which could lead to significant economic downturns as seen in past cycles like 1929 or 2000. He explains that speculative enthusiasm, fueled by debt and overvaluation, often precedes a crash when rising rates or taxation force asset sales, causing widespread losses and recession. Dalio also outlines his "Big Cycle" theory, describing an approximate 80-year pattern where widening wealth gaps, massive government deficits, and shifting geopolitical power (like China's rise) create internal conflict and global instability. He emphasizes that we are in a late-cycle, transitional phase where traditional powers like the US and UK face decline. For personal wealth protection, Dalio advises diversification beyond cash into assets like stocks, bonds, real estate, and particularly gold, which he prefers over Bitcoin. While he holds about 1% of his portfolio in Bitcoin as a non-printable hard asset, he views gold as more secure from technological or governmental threats. Regarding AI's impact, Dalio believes it will disproportionately benefit capital owners, worsening inequality by replacing both physical and cognitive labor. He suggests that human intuition and emotional intelligence, combined with AI, will be key for future workers. On taxation, Dalio argues that wealth taxes are impractical and risk triggering asset sell-offs, reducing productive investment. He points to the UK as a cautionary example of debt, low productivity, and political strife. Geopolitically, Dalio foresees a more regionalized world, with the US showing weakness in prolonged conflicts like with Iran, akin to past imperial declines. The ideal outcome, he suggests, is coexisting powerful blocs (e.g., Americas, China-Asia Pacific) without major war.

marsbitHá 5h

In Conversation with Ray Dalio: We Are Currently in an AI Bubble, with 1% of My Portfolio in Bitcoin

marsbitHá 5h

Trading

Spot
活动图片