原文链接:https://weekinethereumnews.com/week-in-ethereum-news-july-30-2022/ 作者:Evan Van Ness 翻译:翻译小组[1]
POW 关闭(合并)
- Goerli 合并公告[2],最后一个测试网合并,更新你的节点,主网之前最后的合并练习机会:
- Lighthouse v2.4.0[7]
- Lodestar v0.41.0[8]
- Nimbus v22.7.0[9]
- Prysm v2.1.4-rc.0[10]
- Teku v22.7.0[11]
- Besu v22.7.0-RC3[3]
- Erigon v2022.07.04-alpha[4]
- Geth v1.10.21[5]
- Nethermind v1.13.5[6]
- Goerli 信标链 (Prater) Bellatrix 将在 epoch 112260 升级 (8 月 4 日 12:24PM UTC)
- 合并 TTD(Terminal Total Difficulty)设为 10,790,000 (8 月 6-12 日)
- 执行层客户端:
- 共识层客户端:
- Rémy Roy 写的关于 Geth Lighthouse[12] 和 Besu Teku[13] 的运行指南
- 给质押者: 合并配置小贴士[14]以及常见问题
- EF DevOps 快速同步信标节点的检查点(checkpoint)同步端点[15]
- Mainnet-shadow-fork-10 合并成功[16], 没有客户端兼容问题
执行层
- Akula[17] (Erigon 的 Rust 版本)在 35.5 小时内同步全部存档节点, 速度几乎是 Erigon 的两倍
POS 共识层
- PoS 实施者视频会议[18]. 来自 Ben Edgington[19] 和 Christine Kim[20] 的记录:
- 终端区块执行边界情况的规范
- 扩展 optimistic 节点定义
- MEV Boost 断路器(circuit breaker)[21]提案
- 最新的Eth2 新特性[22]
Layer2
- EIP4844 (proto-danksharding) 视频会议[23] 和 记录[24]
- BLS 交易类型[25]草案
- Layer 2 修复, 可变的实际 gas 消耗[26]
- Arbitrum Rinkeby 测试网[27] 升级到 Nitro
- Rainbow 手机钱包[28] 在 Arbitrum 和 Optimism 上添加了 NFT
- 给初学者: Optimism 初学者指南[29]
EIP
- EIP5320[30]: 兼容 NFT 的 Harberger tax 接口
- EIP5341[31]: 定义 NFT 推荐程序的标准接口。
- EIP5344[32]: 灵魂绑定代币,它有一个固定的地址列表,共同拥有代币。
开发者资料
- Huff[33] 发布(用于合约 gas 优化的低级汇编语言),包括编译器、Foundry 库、项目模板、VSCode 扩展和合约库(Huffmate)
- Vyper 语言:
- v0.3.4[34]: abi 解码, 枚举, uint2str, 支持 ERC5202 工厂模式
- Vyper 举例[35]
- VyperPunk[36]: 用 Brownie 的 CTF
- 验证链上的两个数互质[37]
- 用 ZK-Snarks 验证 ed25519 签名[38] , 研究项目
- ganache v7.4.0[39]: 支持 Hardhat console.log ,eth_getProof
- sol2uml v2[40]: 加入合约存储槽(使用合约的存储值)可视化。
- slither-read-storage[41]使用指南,检索存储槽,
- Optimism 的 Drippie[42]: 基于如 Gelato 服务的链上自动运行
- ethers-rs v0.17[43]: 修复 bug,更新文档
- evm-translator[44] (TypeScript 库): 人类可读的交易, 用于社交网络
- evm-trace[45] (Python 库): 交易跟踪
- Ape v0.4.0[46]: (Python 合约架构): 改进了对日志和跟踪的处理,添加了历史查询
- wagmi v0.6[47]: 添加 Prepare Hooks,在发送交易前准备交易
- NFT Embed[48]: iFrame 小部件,用于通过 Universe 市场销售 NFT
- eth.limo[49] 支持按需获取 ENS 子域证书
- Ethernaut DAO CTF 售卖机解决方案[50]
安全
- Audius 100 万美元漏洞[51], 可升级合约中的存储冲突允许重新初始化
- Balancer 披露DoS 漏洞[52](一个双重进入点漏洞),支付了 5 万美元赏金
(编者注:本翻译不代表登链社区的立场,也不代表我们(有能力并且已经)核实所有的事实并把他的观点分离开来。)
参考资料
[1]
翻译小组: https://learnblockchain.cn/people/412
[2]
Goerli合并公告: https://blog.ethereum.org/2022/07/27/goerli-prater-merge-announcement/
[3]
v22.7.0-RC3: https://github.com/hyperledger/besu/releases/tag/22.7.0-RC3
[4]
v2022.07.04-alpha: https://github.com/ledgerwatch/erigon/releases/tag/v2022.07.04
[5]
v1.10.21: https://github.com/ethereum/go-ethereum/releases/tag/v1.10.21
[6]
v1.13.5: https://github.com/NethermindEth/nethermind/releases/tag/1.13.5
[7]
v2.4.0: https://github.com/sigp/lighthouse/releases/tag/v2.4.0
[8]
v0.41.0: https://github.com/ChainSafe/lodestar/releases/tag/v0.41.0
[9]
v22.7.0: https://github.com/status-im/nimbus-eth2/releases/v22.7.0
[10]
v2.1.4-rc.0: https://github.com/prysmaticlabs/prysm/releases/tag/v2.1.4-rc.0
[11]
v22.7.0: https://github.com/ConsenSys/teku/releases/tag/22.7.0
[12]
Geth Lighthouse: https://github.com/remyroy/ethstaker/blob/main/merge-goerli-prater.md
[13]
Besu Teku: https://github.com/remyroy/ethstaker/blob/main/merge-goerli-prater-alt.md
[14]
合并配置小贴士: https://notes.ethereum.org/@launchpad/merge-configuration-checklist
[15]
检查点(checkpoint)同步端点: https://notes.ethereum.org/@launchpad/checkpoint-sync#EF-DevOps-Endpoints
[16]
合并成功: https://twitter.com/abcoathup/status/1552394627998969856
[17]
Akula: https://twitter.com/PaoloRebuffo/status/1550874921496100868
[18]
视频会议: https://www.youtube.com/watch?v=XDfNg8mdC10&t=543s
[19]
Ben Edgington: https://hackmd.io/@benjaminion/BJjamMl69
[20]
Christine Kim: https://docsend.com/view/5jpzhe3z8x2w2mjz
[21]
断路器(circuit breaker): https://hackmd.io/@ralexstokes/BJn9N6Thc
[22]
Eth2新特性: https://hackmd.io/@benjaminion/eth2_news/https://hackmd.io/@benjaminion/wnie2_220729
[23]
视频会议: https://www.youtube.com/watch?v=t8B7NBRPBfg
[24]
记录: https://docs.google.com/document/d/1KgKZnb5P07rdLBb_nRCaXhzG_4PBoZXtFQNzKO2mrvc/edit#
[25]
BLS 交易类型: https://research.arbitrum.io/t/draft-for-bls-transaction-type-erc/117
[26]
实际 gas 消耗: https://twitter.com/sanjaypshah/status/1552679502018478084
[27]
Arbitrum Rinkeby 测试网: https://twitter.com/arbitrum/status/1552759659139944453
[28]
Rainbow 手机钱包: https://twitter.com/rainbowdotme/status/1551978336359890944
[29]
Optimism 初学者指南: https://app.optimism.io/get-started
[30]
EIP5320: https://github.com/ethereum/EIPs/pull/5320/files
[31]
EIP5341: https://github.com/ethereum/EIPs/pull/5341/files
[32]
EIP5344: https://github.com/ethereum/EIPs/pull/5344/files
[33]
Huff: https://twitter.com/huff_language/status/1552368251186716673
[34]
v0.3.4: https://github.com/vyperlang/vyper/releases/tag/v0.3.4/
[35]
举例: https://vyper-by-example.org/
[36]
VyperPunk: https://github.com/SupremacyTeam/VyperPunk#readme
[37]
两个数互质: https://github.com/hrkrshnn/notes/blob/main/2022/verify-coprime.org
[38]
验证 ed25519 签名: https://ethresear.ch/t/verify-ed25519-signatures-cheaply-on-eth-using-zk-snarks/13139
[39]
v7.4.0: https://github.com/trufflesuite/ganache/releases/tag/v7.4.0
[40]
v2: https://twitter.com/naddison/status/1553048037085564929
[41]
slither-read-storage: https://blog.trailofbits.com/2022/07/28/shedding-smart-contract-storage-with-slither/
[42]
Drippie: https://dev.optimism.io/drippie-how-optimism-automates-ethereum/
[43]
v0.17: https://twitter.com/gakonst/status/1552822989162364928
[44]
evm-translator: https://twitter.com/BrennerSpear/status/1552091025887281152
[45]
evm-trace: https://banteg.mirror.xyz/3dbuIlaHh30IPITWzfT1MFfSg6fxSssMqJ7TcjaWecM
[46]
v0.4.0: https://github.com/ApeWorX/ape/releases/tag/v0.4.0
[47]
v0.6: https://twitter.com/wagmi_sh/status/1552056222232104960
[48]
NFT Embed: https://twitter.com/nftembed/status/1552292725902516229?s=12&t=Ts8-LTlRJrjvz7H46njjAA
[49]
eth.limo: https://twitter.com/eth_limo/status/1551658332611649536
[50]
售卖机解决方案: https://stermi.medium.com/ethernautdao-ctf-vending-machine-solution-b30a74ba4a0f
[51]
100万美元漏洞: https://blog.audius.co/article/audius-governance-takeover-post-mortem-7-23-22
[52]
DoS 漏洞: https://medium.com/immunefi/balancer-dos-bugfix-review-8a8ba5d971bf