坎昆升级临近,一览值得关注的EIP协议

Odaily星球日报Опубліковано о 2024-01-02Востаннє оновлено о 2024-01-02

Анотація

本文将详细探讨这些提案的细节和潜在影响。

原文作者:Blockwords

原文编译:深潮 TechFlow

随着以太坊网络向 2024 年第一季度的 Dencun 硬分叉迈进,社区热切期待着一系列重要的改进提案(EIPs)。这些提案不仅关乎以太坊的未来走向,也可能为整个加密货币生态系统带来深远影响。在本文中,我们将详细探讨这些提案的细节和潜在影响,为读者提供一个全面的了解。

最新的以太坊全核心开发者会议最终为下一个主网硬分叉 Dencun 升级确暂定了一些时间表。需要注意的是,只有如果没有出现重大问题,以太坊开发人员计划在以下日期来分叉以太坊的公共测试网:

  • Goerli: 1 月 17 日

  • Sepolia: 1 月 30 日

  • Holesky: 2 月 7 日

这将是 Goerli 最后一次加入测试计划,因为该网络预计将被弃用。

他们还讨论了接下来的事情——尚未命名的 Prague/Electra 升级。以太坊社区正在考虑是专注于一个大型核心功能的改进(这可能需要一年的工作)还是围绕多个较小的改进进行升级(这可能在 2024 年末实现)。

对于上面这个问题,新年后将作出决定,但目前,以下是 2024 年 Dencun 升级之后值得关注的一些改进:

EIP-4844 (原始 Danksharding)

EIP-4844 是 Dencun EIP 中的重大项目,是 2023 年许多新闻报道的焦点。

StarkWare 联合创始人 Eli Ben-Sasson 指出,此次升级将降低所有L2的数据可用性成本。 所以这是 Starknet 非常期待的事情,这样用户就可以降低成本。

Web3 钱包开发商 Suku 的首席技术官 Lucas Henning 称,这是“以太坊突破性改进的一年”。EIP-4844 是一个变革性的技术,它将把 Rollup Gas 费削减多达 100 倍。

账户抽象化兴起

Henning 关注的另一个重点是利用账户抽象化的改进:ERC-4337 及其扩展 ERC-6900 。

ERC 是 EIP 的一个子集,专门关注以太坊生态系统内的代币标准。它们为代币实现定义规则,以确保互操作性。与某些修改核心协议的 EIP 不同,ERC 通常不需要硬分叉。

ERC-4337 于 3 月上线,Henning 认为账户抽象化的概念将在最重要的用户变化中发挥关键作用。

他表示,账户抽象化将彻底改变我们对钱包的认知和互动方式,使 Gas 交易成为标准,安全的社交登录成为新常态,从根本上重塑以太坊用户体验。

传统上,以太坊有两种类型的账户:由私钥控制的外部拥有账户(EOA)和由代码控制的合约账户。账户抽象化模糊了这种区别,允许用户创建更像智能合约的账户。

它可以提高用户体验和安全性,并允许更复杂的账户逻辑,如多重签名钱包或社交恢复丢失的密钥。

ERC-6900 引入了“委托交易”的概念。这个标准也不需要对以太坊主网共识进行更改,它允许用户委托他人代表自己发送交易的能力,例如,为了节省时间和麻烦,对一批操作进行一次批准。

EIP-1153 (瞬时存储操作码)

这个提议是 Dencun 的一部分,旨在引入处理智能合约执行期间临时或瞬时存储的新机制。

以太坊上的传统存储操作是永久性的且消耗 Gas。对于不需要在一笔交易中持续存在的临时数据来说,这可能是低效的。

EIP-1153 是一个操作码(操作代码),它允许智能合约使用瞬时存储——在交易执行结束时会被清除的存储。

Uniswap 团队为 1153 号游说,并希望它已经在 Shapella 中,但他们无法获得足够的支持,在核心开发者中达成共识。这次升级预计将在提升 Uniswap 即将推出的v4协议的能力和效率方面发挥重要作用。

点击这里以阅读:Uniswap Labs 为v4准备了什么?

通过启用临时存储,EIP-1153 可以降低合约执行期间存储数据的 Gas 成本,并为开发者在设计智能合约时提供更多灵活性。

通过减轻对永久存储的负担并最小化状态膨胀,EIP-1153 可以有助于整个以太坊网络的可扩展性。

EIP-4788 (Beacon 区块根提交)

想象以太坊是一个庞大的图书馆,有两个主要部分:以太坊虚拟机(EVM)部分,就像人们来阅读书籍(执行智能合约)的阅览室,和 Beacon 链(信标链)部分,就像图书馆的目录系统,跟踪所有书籍及其位置(以太坊网络的共识和协调)。

在 EIP-4788 之前,这两个部分功能上有些独立。EVM 部分没有直接访问最新的目录;它必须依赖间接方法来了解 Beacon 链部分发生的情况。

EIP-4788 提议在每个 EVM 区块中放置一个“Beacon 区块根”(父区块的摘要或哈希树根)。这就像从图书馆过时的卡片归档系统(效率低下,有时不准确)转移到与主图书馆数据库实时、准确和直接链接的系统。

在这个现代图书馆中,每当有新书被添加、移动或移除时(Beacon 链更新),读者(EVM)可以立即获得准确的信息。读者可以相信他们正在获得最新的信息,图书馆的操作(如执行智能合约)更符合整体目录系统(共识层的状态)。

所有这一切都以信任最小化的方式发生,消除了外部预言机提供这些数据的需要,从而减少了潜在的故障或操纵点。

这一变化对于 Lido、基于智能合约的桥接器和重新抵押解决方案等流动质押协议特别有利,因为它允许这些协议直接从共识层访问验证者余额和状态等关键数据,从而增强其安全性和运营效率。

EIP-4788 本质上引入了协议级预言机,在整个主网上传递以太坊的共识状态。

Nil Foundation 的创始人 Misha Komarov 正在为 Lido 部署 zkOracle,他称其“绝对有帮助”。他表示“他们需要在应用逻辑中使用共识层状态根(目前是通过 zkLLVM 到执行层内的 Casper FFG 证明来证明的),这是在 zkOracle 设计中完成的”。

点击这里以阅读:新的以太坊 Rollup 采用零知识方法进行分片

EIP-5656 (MCOPY 操作码)

EVM 使用一组指示各种操作的操作码进行操作。

EIP-5656 引入了一个名为 MCOPY 的新操作码,该操作码旨在优化智能合约执行期间内存中数据复制的过程。

在当前的 EVM 架构中,使用现有操作码复制大量数据段可能效率低下且成本高昂。MCOPY 提供了一种更有效的方式,预计能够降低与这些操作相关的 Gas 费,同时提升性能。

更快的内存操作意味着合约的执行速度更快,开发人员将拥有更多工具来优化他们的智能合约——特别是在处理大型数据结构或涉及内存操作的复杂操作时。

EIP-6780 (限制 SELFDESTRUCT)

在以太坊中,SELFDESTRUCT 操作码允许智能合约将自身从区块链中删除。执行时,它会从状态中移除合约的代码和存储,并将合约剩余的以太币发送到指定地址。

然而,这一功能导致了几个问题,包括状态管理的复杂性和潜在的安全漏洞。通过限制 SELFDESTRUCT,以太坊可以更好地管理其状态大小,从而实现更稳定和可预测的区块链。这对于网络的长期可扩展性和维护至关重要,因为它将简化未来的以太坊升级。

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

The Value Distribution of Stablecoins

**Summary: The Value Distribution of Stablecoins** The article argues that stablecoins are evolving from mere trading tools into broader channels for dollar access. It divides the stablecoin ecosystem into four layers to analyze how value is distributed: 1. **Issuance Layer:** Mints stablecoins, holds reserve assets, and captures the spread between reserve yield and user costs (e.g., Tether, Circle). This layer currently earns the largest profit margin. 2. **Infrastructure Layer:** Connects stablecoins to the traditional financial system, handling fiat on/off-ramps, banking integration, compliance (KYC/AML), and asset management (e.g., Bridge, BVNK). This is the "unglamorous" but critical work, building the essential bridges between crypto and real-world finance. 3. **Acquiring/Distribution Layer:** Integrates stablecoins into merchant systems, manages payment flows, and provides enterprise financial software (e.g., Stripe, Coinbase). They act as the access point for businesses. 4. **Application Layer:** The end-users and businesses that ultimately use stablecoins for payments, settlements, or as a store of value. They benefit from convenience but have little pricing power. The core thesis is that while the issuance layer currently dominates profits, the often-overlooked **infrastructure layer holds significant long-term potential**. The real challenge and barrier to mass adoption is not the on-chain transfer of stablecoins (which is simple), but the complex "last mile" integration into existing business workflows, banking systems, and regulatory frameworks across different countries. Companies in this layer are currently in a "land grab" phase, investing heavily to build networks, secure bank partnerships, and establish compliance pathways. While their position is currently pressured by the profitable issuers above and distribution platforms below, the article suggests that if stablecoins become a default financial rail for businesses, the infrastructure providers who have done the hard work of integration will ultimately gain strong pricing power and become entrenched, essential players.

marsbit1 год тому

The Value Distribution of Stablecoins

marsbit1 год тому

The Value Distribution of Stablecoins

The Value Distribution of Stablecoins The article argues that stablecoins are evolving from a mere trading tool into a broad "dollar channel." It analyzes the industry's value chain through four layers: 1. **Issuance Layer (e.g., Tether, Circle):** The top layer that mints stablecoins, holds reserve assets, and captures the thickest interest rate spread. 2. **Infrastructure Layer (e.g., Bridge, BVNK):** Connects stablecoins to the traditional financial system, handling critical but complex "dirty work" like fiat on/off-ramps, banking integration, compliance (KYC/AML), and cross-border settlement. 3. **Acquiring/Distribution Layer (e.g., Stripe, Coinbase):** Embeds stablecoins into merchant systems, manages payment flows, and integrates with enterprise software. 4. **Application Layer:** End-users and businesses that ultimately use stablecoins for payments, settlement, or storing value. The author posits that while the issuance layer currently captures the most profit, the most overlooked and potentially critical layer is infrastructure. The core challenge for stablecoin adoption isn't the on-chain transfer (which is simple), but bridging the gap between blockchain and the real-world financial system. This involves solving practical problems for businesses: fiat conversion, reconciliation, tax handling, and user onboarding. Infrastructure companies are currently in a difficult "land-grab" phase—building networks, securing banking relationships, and achieving compliance country-by-country. They face pressure from both the profitable issuance layer above and distribution platforms below. However, the author suggests this layer is building a crucial moat. Once stablecoins become a default business rail, the infrastructure players who have done the hard work of integration may gain significant, durable value and pricing power.

链捕手1 год тому

The Value Distribution of Stablecoins

链捕手1 год тому

How to Do Research Well: Deliberately Practice the Real Skills That Matter

No one truly teaches you how to do research. You're often given a desk, a pre-selected problem, and vague instructions to "create something new." Consequently, many people reverse-engineer the job based on visible outputs—papers, posts, announcements—learning only how to *appear* like a researcher rather than how to *become* one. True research capability is built from stacking small, trainable skills, nearly all of which can be developed through deliberate practice. **Pick Your Own Problem:** Most researchers absorb problems from advisors or trends, lacking the underlying reasoning. Choosing a problem you genuinely care about, as John Schulman advises, leads to original work. Develop "taste" like a muscle: predict experiment outcomes, guess paper results from methods, and track which findings remain important over time. **Upgrade Your Inputs:** Relying on shared reading lists (arXiv hot lists, filtered group chats) leads to unoriginal conclusions. Undervalued old literature often holds crucial insights (e.g., MoE, LSTM, backpropagation). Richard Sutton's "The Bitter Lesson" or Claude Shannon's 1952 talk on creative thinking are more predictive than lengthy modern surveys. Breadth matters as much as depth: draw from neuroscience, mechanism design, hardware knowledge, and honest statistics. Read papers directly, especially appendices and limitations sections. **Write Everything Down:** As Paul Graham noted, writing exposes flaws in seemingly mature ideas. Writing is the cheapest defense against self-deception. Following Feynman's principle, Darwin programmatically wrote down facts contradicting his theory to combat memory bias. Maintain a detailed log of hypotheses, setups, predictions, results, and updated understandings. Reviewing past logs fosters essential humility.

marsbit4 год тому

How to Do Research Well: Deliberately Practice the Real Skills That Matter

marsbit4 год тому

Торгівля

Спот
Ф'ючерси
活动图片