(編者注:Week in Ethereum 是 Evan 的個人作品。他既傳達事實,也會加入自己的引申。翻譯這些信息不代表我們認可他的立場,也不代表我們(有能力並且已經)覈實所有的事實並把他的觀點分離開來。)
主網
-
Bonsai Tries 扁平存儲模式,將 Besu 客戶端的歸檔節點體積降低到 1 TB 以下
https://consensys.net/blog/news/bonsai-tries-a-big-update-for-small-state-storage-in-hyperledger-besu -
Piper Merriam 的 Aperture 接口網絡進展:兩個客戶端正在開發一個提供狀態的網絡
https://snakecharmers.ethereum.org/aperture-vol-1/
EIP
- EIP4345:推遲難度炸彈到 2022 年 5 月
https://eips.ethereum.org/EIPS/eip-4345
權益證明
-
Altair 升級公告:在 10 月 27 日之前升級你的 staking 客戶端。致命 Bug 的賞金高達 10 萬美元
https://blog.ethereum.org/2021/10/05/altair-announcement/ -
正在開發 PoW 關停互操作性的客戶端團隊:
-
Teku/Lighthouse 客戶端和 Geth/Besu 客戶端在完成 Altair 升級和 PoW 關閉之後保持同步的視頻
https://www.symphonious.net/2021/10/08/ethereum-merge-local-testnet-demo/ -
互操作性的每日進展
https://twitter.com/sigp_io/status/1446521008702246913
-
最新的 What’s New in Eth2:收集反思,考慮如何創建長期存在的多客戶端測試網,用於 PoW 關閉的研究
https://hackmd.io/@benjaminion/eth2_news/https%3A%2F%2Fhackmd.io%2F%40benjaminion%2Fwnie2_211008 -
Consensus specs v1.1.2:修復了 Altair 和 PoW 關閉的測試生成器
https://github.com/ethereum/consensus-specs/releases/tag/v1.1.2 -
MergeMock:用於測試的模擬執行引擎和共識節點
https://github.com/protolambda/mergemock -
Merge-fuzz:測試引擎 API 的框架
https://twitter.com/vdWijden/status/1446461842977591297 -
共識客戶端切換指南清單
https://www.reddit.com/r/ethstaker/comments/pxx0oz/ethstaker_comprehensive_list_of_client_switching/ -
爲修復漏洞,Rocket Pool (質押池)啓動推遲
https://twitter.com/Rocket_Pool/status/1445536222881857545
Layer 2
-
StarkNet alpha 計劃在 11 月在主網推出:准入型部署,在 alpha 和 beta 版本間沒有後向兼容保證
https://medium.com/starkware/starknet-alpha-is-coming-to-mainnet-b825829eaf32 -
Etherscan 推出的 Arbitrum 測試網瀏覽器
https://testnet.arbiscan.io/ -
有效性證明的成本攤銷:zkRollup 交易越多,單交易成本越低
https://polynya.medium.com/the-dynamics-around-validity-proof-amortization-519e9ae291c1 -
無需公開交易歷史數據的 zkRollup,可支持隱私合約執行並精簡 calldata
https://ethresear.ch/t/a-zkrollup-with-no-transaction-history-data-to-enable-private-smart-contract-execution-with-calldata-efficiency/10961
開發者材料
-
CREATE3:部署合約的庫,地址是確定性的,依賴於 salt 而非代碼,減少了 6 萬的 gas 消耗量
https://github.com/0xsequence/create3 -
SSTORE2 合約存儲方式,在大於 64 字節的項上,比原生的方法要更便宜;對 SLOAD 最多可便宜 17 倍,對 SSTORE 最多可便宜 3 倍
https://twitter.com/Agusx1211/status/1446187302389170183 -
ERC3652PureProxy:基於純粹代理工廠的 CREATE2,在構造器中執行 delegate call
https://github.com/1inch/ERC3652/blob/feature/pure-proxy-factory/contracts/ERC3652PureProxy.sol -
Fisher-Yates Shuffle:鏈上隨機打亂數據
https://twitter.com/cleanunicorn/status/1445691819098992648 -
noble-hashes:SHA2、SHA3、RIPEMD、BLAKE2、HMAC、HKDF、PBKDF2 和 Scrypt 的快速、安全、最小化的 Javascript 實現
https://github.com/paulmillr/noble-hashes -
prb-math.js:PRBMath Solidity 庫的 JavaScript 實現,用於測試
https://www.npmjs.com/package/prb-math.js -
eth-sdk:使用地址,爲一個合約創建一個類型安全的 SDK
https://github.com/dethcrypto/eth-sdk -
在使用 onlyOwner 修改器時,Solidity 的 存儲項內動態數組會覆蓋掉合約存儲項
https://twitter.com/ylv_io/status/1445104519239643157 -
Vyper v0.3.0:重構傳統後端
https://github.com/vyperlang/vyper/releases/tag/v0.3.0 -
mev-inspect-py:發現礦工支付、代幣轉賬、互換和套利
https://github.com/flashbots/mev-inspect-py
安全性
-
有風險的 COMP 增加到約 49 萬個,drip 函數已經發送了積壓的約 20 萬 COMP 給審計器,社區一直在歸還 COMP
https://twitter.com/rleshner/status/1444691278986457095 -
Staking pool 的漏洞 1 影響了 Lido 和 Rocket Pool,存款交易可以被搶跑,使得用戶資金處在風險之中。由 StakeWise 2 公開;2019 年末在 Eth Research 論壇 3 上已有討論
應用
原文鏈接 : https://weekinethereumnews.com
作者 : Evan Van Ness