--- tags: newineth2 description: The latest update on Ethereum 2.0 development image: https://benjaminion.xyz/f/favicon-96x96.png --- <style> a {text-decoration: underline;} a {color: #0000ee;} a:visited {color: #551a8b;} </style> # What's New in Eth2 - 30 July 2021 ![My avatar](https://benjaminion.xyz/f/ms-icon-144x144.png =32x32) Ben Edgington (Eth2 at [ConsenSys](https://consensys.net/) — all views expressed are my own) Edition 74 at [eth2.news](https://eth2.news/) ## Top picks Happy Ethereum's [sixth birthday](https://etherscan.io/block/0) :birthday:, my [shadowy super-coder](https://decrypt.co/76997/elizabeth-warren-crypto-big-banks-shadowy-super-coders) frens :sunglasses: This week, Olympic gold :first_place_medal: goes to [EIP-3675](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-3675.md), "Upgrade consensus to Proof-of-Stake". This formalises The Merge within Ethereum's governance process, and is a huge step towards making it happen. The other thing that really caught my attention is Lido's [Road to Trustless Ethereum Staking](https://blog.lido.fi/the-road-to-trustless-ethereum-staking/). More below. :::info :mega: Calling all stakers :mega: Be sure to update your Eth1 nodes before the London fork on August the 4th/5th! See [below](#The-Great-Explainers) for help. ::: ## The Beacon Chain Eight months in and the beacon chain has passed [200,000](https://beaconcha.in/) active validators! :tada: This represents 6.4m Ether staked, which is almost 5.5% of total ETH supply. Current staking [returns](https://launchpad.ethereum.org/en/) are around 6.1%. I remember when we client devs regarded 100k validators as a big network, but now, even at 200k, my Teku node is barely idling: CPU under 10%, heap memory under 1.3GB, and flawless attestation performance. It's been quite a journey. Another big milestone: we have not four, but five clients validating on the mainnet beacon chain. [Welcome Lodestar](https://twitter.com/gregthegreek/status/1420079211998547968)!!! :clap: The brilliant Lodestar team (part of ChainSafe) haven't primarily aimed to be a production staking client, but have focused more on the extremely important work of building light client infrastructure for Eth2. Given this, it's all the more impressive to see them actually staking and validating. ### Analytics There's been some good work around measuring diversity and decentralisation on the beacon chain. First is Miga Labs' [crawler dashboard](http://migalabs.es/crawler/dashboard). Some nice stats here, and a choice of crawlers to look at. Measuring client diversity is very far from being an exact science. We can compare Miga's figures with Stereum's weekly [client diverstity watch](https://twitter.com/stereumdev/status/1418569831666831363). For example, Miga has Nimbus at ~0.44% and Teku at ~4.7%, whereas Stereum has Nimbus at 16.8% and Teku at 0.8%. In addition, these count beacon nodes rather than validators, which understates validators that are predominantly used by large staking operations, such as Teku. And there are [other issues](https://twitter.com/ethnimbus/status/1419572555594321920). So take the numbers with a pinch of salt; the error bars are very large. Nonetheless, it is clear that Prysm continues to heavily dominate the node distribution, and putting the details to one side, the macro view is extremely useful. Shyam Sridhar of the Ethereum Foundation's Robust Incentives Group has performed a [detailed analysis](https://shsr2001.github.io/beacondigest/notebooks/2021/07/19/measuring_decentralization.html) of the decentralisation of the beacon chain, using standardised metrics such as the Gini coefficient, the Nakamoto coefficient and the Herfindahl&ndash;Hirschman index. Terence gives a rather dispiriting [tl;dr](https://twitter.com/terencechain/status/1420792104503021573) of the article: > - Based on Nakamoto coefficient > - 31 entities to control 51% of network > - 8 entities to control 33% of network > - New validators using 3rd party services is much higher than new solo stakers ## Altair Progress towards the Altair beacon chain upgrade continues steadily. A [Beta 2](https://github.com/ethereum/eth2.0-specs/releases/tag/v1.1.0-beta.2) spec release is out. The only substantive change is around validating empty sync committee signatures. The [full diff](https://github.com/ethereum/eth2.0-specs/pull/2529) looks huge as The Merge has now been rebased onto Altair, and some sharding changes are included, neither of which affect the delivery of Altair. I'd have rather these changes be kept on a separate branch until after Altair is deployed, but it's no big deal. Client teams and the Ethereum Foundation have already run two multiclient Altair devnets to test the fork transition process. While both went ok, neither was flawless. We're shooting for flawless, so kicked off a third devnet (devnet 2) on Thursday. While the [fork itself](https://twitter.com/terencechain/status/1420735558972710915) went through fine, there were still some minor niggles between clients. Despite this, on the [implementers' call](#Implementers) we decided that we would go ahead with upgrading the Pyrmont testnet in around three weeks time. If you are running validators on Pyrmont, keep a close eye on client releases in the next couple of weeks for when they are Altair compatible, and be sure to upgrade in time. We may or may not do another devnet beforehand, still TBD. ## The Merge The **huuuuge** news of the week is the publication of [EIP-3675](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-3675.md), "Upgrade consensus to Proof-of-Stake" - in my view, the most significant core EIP in Ethereum's history to date, and certainly the most ambitious. This is fabulous work by my colleague Mikhail Kalinin and a cast of supporters. The Merge now becomes subject to Ethereum's governance process. While the process is not always swift or flawless, there is a huge will to get The Merge done, so I expect a great deal of focus on this over the coming months. ## Staking ### Stakehouse I had the absolute pleasure this week of spending some (virtual) time with Colfax from the EthStaker/[StakeHouse](https://github.com/stake-house/stakehouse) project. StakeHouse is "focused on building tools that lower the technical bar to staking and promote the health of the beacon chain". Stakehouse is working on two fronts. First is building the tools that make it simpler to stake and operate a node. For example, [Wagyu](https://github.com/stake-house/wagyu) is an under-development "one-click installer" that supports the four main production clients. Closer to release is [Wagyu Key Gen](https://github.com/stake-house/wagyu-key-gen) which is a friendly environment for generating your validator keys without needing to use the command line. The other side of the work involves gathering a community of devs around the project to collaborate together, and to decentralise the development of these tools. To that end there was recently a [StakeHouse community call](https://www.youtube.com/watch?v=HmGT1tdIVeA) (the first public one, I think). These will come round every two weeks from now on - see the [EthStaker discord](https://invite.gg/ethstaker) for announcements. The call had demos of [Dappnode](https://dappnode.io/), of StakeHouse's Wagyu, and [ChainGuardian](https://chainguardian.nodefactory.io/) from NodeFactory (now ChainSafe), with an honourable mention for [Stereum](https://stereum.net/) (whose [v1.1 installer](https://www.reddit.com/r/ethstaker/comments/ony4jd/stereum_ethereum_node_setup_update_11/) is out!). There's a huge amount of promise here, and I am looking forward with great interest to what will come out of this. Ensuring that individuals can stake confidently and reliably is vital in a network where centralising tendencies are everywhere. SuperPhiz gets this completely, hence his [challenge](https://twitter.com/superphiz/status/1417343484705611776) to the community to build a desktop UI that can manage all four main production clients by the beacon chain's first birthday. ### Lido You may have noticed that I rarely mention large staking pools here. I do take a keen professional interest&mdash;we built Teku with staking pools particularly in mind&mdash;but, as a community member, my passion is to facilitate the decentralisation of staking as much as possible. To that end, I was delighted to see the [excellent post from Lido](https://blog.lido.fi/the-road-to-trustless-ethereum-staking/) this week, presenting their intention to move towards trustless staking, which means decentralising themselves as much as possible. Lido is becoming a significant force in Eth2 staking, with around ~~3%~~ 10% (corrected - apparently [this](https://beaconcha.in/pools) is not correct) of all validators, largely as a result of providing liquidity via the `stETH` token. From the outset, they have made some attempt to decentralise operations, for example by using a variety of node hosting providers and managing them via a DAO. But it remains largely centralised and custodial. So, I am very heartened by Lido's thoughtful and determined commitment to decentralising themselves and becoming fully trustless. And I love the transparency. Lakshman also has some [comments](https://twitter.com/lakshmansankar/status/1420418903813984261). Note that Lido is putting its money where its mouth is with a couple of projects: 1. [Grants](https://research.lido.fi/t/lego-strategic-commitment-to-research-of-ssvs-blox-staking-obol/817) to both [Blox Staking](https://ssv.network/) and [Obol](https://obol.tech/) who are both working separately on implementations of SSV (secret shared validators). 2. [An RFP](https://research.lido.fi/t/lego-rfp-lido-validator-dashboard/851) for a dashboard showing validator performance across all their node operators. ## Tooling Jacek of Status has another [weekend project](https://twitter.com/jcksie/status/1419385125540933637): building a [block explorer](https://github.com/status-im/nimbus-eth2/pull/2304) that you can run locally against a Nimbus node. ## The Great Explainers EthStaker did a [Validator Workshop](https://youtu.be/oKN-eh09wdI?t=326) to help people upgrade their Geth nodes ahead of the imminent London fork on Ethereum mainnet. [The link goes to the start of the workshop, but I recommend rewinding a few minutes and chilling to the intro for a while.] Vitalik and Georgios of Paradigm wrote [some analysis](https://www.paradigm.xyz/2021/07/ethereum-reorgs-after-the-merge/) on the susceptibility of the beacon chain to reorganisations (reorgs) after The Merge. This relates to the so-called Time Bandit attacks that caused a fuss a couple of weeks ago, and that Christine and I discussed in [last week's podcast](https://www.coindesk.com/podcasts/mapping-out-eth-2-0/time-bandit-attacks-on-ethereum). Tl;dr: it's harder to orchestrate a chain reorg under proof of stake. Justin Bons of Cyber Capital has a [good set of reasons](https://medium.com/cyber-capital/pos-a-superior-alternative-to-pow-2670a0739e23) why Proof of Stake (PoS) is superior to Proof of Work (PoW) in every meaningful way. ## Media and Other Stuff ### The Beacon Book The Beacon Book project is reaching its culmination! - You can now read all about the book's carefully designed [graphics and narratives](https://stateful.mirror.xyz/jOFMjyRtgT0KPbeWgysDp1HM4mQnlWKeQA3HQ2SJpbA). - And you can [join the crowdfund](https://stateful.mirror.xyz/-NLDSw0mA2vjtvqQYpXBOa3H38HXMmIdaw2KwI1A0y8), potentially gaining yourself one of the 100 available physical copies. The crowdfund closes on August 3rd at 16:00 UTC. [Reminder - I am not personally benefiting from the crowd fund; my share goes back to Stateful Works for future projects.] ### EthCC Here's a selection of talks mostly from the Eth2 track at EthCC last week. See [the agenda](https://ethcc.io/agenda) for more detailed descriptions. - [SSV: Distributed and Trustless Staking Infrastructure](https://www.youtube.com/watch?v=6PdR9rRCKm8&pp=sAQA), Alon Muroch - [Managing Eth2 Validators at Scale](https://www.youtube.com/watch?v=BFAWfT_dAvM&pp=sAQA), Laszlo Szabo - [MEV in Eth2: Introduction & Open Questions](https://www.youtube.com/watch?v=XhZ2FDMdVUM&pp=sAQA), Alex Obadia, Alejo Salles - [An Outlook on Block Explorers and the Beacon Chain](https://www.youtube.com/watch?v=Cd7tBTNlfKk&pp=sAQA), Stefan Starflinger - Eth2 & Staking: Retrospective and Projections, Robert Drost: I can't find the video, but here are the [slides](https://docs.google.com/presentation/d/1Vwh2MkSJO4teGcxma1TW661Qz3_l3woDlcV2yNLn_1c/edit#slide=id.p). - [Liquid Staking in Ethereum Security](https://www.youtube.com/watch?v=Q77PIyTUkic&pp=sAQA), Vasiliy Shapovalov - [Eth2/Lighthouse Update](https://www.youtube.com/watch?v=j700wEMqYPw&pp=sAQA), Mehdi Zerouali - [It's Time to do Something About Hardware Decentralization](https://www.youtube.com/watch?v=g93-nOJYVrI&pp=sAQA), Eduardo Antuña - [Decade After Eth2: Your Post-Eth2 Dreams for Scalability, Defi, NFTs, ...](https://www.youtube.com/watch?v=OpFLKnr-o9M&pp=sAQA), Joseph Chow But don't limit yourselves to these! There was a ton of great talks, and I am very sad not to have been there :cry: ### Other media The Merge made [Fortune magazine](https://fortune.com/2021/07/29/ethereum-going-green-ether-crypto-carbon-footprint/)! Ethereum risks it all on going green. (Unfortunately mostly paywalled. Pun intended.) On the Coindesk podcast with Christine, we talked about Time Bandit attacks on [the 22nd](https://www.coindesk.com/podcasts/mapping-out-eth-2-0/time-bandit-attacks-on-ethereum), and had Alex Obadia from Flashbots as a guest on [the 29th](https://www.coindesk.com/podcasts/mapping-out-eth-2-0/lowering-fees-on-ethereum). ## Research Eth2 contributor Potuz&mdash;I believe as part of the Core Devs apprenticeship programme&mdash;has formulated a nice approach to [speeding up the hashing](https://hackmd.io/@potuz/rJX9iD30u) of the beacon state to calculate state tree roots. Basically, in Merkle-like trees, we only ever hash small amounts of data: 64 bytes at a time. Thus, the padding that's used can be pre-computed for an excellent ~2x boost. On [ethresear.ch](https://ethresear.ch/), there is a [more sophisticated version](https://ethresear.ch/t/attacking-gasper-without-adversarial-network-delay/10187?u=benjaminion) of the previously known [balancing attack](https://ethresear.ch/t/a-balancing-attack-on-gasper-the-current-candidate-for-eth2s-beacon-chain/8079?u=benjaminion) on the Gasper beacon chain consensus. The new version claims to be more practical in a network with random delays. The post points out, however, that Eth2 as implemented uses a slightly modified version of Gasper that makes the attack harder to pull off. ## Regular Calls ### Implementers Call #69 took place on the 29th of July. Danny wasn't around for this one, so Alex Stokes chaired. The livestream was not set up, and Zoom recording failed, but a local recording was made that should be uploaded soon. * [Agenda](https://github.com/ethereum/eth2.0-pm/issues/229) * Video - not yet uploaded * My [quick notes](https://hackmd.io/@benjaminion/SyZgz4l1Y). My PC locked up during the discussion towards the end about implementing checkpoint/weak-subjectivity sync. I could hear but could not take notes. Hopefully the recording will have the discussion intact. ## In other news - Danny Ryan's [Finalized no. 27](https://blog.ethereum.org/2021/07/26/finalized-no-27/), with links to some good PEEPanEIP explainer sessions for Altair. - Lighthouse [update no. 37](https://lighthouse.sigmaprime.io/update-37.html) * * * [![[Twitter]](https://benjaminion.xyz/newineth2/img/twitter.svg =40x40)](https://twitter.com/benjaminion_xyz) Follow me on [Twitter](https://twitter.com/benjaminion_xyz) to hear when the next edition is out 🙌. [![[RSS]](https://benjaminion.xyz/newineth2/img/rss.svg =32x32)](https://benjaminion.xyz/newineth2/rss_feed.xml) We also have an [RSS feed](https://benjaminion.xyz/newineth2/rss_feed.xml). [Advertising](https://hackmd.io/@benjaminion/eth2_news/https%3A%2F%2Fhackmd.io%2F%40benjaminion%2Fadvertising) on this newsletter. [Give Feedback](https://docs.google.com/forms/d/e/1FAIpQLSfkESc4CmNfRGHHjWfNeF3ceLwrXDvynetda4sKfJFJ71Oabw/viewform).