每周以太坊进展 2020/08/16

Medalla 测试网在上周出现了网络动荡

## Eth1 - Geth [v1.9.19](https://github.com/ethereum/go-ethereum/releases/tag/v1.9.19) 加入了 backrunning 补丁 - Turbogeth 客户端 [alpha2](https://github.com/ledgerwatch/turbo-geth/releases/tag/v2020.08.02-alpha) 版本发布 - [为 EVM 加入跨交易的 BLS 签名聚合](https://ethresear.ch/t/adding-cross-transaction-bls-signature-aggregation-to-ethereum/7844) ## Eth2 - Medalla 测试网在上周出现了网络动荡,起因是 Prysm 客户端[没能正确处理 Cloudflare 服务中断问题](https://docs.google.com/document/d/11RmitNRui10LcLCyoXY6B1INCZZKq30gEU6BEg3EWfk/edit#heading=h.d5qpimbr9o7y);然后[紧急更新又把本地的存储内容都删掉了](https://twitter.com/terencechain/status/1294637848029585409)。如果你在运行 Prysm 客户端,请[升级到最新版本并重启节点](https://github.com/prysmaticlabs/prysm/releases/tag/v1.0.0-alpha.22) * 这个事件充分体现了为什么我们需要有测试网 —— 移除不必要的依赖(比如 Cloudflare 服务)、测试错误模式、发现 bug * 这次网络动荡事件也证明了为什么 Eth2 **需要并鼓励**客户端多样性。这里有一些运行不同客户端的指南:[Teku](https://medium.com/@SomerEsat/guide-to-staking-on-ethereum-2-0-ubuntu-medalla-teku-170e2c52bd23) (Somer Esat)、[Nimbus](https://www.coincashew.com/coins/overview-eth/guide-how-to-stake-on-eth2-with-nimbus) (CoinCashew)、[Lighthouse](https://gist.github.com/Larrypcdotcom/fcd4e79c2cf02ce37ec6ed9797beca2c) (larrypc)、[Lodestar](https://www.coincashew.com/coins/overview-eth/guide-how-to-stake-on-eth2-with-lodestar) (CoinCashew) * 提醒:运行小众但可靠的客户端是质押用户的责任,也是你们的利益 * 如果你是质押用户,想寻找支持,可以看看 [Ethstaker subreddit](https://www.reddit.com/r/ethstaker/) 论坛或者它们的 [discord](https://discord.com/invite/6fJw9qG) - [Dafny 团队:形式化验证 Eth2 的技术规范](https://consensys.net/blog/blockchain-development/formally-verifying-the-ethereum-2-0-phase-0-specifications/) - [Nimbus 客户端](https://our.status.im/medalla-update/)提高了见证消息的效率,并切换到了 blst 的 BLS 签名算法代码库 - Danny Ryan 的 [eth1 + eth2 合并 demo](https://youtube.com/watch?v=6iW1MeT-Cug…) ## EIP - [EIP2878](https://github.com/ethereum/EIPs/pull/2878):降低区块奖励到 0.5 ETH - [EIP2872](https://github.com/ethereum/EIPs/blob/5a883ed1d738b8153ac69dc57146492b2596d646/eip-halvening.md):降低区块奖励到 1 ETH - [ERC2876](https://github.com/junderw/EIPs/blob/bd4195448e2e5067c48c320e8c4abd7c8c37835a/EIPS/eip-2876.md):保证金合约和地址标准 ## Layer-2 - Hermez zk rollup [通过拍卖区块生产者职位](https://blog.hermez.io/proof-of-donation-keeping-hermez-permissionless-and-giving-back-to-the-community/)来为公共品提供资金 - Celer 的 [State Guardian Network 测试网启动](https://blog.celer.network/2020/08/10/state-guardian-network-beta-testnet-launches/) - Livepeer 的[概率性微支付准 Layer-2 方案](https://forum.livepeer.org/t/how-are-livepeers-probabilistic-micropayments-holding-up-with-these-ethereum-high-gas-prices/1127) - ENS [尝试用 optimistic rollup 类似方案来解决 DNS 域名声明问题](https://discuss.ens.domains/t/improving-gas-efficiency-of-dns-domain-claims-with-optimistic-verification/189) - [Rollup 重放保护](https://ethresear.ch/t/zkrollup-optimistic-rollup-replay-protection/6999) ## 开发者材料 - MetaMask 将在 11 月[停止注入 window.web3](https://medium.com/metamask/breaking-changes-to-the-metamask-provider-its-happening-eebc91fff1a7),Provider API 也出现了重大变更 - Truffle [v5.1.39](https://github.com/trufflesuite/truffle/releases/tag/v5.1.39):更多支持 Solidity v0.7 - [如何让 Solidity 库拥有状态变量](https://dev.to/mudgen/solidity-libraries-can-t-have-state-variables-oh-yes-they-can-3ke9) - [MaticVigil](https://medium.com/blockvigil/maticvigil-scalable-blockchain-api-for-everyone-2bc09489e602):一个帮助在 Matic 上开发的 API 网关 - [Gas saver deployer](https://twitter.com/emilianobonassi/status/1292788283592912896):使用 Chi gas token 来部署合约的合约 - [Solidity 中的值数组](https://medium.com/coinmonks/value-arrays-in-solidity-32ca65135d5b?source=friends_link&sk=3c2aaf53c7f776cf7d636112d311a48d) - [如何最优化合约规模](https://medium.com/coinmonks/how-to-optimize-eth-smart-contract-size-part-1-a393f444a1df) - [使用 Chainlink 来连接 API 和合约](https://blog.chain.link/apis-smart-contracts-and-how-to-connect-them/) - [给工程师的零知识证明教学](https://blog.zkga.me/intro-to-zksnarks) - Opyn [给上周的 bug 出的事后报告](https://medium.com/opyn/opyn-eth-put-exploit-post-mortem-1a009e3347a8) - [ERC20 tokens 安全交互入门指南](https://soliditydeveloper.com/safe-erc20) - [一份 ERC721 subgraph](https://twitter.com/wighawag/status/1293254549092872197) - [自己实现以太坊的默克尔帕特里夏树来理解它](https://medium.com/@chiqing/merkle-patricia-trie-explained-ae3ac6a7e123) - [OpenRelay 如何击退 DOS 攻击](https://blog.openrelay.xyz/dos/thursday) ## 生态 - 本周 Gas Price 已经疯狂,普遍要 100 Gwei 以上才能让自己的交易被打包,Gas 价格一度高达 300 Gwei。每天的交易手续费高达 2 万 ETH,而区块奖励每天只有 1.3 万 ETH - 星火矿池使用自己的交易提供了 Gas 价格预测服务 [GasNow](https://www.gasnow.org/)(带有 API) - 如果你在为你的用户推送 Gas 价格(或者用程序来自动发送大量交易),可以看看 [any.sender 如何自动提高 Gas 价格](https://medium.com/anydot/how-well-does-any-sender-cope-during-events-like-yam-wednesday-ef4d30ed279e) - [Devcon 升级提案](https://blog.ethereum.org/2020/08/14/announcing-devcon-improvement-proposals/) - [如何使用 Metamask 连接 “去中心化的 Infura” Pocket 网络](https://medium.com/pocket-network/making-metamask-highly-redundant-by-relaying-through-pockets-decentralized-ethereum-api-e556002043ad) - [Randomness 峰会](https://www.youtube.com/watch?v=661hUozi9oo)和 [Edcon2020 大会](https://www.youtube.com/playlist?list=PL6-IF807eaBEqcWtWkNs0tPNbARehnk_8)视频 ## 应用 - [DeFi 锁定价值已达 60 亿美元](https://twitter.com/tayvano_/status/1295020525949878272)(虽然我们都知道有[重复计算问题](https://twitter.com/damirbandalo/status/1295089928901140481)) - [看起来像是庞氏骗局](https://blog.rotki.com/2020/08/13/sustainable-defi/)的 YAM [在代码还未审计时就启动了](https://medium.com/@yamfinance/yam-finance-d0ad577250c7),市值一路上涨到 6 亿美元,随后一个 bug 冻结了 75 万美元;然后市值下降到了 [4 亿美元](https://yam.zippo.io/)。YAM token 价格曾上涨到 160 美元,现在降到了 1 美元以下。[准备迁移到 v2](https://medium.com/@yamfinance/yam-migration-faq-57c705688fe6) - CurveDAO 的[推出历程颇有些戏剧化](https://twitter.com/CurveFinance/status/1294089573673455617),导致大家指控有人预挖 - [Aave v2](https://medium.com/aave/aave-v2-the-seamless-finance-d52075d97a70):单笔交易就可以偿还贷款,用 AAVE 来治理,推出了固定利率的存款服务,更少的 Gas 耗用量,等等 - MolochDAO [v2.x](https://medium.com/lexdaoism/introducing-moloch-dao-v2x-mystic-ethereum-contract-upgrades-c7984801d4db):更高的 Gas 效率,用封装 token 来投票,接受 ETH - 1inch [推出 Mooniswap](https://medium.com/@1inch.exchange/1inch-revolutionizes-automated-market-maker-amm-segment-with-mooniswap-e068c20d94c):流动性提供者可以通过超过 5 分钟的延迟价格获得部分永久损失 ------ **原文链接:** https://weekinethereumnews.com/week-in-ethereum-news-august-16-2020/ **作者:** Evan Van Ness **翻译:** 阿剑 本期 Week In Ethereum News 由 [Matcha](https://matcha.xyz/) 赞助。 本文由作者授权 EthFans 翻译及再出版。

Eth1

  • Geth v1.9.19 加入了 backrunning 补丁
  • Turbogeth 客户端 alpha2 版本发布
  • 为 EVM 加入跨交易的 BLS 签名聚合

Eth2

  • Medalla 测试网在上周出现了网络动荡,起因是 Prysm 客户端没能正确处理 Cloudflare 服务中断问题;然后紧急更新又把本地的存储内容都删掉了。如果你在运行 Prysm 客户端,请升级到最新版本并重启节点
    • 这个事件充分体现了为什么我们需要有测试网 —— 移除不必要的依赖(比如 Cloudflare 服务)、测试错误模式、发现 bug
  • 这次网络动荡事件也证明了为什么 Eth2 需要并鼓励客户端多样性。这里有一些运行不同客户端的指南:Teku (Somer Esat)、Nimbus (CoinCashew)、Lighthouse (larrypc)、Lodestar (CoinCashew)
    • 提醒:运行小众但可靠的客户端是质押用户的责任,也是你们的利益
    • 如果你是质押用户,想寻找支持,可以看看 Ethstaker subreddit 论坛或者它们的 discord
  • Dafny 团队:形式化验证 Eth2 的技术规范
  • Nimbus 客户端提高了见证消息的效率,并切换到了 blst 的 BLS 签名算法代码库
  • Danny Ryan 的 eth1 + eth2 合并 demo

EIP

  • EIP2878:降低区块奖励到 0.5 ETH
  • EIP2872:降低区块奖励到 1 ETH
  • ERC2876:保证金合约和地址标准

Layer-2

  • Hermez zk rollup 通过拍卖区块生产者职位来为公共品提供资金
  • Celer 的 State Guardian Network 测试网启动
  • Livepeer 的概率性微支付准 Layer-2 方案
  • ENS 尝试用 optimistic rollup 类似方案来解决 DNS 域名声明问题
  • Rollup 重放保护

开发者材料

  • MetaMask 将在 11 月停止注入 window.web3,Provider API 也出现了重大变更
  • Truffle v5.1.39:更多支持 Solidity v0.7
  • 如何让 Solidity 库拥有状态变量
  • MaticVigil:一个帮助在 Matic 上开发的 API 网关
  • Gas saver deployer:使用 Chi gas token 来部署合约的合约
  • Solidity 中的值数组
  • 如何最优化合约规模
  • 使用 Chainlink 来连接 API 和合约
  • 给工程师的零知识证明教学
  • Opyn 给上周的 bug 出的事后报告
  • ERC20 tokens 安全交互入门指南
  • 一份 ERC721 subgraph
  • 自己实现以太坊的默克尔帕特里夏树来理解它
  • OpenRelay 如何击退 DOS 攻击

生态

  • 本周 Gas Price 已经疯狂,普遍要 100 Gwei 以上才能让自己的交易被打包,Gas 价格一度高达 300 Gwei。每天的交易手续费高达 2 万 ETH,而区块奖励每天只有 1.3 万 ETH
    • 星火矿池使用自己的交易提供了 Gas 价格预测服务 GasNow(带有 API)
    • 如果你在为你的用户推送 Gas 价格(或者用程序来自动发送大量交易),可以看看 any.sender 如何自动提高 Gas 价格
  • Devcon 升级提案
  • 如何使用 Metamask 连接 “去中心化的 Infura” Pocket 网络
  • Randomness 峰会和 Edcon2020 大会视频

应用

  • DeFi 锁定价值已达 60 亿美元(虽然我们都知道有重复计算问题)
  • 看起来像是庞氏骗局的 YAM 在代码还未审计时就启动了,市值一路上涨到 6 亿美元,随后一个 bug 冻结了 75 万美元;然后市值下降到了 4 亿美元。YAM token 价格曾上涨到 160 美元,现在降到了 1 美元以下。准备迁移到 v2
  • CurveDAO 的推出历程颇有些戏剧化,导致大家指控有人预挖
  • Aave v2:单笔交易就可以偿还贷款,用 AAVE 来治理,推出了固定利率的存款服务,更少的 Gas 耗用量,等等
  • MolochDAO v2.x:更高的 Gas 效率,用封装 token 来投票,接受 ETH
  • 1inch 推出 Mooniswap:流动性提供者可以通过超过 5 分钟的延迟价格获得部分永久损失

原文链接: https://weekinethereumnews.com/week-in-ethereum-news-august-16-2020/ 作者: Evan Van Ness 翻译: 阿剑

本期 Week In Ethereum News 由 Matcha 赞助。

本文由作者授权 EthFans 翻译及再出版。

区块链技术网。

  • 发表于 2020-08-19 12:51
  • 阅读 ( 676 )
  • 学分 ( 5 )
  • 分类:以太坊

评论