Ethereum upgrades pose testing challenges, says Sprinter co-founder
Source: Crypto Briefing — Read the original ↗
Summary
Greg Markou, co-founder and CEO of Sprinter, warned that Ethereum upgrades are hard to test and can break many applications without warning, because testnets cannot cover every edge case on the live network. He maintained web3.js during the EIP-1559 change in the August 2021 London hard fork, when an undetected invariant involving MetaMask affected nearly every app relying on the library. He described Ethereum as an "absolute monolithic beast" whose interconnected parts make the ripple effects of a single change difficult to predict.
Key points
- web3.js is a JavaScript library that lets apps talk to the Ethereum blockchain.
- A hard fork forces every node onto new rules, so software built on old assumptions can break.
- An invariant is an assumption developers expect to always hold; when it silently fails, dependent apps can break.
Why it matters: It is a reminder that app teams should prepare for surprises around each Ethereum hard fork.
Tóm tắt
Greg Markou, đồng sáng lập kiêm CEO Sprinter, cảnh báo rằng các bản nâng cấp Ethereum rất khó kiểm thử và có thể làm hỏng nhiều ứng dụng mà không báo trước, vì testnet không bao quát hết mọi trường hợp biên trên mạng chính. Ông từng duy trì web3.js trong đợt EIP-1559 của hard fork London tháng 8/2021, khi một giả định bất biến liên quan đến MetaMask không được phát hiện đã ảnh hưởng gần như mọi ứng dụng dùng thư viện này. Ông mô tả Ethereum là một "absolute monolithic beast" với các thành phần đan xen khiến khó dự đoán tác động của một thay đổi.
Điểm chính
- web3.js là thư viện JavaScript giúp ứng dụng giao tiếp với blockchain Ethereum.
- Hard fork buộc mọi node theo luật mới, nên phần mềm xây trên giả định cũ có thể bị lỗi.
- Invariant là điều kiện mà nhà phát triển cho rằng luôn đúng; khi nó âm thầm sai, các ứng dụng phụ thuộc có thể hỏng.
Vì sao quan trọng: Đây là lời nhắc các đội ứng dụng cần chuẩn bị cho bất ngờ quanh mỗi hard fork Ethereum.
摘要
Sprinter联合创始人兼CEO Greg Markou警告,以太坊升级很难测试,可能在毫无预警的情况下导致大量应用出错,因为测试网无法覆盖主网上的所有边缘情况。2021年8月伦敦硬分叉中的EIP-1559升级期间,他是web3.js的维护者,当时一个涉及MetaMask、未被发现的不变量问题影响了几乎所有依赖该库的应用。他把以太坊形容为一个"absolute monolithic beast",各部分高度关联,难以预测单项改动的连锁影响。
要点
- web3.js是让应用与以太坊区块链通信的JavaScript库。
- 硬分叉要求所有节点遵循新规则,基于旧假设构建的软件可能出问题。
- 不变量是开发者认为始终成立的条件,一旦悄然失效,依赖它的应用就可能出错。
为何重要: 这提醒应用团队在每次以太坊硬分叉前后都要做好应对意外的准备。
Original summary written by VolumeVein from the publisher’s article; no full text is republished. Facts belong to the original report — read it for full context. Not financial advice.
Read the full article on Crypto Briefing ↗