--- 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 - 24 April 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 67 at [eth2.news](https://eth2.news/) ## Top picks If you do one thing this week, watch EthGlobal's [Merge Summit](https://www.youtube.com/watch?v=Yk39hNavhyM)! More [below](#EthGlobal-Merge-Summit). ## The Beacon Chain ### :rotating_light: Newsflash! :rotating_light: We've had our [first incident](https://twitter.com/prylabs/status/1385840170017112064) on the beacon chain. Between 01:36 and 03:28 UTC on the morning of the 24th of April (this morning, as I write), huge numbers of blocks were missed. Normally, only around 1% of beacon chain slots are missing their block. During this period, over 70% of slots were empty (403 missing from 560 slots). <p style="text-align:center"> <a href="https://benjaminion.xyz/images/210424_missed.png"><img width="691" height="266" alt="A list of missing blocks." src="https://benjaminion.xyz/images/210424_missed.png"></a><br> <i>Many blocks were missing during the incident.<br/>(From <a href="https://beaconcha.in">beaconcha.in</a>. Click image to enlarge.)</i> </p> The purpose of a blockchain is to produce blocks, so this is quite serious. However, the chain continued to finalise throughout, and it seems that attestation production was unaffected. However, with so few blocks being produced, the remaining proposers did not have enough space in their blocks to include all pending attestations, so participation rates fell perilously low at times. Participation has been consistently around 99% for the life of the Beacon Chain, so seeing these drops was quite alarming. <p style="text-align:center"> <a href="https://benjaminion.xyz/images/210424_participation.png"><img width="668" height="248" alt="Graph of participation rates showing a large drop during the incident." src="https://benjaminion.xyz/images/210424_participation.png"></a><br> <i>Participation rates fell during the incident due to lack of block space.<br/>(From <a href="https://hackmd.io/@benjaminion/wnie2_200501#And-finally%E2%80%A6">Metal Albert</a>. Click image to enlarge.)</i> </p> Some were quick to blame me for [jinxing the chain](https://twitter.com/benjaminion_xyz/status/1383765895965593607), but it turned out to be due to [a bug in the dominant Prysm client](https://github.com/prysmaticlabs/prysm/issues/8298). The root cause is related to acquiring the state of the Eth1 deposit contract: if you do not have a correct view of the deposit contract, you cannot propose blocks. The incident resolved itself as soon as the network voted in a new Eth1 deposit root, which happens about every 7 hours in general. The Prysm team has made a [swift fix](https://github.com/prysmaticlabs/prysm/pull/8809), but until it's released and the majority of users have upgraded, there is a small chance that this could occur again. The impact of the incident on stakers is four-fold. But, all-told, relatively minor. It could have been a lot worse. 1. Those running Prysm who were due to propose blocks during this period missed out on their block rewards. 2. For all validators, there was a severely reduced chance of attestatations being included on chain due to the reduced blockspace, resulting in penalties for non-participation. 3. Again for all validators, attestations that did get included were heavily delayed, resulting in reduced rewards. 4. Finally for all validators, overall rewards are scaled by the participation rate, so everybody's rewards were reduced during this period. [Latest update](https://twitter.com/prylabs/status/1386011312849833984) from the Prysm team (my node&mdash;see the image&mdash;shows a more severe drop in participation than they report). #### What lessons to learn? This lesson: _it is time for everybody to take client diversity seriously_. We have been [banging on](https://blog.ethereum.org/2020/10/01/eth2-quick-update-no-18/) [about this](https://blog.ethereum.org/2020/09/01/eth2-quick-update-no-15/) since forever. Since before a bug in Prysm almost [killed the Medalla testnet](https://hackmd.io/@benjaminion/wnie2_200822#Medalla-Meltdown-redux). Since before a bug in Prysm [borked Genesis of the Spadina testnet](https://docs.google.com/document/d/1pn9giIODBUCpgImZRPR34RbF-jAp1W4xTT_8gdcKFCw/edit#). None of this is particularly Prysm's fault: a collective failure has given one client control over 70% of the network. There is absolutely no downside to running one of the other three excellent production clients. There is only upside, both for the health of the network, and the health of your [own income](https://twitter.com/benjaminion_xyz/status/1377904793910448132). If you are running the majority client (which happens to be Prysm right now), then this is your call to action! Client diversity is not someone else's issue, it is _your_ issue. If you are using a staking service, lobby them over this. If you are running a staking service, don't hesitate to [get in contact](mailto:ben.edgington@consensys.net): we built [Teku](https://consensys.net/knowledge-base/ethereum-2/teku/) for you; we are here to help. ### Rayonism In other news, the [Rayonism](https://rayonism.io/) hackathon project got under way and is making great progress. Protolambda gave a [great overview](https://youtu.be/Yk39hNavhyM?t=4065) at the Merge Summit. Icymi, Rayonism aims to hack togther a multiclient devnet showcasing the proof of stake merge, sharding, deposit withdrawals, and perhaps even an optimistic rollup. In summary, there's a strong representation from both Eth1 (execution) and Eth2 (consensus) client teams. Progress is good, and an ephemeral multiclient devnet might be up early in the coming week, and a more long-lived devnet by the end of the week. See the [GitHub repo](https://github.com/ethereum/rayonism) for more, and check out the [mergenet tutorial](https://github.com/protolambda/mergenet-tutorial) to try running a merged testnet yourself. So far, on the Eth1 (execution) side you can run with Catalyst/Geth or [Nethermind](https://twitter.com/nethermindeth/status/1385169437666447361), and on the Eth2 (consensus) side you can run with Teku or Lighthouse. ### The Merge The Merge is the point at which we move the Ethereum proof of work chain fully over to proof of stake, by "merging" it with the Beacon Chain. The current big discussion point around the Merge is timing. There was an irregular Ethereum [All Core Devs meeting](https://youtu.be/C9hzAYkklQM?t=246) on Friday the 22nd of April that discussed this. The outcome wasn't definite; there's a balance between getting some outstanding EIPs done and getting the Merge done, and there's a lot going on. It partly depends on the results of the Rayonism project. Tim Beiko [summarised the call](https://twitter.com/TimBeiko/status/1385616588498374656). The plan looks to be, deliver the London upgrade in mid-July (target the 14th), then, after that, work on another small Eth1 feature fork (Shanghai) and the Merge in parallel. If the Merge looks deliverable, then prioritise that. Otherwise, do Shanghai. Dates as early as October were mentioned for the Merge, but this seems unlikely. By the end of the year could be doable, though. ### Staking [Standard disclaimers apply to everything below. I haven't tried any of it with my own ETH; do your own research and due diligence.] A couple of interesting things from [Abyss Finance](https://abyss.finance). First is a [batch deposit tool](https://abyss.finance/eth2depositor). This uses deposit files generated by the standard Launchpad process, but makes all the deposits in one transaction, which is a huge improvement over clicking approve on MetaMask lots of times, and removes the risk of making a double deposit. It also looks like it saves a good amount of gas compared to making individual deposits. Second is a [novel approach](https://abyss.finance/hosting) to funding validator hosting. Abyss will host your validator for free while you lock up some defi liquidity tokens with them. The value of tokens required depends on the unbonding period you choose. They use [Allnodes](https://www.allnodes.com/) for hosting, whom I can vouch for as they (a) run Teku, and (b) consistently [top the performance rankings](https://consensys.net/blog/codefi/institutions-are-earning-8-5-apy-for-staking-on-ethereum-2-0/) across all the staking services I track. Speaking of Allnodes, they have made an [integration with Ledger Nano X](https://wallet.allnodes.com/eth2/generate), using the X's new BLS12-381 capability to generate deposit files with withdrawal credentials managed by the device. This can be used by any staker, not just those staking with Allnodes. Now that we are able to specify an Eth1 contract as the withdrawal address for stakes, trustless staking pools are becoming a reality. These allow you to stake arbitrary amounts: less than 32 ETH, which is a very chunky commitment these days. Some news of pools has reached me: - [Stakewise](https://stakewise.io/) is [up and running](https://stakewise.medium.com/stakewise-announces-trustless-staking-and-end-of-the-bootstrapping-campaign-540b27e3d534). - And [Rocketpool]() is close. Here's [part 3](https://medium.com/rocket-pool/rocket-pool-staking-protocol-part-3-3029afb57d4c) of their in-depth explainers, this one on RPL & Tokenomics. - Paradigm Research published a report on [staking pools and staking derivatives](https://research.paradigm.xyz/staking). The conclusion is very favourable towards decentralised staking pools. It takes [Lido](https://lido.fi/) and its stETH token as a case study. ### Economics Something people seem only recently to have woken up to is that Eth2 validators will, after the Merge, earn transaction fees in addition to rewards for attesting and producing beacon blocks. A quick glance at [Etherscan](https://etherscan.io/blocks) as I write shows transaction fees averaging around 1 ETH per block right now, which dwarfs the current beacon block reward by a factor of about 250. Of course EIP-1559 will reduce that, but there is also [Miner Extractable Value](https://youtu.be/Yk39hNavhyM?t=15936) available which has the potential to increase rewards considerably. In any case, the Merge substantially changes the economics of staking. Recent estimates of post-Merge gross annual return for stakers start at [25%](https://twitter.com/drakefjustin/status/1384124998084792324) ([calculations](https://docs.google.com/spreadsheets/d/1FslqTnECKvi7_l4x6lbyRhNtzW9f6CVEzwDf04zprfA/edit#gid=0)) and go [much higher](https://www.reddit.com/r/ethstaker/comments/muepnz/eth_20_validator_152_apr_after_the_merge/). This compares to [7.85%](https://twitter.com/Eth2Bot/status/1385745511894896641) right now. ## EthGlobal Merge Summit Part of the ongoing EthGlobal [Scaling Ethereum](https://scaling.ethglobal.co/) hackathon was a session on the 23rd of April dedicated to a "Merge Summit". The [full video](https://www.youtube.com/watch?v=Yk39hNavhyM) is up. The times below link to the start of each talk. - [16:45](https://youtu.be/Yk39hNavhyM?t=907) Future is Now - From Metropolis to Serenity, _Hsiao-Wei Wang_ [[Slides](https://docs.google.com/presentation/d/1tKKfWC4ZHQbrI5isZta8Iusz2n_1plvbR0w4LvNpQQU/edit#slide=id.p)] - [17:15](https://youtu.be/Yk39hNavhyM?t=2446) State of the Merge, _Lakshman Sankar_ - [17:45](https://youtu.be/Yk39hNavhyM?t=4065) Rayonism, _Diederik Loerakker (Protolambda)_ - [18:15](https://youtu.be/Yk39hNavhyM?t=5954) Panel: The Evolution of Ethereum Consensus, _Danny Ryan, Trent Van Epps, Aftab Hossain_ - 18:45 Break - [19:00](https://youtu.be/Yk39hNavhyM?t=9013) Vouch: Client Diversity Without the Downsides, _Jim McDonald_ - [19:30](https://youtu.be/Yk39hNavhyM?t=10623) A Laymans Look at Staking on Ethereum Six Months After Genesis, _Superphiz_ - [20:00](https://youtu.be/Yk39hNavhyM?t=12645) Secret Shared Validators - The Next Chapter for Validator Resiliency on Eth2, _Mara Schmiedt_ - [20:30](https://youtu.be/Yk39hNavhyM?t=14038) How Prysm Plans to Interop with Other Eth1 Clients, _Terence Tsao_ - [21:00](https://youtu.be/Yk39hNavhyM?t=15936) MEV after The Merge with Nethermind and Flashbots, _Tomasz Stanczak, Alex Obadia_ - [21:30](https://youtu.be/Yk39hNavhyM?t=18078) What Comes After The Merge? _Vitalik Buterin_ [Spoiler: Ethereum 3.0 :slightly_smiling_face:] This is a quality set of talks, and well worth your time. u/Liberosist posted [some notes](https://www.reddit.com/r/ethfinance/comments/mxdu7b/notes_on_ethglobals_merge_summit/). Fwiw, I saw different viewing numbers on the EthGlobal.tv stream, 3-4x the numbers mentioned in the post. ## The Great Explainers Barnabé Monnot presents [The road to Ethereum](https://barnabe.substack.com/p/eth2): "Visualising a merged, data-sharded, rollup-centric future". This is a lovely explainer (with hand-drawn diagrams!) of what the big-picture for Ethereum's mid-term future looks like. Read it in conjunction with the Merge Summit talks, above. Jacek of Nimbus has made another of his classic Tweet-thread explainers. This time on [attestation packing](https://twitter.com/jcksie/status/1384154639596101632) in blocks. ## Media and Stuff Viktor Bunin argues in favour of Ethereum's principles and governance in his [first op-ed](https://twitter.com/ViktorBunin/status/1385935698801401857): [Eth2 is neutral infrastructure for our financial future](https://cointelegraph.com/news/eth2-is-neutral-infrastructure-for-our-financial-future). I couldn't agree more. I realised today that I have probably thought about Ethereum every single day for over five years. Viktor articulates some of the reasons why. The Eth2 podacst with Coindesk continues to go well. I think we're getting more comfortable with tackling some spicier topics. - On [April 15th](https://www.coindesk.com/podcasts/mapping-out-eth-2-0/proof-of-stake-or-proof-of-work) we did proof of work vs proof of stake. - On [April 22nd](https://www.coindesk.com/podcasts/mapping-out-eth-2-0/coinbase-infura-commonalities) we talk about the centralised/decentralised spectrum. You might disagree with some of what I said on this :stuck_out_tongue: I think the podcast is a fairly gentle but informative listen. Allow me to commend it to your playlists. Christine also wrote about total value staked and Rayonism in the latest [Valid Points](https://www.coindesk.com/rayonism-new-plan-merge-ethereum-and-eth-2-0) newsletter. ## Research Dankrad [announced](https://twitter.com/dankrad/status/1382082493243916298) that the [Legendre function bounty](https://legendreprf.org/bounties) has been raised to $20k for either breaking or proving the hardness of the Legendre PRF. This will be an important primitive when we implement sharding: it is used to [prove custody of shard data](https://ethresear.ch/t/a-0-001-bit-proof-of-custody/7409?u=benjaminion) in a multi-party compute friendly way. On [ethresear.ch](https://ethresear.ch/): - Vitalik is advancing with his idea about [staggering shard block production](https://ethresear.ch/t/near-instant-transaction-confirmation-via-staggered-shard-block-production/5643?u=benjaminion) in order to reduce transaction latency for users. His latest thinking proposes a way to [incentivise correct behaviour](https://ethresear.ch/t/simple-approach-to-incentivizing-shard-staggering/9149?u=benjaminion) by shard block producers. ## Regular Calls ### Eth2 Implementers Call #62 took place on the 22nd of April. * [Agenda](https://github.com/ethereum/eth2.0-pm/issues/214) * [Video](https://youtu.be/D9Aqr8thF9c?t=232) * My [quick notes](https://hackmd.io/@benjaminion/rJUzAo0Id), and [Tweet notes](https://twitter.com/ralexstokes/status/1385295236885204997) from Alex Stokes. Apart from the usual updates, the main takeaway is that the date for the Altair upgrade may recede a little. Client teams need another couple of weeks to be ready for a testnet, and we will want to run the testnet for a good six weeks or so. This takes us towards the end of June. But we don't want to clash with the Eth1 London fork now scheduled for mid-July. So, a target date for Altair remains TBD. ### Merge implementers Call #2 took place on the 15th of April. * [Notes](https://notes.ethereum.org/@protolambda/merge_impl_call_2) by Protolambda * [Video](https://youtu.be/ODcNpWiLASk?t=121). This gets pretty deep into the technical weeds. The call took place while the OpenEthereum incident was being handled after the Eth1 Berlin fork, so was missing a few stakeholders. ## In other news * The Ethereum Foundation [is looking to hire](https://twitter.com/drakefjustin/status/1382795227388317700) "unicorn" security researchers. * Lighthouse [update 35](https://lighthouse.sigmaprime.io/update-35.html) is out. ## And finally... We continue to hire for the Teku team! Check out [the role](https://consensys.net/open-roles/3040114/) and hit me up if you'd like to chat about it. Or please forward it to anyone you know in the Enterprise Java space: we need to be drawing the traditional dev world into our glorious decentralised future. * * * [![[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).