{"content":{"title":"每周以太坊进展 2023/3/4","body":"## Shapella (上海 + Capella)升级\r\n\r\n*   [Sepolia 测试网](https://twitter.com/parithosh_j/status/1630423179687604225)成功升级到 Shapella\r\n*   [withdrawal-mainnet-shadowfork-2](https://twitter.com/abcoathup/status/1631783236748857344)成功升级到Shapella，断路器在本地区块构建测试\r\n*   最新的所有核心开发者 - 共识（ACDE）[视频会议](https://www.youtube.com/watch?v=GNhrb5txJ4M&t=168s)。来自[Tim Beiko](https://twitter.com/timbeiko/status/1631371121399562245)的记录：\r\n    *   Goerli 测试网 Shapella 升级定于 3 月 14 日晚上 10:25 UTC\r\n    *   主网 Shapella 升级将在 Goerli（假设没有问题）后约 4 周，日期将在下次 ACDE 会议上确定\r\n    *   Cancun 计划讨论：SSZ、EIP4788（EVM 中的信标状态根）、EIP2537（BLS12-381 预编译）和移除 SELFDESTRUCT\r\n    *   Geth 提议移除 eth/66、pending区块及预合并同步\r\n*   钱包开发者：[处理：取款没有在执行层上创建交易，引起余额没有更新](https://twitter.com/TimBeiko/status/1630693566023598085)\r\n\r\n## Dencun (Cancun + Deneb) 升级\r\n\r\n*   KZG仪式：\r\n    *   [61k+ 贡献者](https://ceremony.ethereum.org/)，20k+ 在等候，*第一个*一般贡献期还剩 9 天\r\n    *   [JavaScript 客户端](https://github.com/dsrvlabs/czg-keremony#readme)实现\r\n*   SSZ （Simple serialize ）突破[视频会议](https://www.youtube.com/watch?v=Nl7iwAcqekY)：EIP 更新了[联合与正常](https://ethereum-magicians.org/t/eip-6404-ssz-transactions-root/12783/17)交易表示的指标\r\n\r\n## Layer 1\r\n\r\n*   执行层客户端多样性：[Nethermind 客户端超过 20% 的同步节点](https://twitter.com/ant_sabado/status/1630732757012717570)\r\n*   EF [账户抽象赞助](https://esp.ethereum.foundation/account-abstraction-grants)，高达 30 万美元，截止日期为 3 月 31 日\r\n*   Flashbot：\r\n    *   [用多方计算尾随隐私交易](https://writings.flashbots.net/backrunning-private-txs-MPC)，概念证明\r\n    *   在 Sepolia 测试网上，[SGX enclave 内运行的区块生成器](https://writings.flashbots.net/block-building-inside-sgx)\r\n*   提议[将 blob 从执行负载中解耦](https://ethereum-magicians.org/t/uncouple-blobs-from-the-execution-payload/13059)\r\n\r\n## 研究\r\n\r\n*   [简单单Slot最终性](https://ethresear.ch/t/a-simple-single-slot-finality-protocol/14920)提案，同步动态可用协议和最终性小工具\r\n*   [订单流拍卖 (OFA)](https://frontier.tech/the-orderflow-auction-design-space)分析\r\n\r\n## 给质押者\r\n\r\n*   Rocket Pool [Rescue Node](https://rescuenode.com/)：在紧急情况或维护时临时访问的回退节点\r\n\r\n## Layer 2\r\n\r\n*   Scroll zkEVM [alpha 测试网](https://scroll.io/blog/alphaTestnet)\r\n*   Arbitrum 提出交易[时间加速](https://offchain.medium.com/time-boost-a-new-transaction-ordering-policy-for-arbitrum-5b3066382d62)替代先到先得(FCFS)，MEV 搜索者最多可以为交易购买0.5秒的提升\r\n*   Jordi Baylina：[证明者不是 zk rollup 可扩展性的瓶颈](https://twitter.com/jbaylina/status/1629352597445394432)，因为它们可以并行运行\r\n*   Patrick McCorry：在 rollup 之上的[链下系统（Layer 3）](https://stonecoldpat.substack.com/p/sharp-superchain-layer-3s-temporary)\r\n\r\n## EIP\r\n\r\n*   ERC：\r\n    *   [ERC6596](https://github.com/ethereum/EIPs/pull/6596/files)：历史资产元数据 JSON 模式\r\n\r\n\r\n\r\n## 开发者资料\r\n\r\n*   Hardhat [v2.13.0](https://github.com/NomicFoundation/hardhat/releases/tag/hardhat%402.13.0)：支持 ES 模块 (ESM) ，对 solc 基于 IR 的编译管道支持更友好\r\n*   Remix [v0.31](https://medium.com/remix-ide/remix-release-v0-31-0-a-forking-good-time-64dfca5a6a08)：分叉主网/测试网/自定义网络，检查 UUPS 合约的存储布局不兼容性、备份文件/文件夹、UML 缩放和 Remixd v0.6.12\r\n*   Foundry：\r\n    *   forge-std [v1.5.0](https://twitter.com/msolomon44/status/1630729716272447489)：控制台颜色/样式的 StdStyle，左/右显示断言失败，ERC721 和 ERC1155 交易作弊，assertEqCall 和 expectCall 的最小 gas 变体\r\n    *   Foundry 脚本[基础抽象合约](https://twitter.com/PaulRBerg/status/1629480999888273412)\r\n*   Trail of Bits ： ABDKMath64x64, ERC20 和 ERC4626 的[可重用属性](https://blog.trailofbits.com/2023/02/27/reusable-properties-ethereum-contracts-echidna/)，与 Echidna 模糊或 [Foundry 单元测试](https://twitter.com/gakonst/status/1630290323263086594)一起用\r\n*   OpenZeppelin [v4.8.2](https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.2)：修复了合约ERC721Consecutive 当 _mintConsecutive 用于大小为1的批次时，可能导致余额溢出的错误。\r\n*   [未经检查的计数器](https://github.com/PaulRBerg/unchecked-counter#readme)：`+` 用户定义的运算符，用以提高unchecked的循环的可读性\r\n*   [汇编中的位移位和掩码](https://medium.com/@mweiss.eth/solidity-and-evm-bit-shifting-and-masking-in-assembly-yul-942f4b4ebb6a)(Yul)\r\n*   [Poseidon-huff](https://github.com/rymnc/poseidon-huff#readme) : Poseidon 哈希函数移植到 Huff\r\n*   Fe（语言）[v0.21.0-alpha](https://github.com/ethereum/fe/releases/tag/v0.21.0-alpha)：自类型、最大/最小特征以及数字类型的实现\r\n*   wagmi [ABIType v0.6](https://twitter.com/wagmi_sh/status/1631017966505541633)：添加人类可读的 ABI 类型级别和运行时解析实用程序\r\n*   入门套件：\r\n    *   [构建前端](https://github.com/District-Labs/buidl-frontend#readme)：wagmi、RainbowKit、Next.js；加上消息签名，使用以太坊登录和合约部署\r\n    *   [Optimism 入门](https://github.com/ethereum-optimism/optimism-starter#readme)：wagmi、Foundry、RainbowKit & Vite；及 Optimism [attestation station](https://community.optimism.io/docs/governance/attestation-station/)\r\n*   tx2uml [v1.1.0](https://github.com/naddison36/tx2uml/releases/tag/v1.1.0)：增加了新的`value`命令，用来生成值转移的 UML 序列图标\r\n*   [Sybil Form](https://github.com/dabit3/sybil-form#readme)：用 Gitcoin Passport 的抗女巫形式\r\n*   [Tenderly Faucet](https://tenderly-faucet.vercel.app/)：通过水龙头分叉网络和资金地址\r\n*   CTF挑战：\r\n    *   [Curta](https://www.curta.wtf/) CTF 协议直播\r\n    *   [Sussy](https://github.com/Philogy/sussy-huff-ctf#readme) Huff 挑战\r\n    *   EKO2022 CTF [元宇宙超市解决方案](https://stermi.xyz/blog/eko2022-ctf-metaverse-supermarket-solution)\r\n    *   Damn Vulnerable DeFi v3[Unstoppable 的解决方案](https://bytes032.xyz/Notes/Unstoppable)\r\n    *   Secureum RACE #15：[8 个问题 Solidity 测验和答案](https://ventral.digital/posts/2023/2/27/race-15-of-the-secureum-bootcamp-epoch-infinity)\r\n*   [Fusion zkRollup](https://github.com/leonardoalt/fusion#readme)： Rust 的实验性简单rollup\r\n\r\n## 安全\r\n\r\n*   [来自 Code4rena 竞赛的可利用合约漏洞分析](https://www.cs.purdue.edu/homes/zhan3299/res/ICSE23.pdf)\\[PDF\\]，80% 目前超出现有检测工具\r\n*   [Counter Exploit Toolkit](https://github.com/jtriley-eth/counter-exploit-toolkit#readme)：可升级合约，具有任意存储写访问权限、代币和 ETH 提取、ETH 存款蜜罐和来自攻击者的代币转移\r\n\r\n\r\n## 应用层\r\n\r\n*   账户抽象：\r\n    *   部署在主网和 Optimism 上的ERC4337 [EntryPoint 合约](https://twitter.com/erc4337/status/1631087958949531648)，用户操作被发送到私有内存池，打包器然后批处理并发送到 EntryPoint 执行 \r\n    *   Safe [{Core}](https://safe.mirror.xyz/FLvQQ5J9qXks0izRl73oC6LiFLofbwFNorwzaEj_xL8) : 账户抽象栈\r\n*   [MakerDAO 拒绝了](https://vote.makerdao.com/polling/QmRh87bm)Cogent Bank 的 1 亿美元贷款提议\r\n*   [提议](https://governance.aave.com/t/bgd-rescue-of-tokens-locked-on-aave-overview-and-phase-1/8150/80)拯救错误发送给 Aave 的代币\r\n*   [LlamaZip](https://twitter.com/0xngmi/status/1630367605415444480)：UniswapV3 路由器通过压缩调用数据针对 Optimism 进行了优化\r\n*   [以太坊见证服务](https://mirror.xyz/0xeee68aECeB4A9e9f328a46c39F50d83fA0239cDF/jmpn9Ykymny7JNCwWKkaDUFCx3MYqykx5phzfrVHHuE)在 Arbitrum 上线\r\n*   [空投对 NFT 市场的影响](https://rabbithole.mirror.xyz/s1BFIgK1oIDAiQnUpyIJtsfx18zvN0U6tWh4fW76DV8)分析\r\n*   POAP [Checkout](https://blog.poap.xyz/checkout/)：出售 POAP 以抵抗女巫攻击或在主网和 Arbitrum 上获得收入\r\n\r\n\r\n\r\n---\r\n\r\n原文链接：https://weekinethereumnews.com/week-in-ethereum-news-march-4-2023/\r\n作者：Evan Van Ness\r\n翻译：[翻译小组](https://learnblockchain.cn/people/412)\r\n\r\n（编者注：本翻译不代表登链社区的立场，也不代表我们（有能力并且已经）核实所有的事实并把他的观点分离开来。）"},"author":{"user":"https://learnblockchain.cn/people/4295","address":null},"history":null,"timestamp":1678095965,"version":1}