--- 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 - 5 September 2020 ![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 51 at [eth2.news](https://eth2.news/) ## Top picks As ever, Danny Ryan's [eth2 quick update no. 15](https://blog.ethereum.org/2020/09/01/eth2-quick-update-no-15/) remains the source for succinct, authoritative info. Read that if you haven't got time to read this. ## Phase 0: The beacon chain All quiet on the testnet front. Since Medalla recovered over two weeks ago, it has been running as smoothly as you like. There are over 42,000 validators activated, with a ten-day queue to join. Participation has been healthy at around 80%. Finalisation has been excellent. Nothing much else to say right now. We are planning another test of the [genesis](https://hackmd.io/@benjaminion/genesis) process at the end of this month, applying lessons learned from the Medalla genesis. This won't disrupt the existing Medalla testnet at all, and we plan to run the resulting beacon chain for only a couple of days. The Launchpad portal is being updated for the trial and the plan is to deploy it and the deposit contract around the 21st, with Genesis expected a week later. More news in a couple of weeks. Don't forget that you can follow progress towards the beacon chain launch on the [GitHub tracker](https://github.com/ethereum/eth2.0-pm/projects/1) [^fn1]. It may be [closer](https://twitter.com/etherchain_org/status/1300450773378240512) than you think :wink: [^fn1]: I particularly like the look of the [card](https://github.com/ethereum/eth2.0-pm/projects/1#card-44094417) marked "Plans for major parties" - just hoping I haven't misunderstood something :grinning: Meanwhile, the [attacknets](https://github.com/ethereum/public-attacknets/issues) continue to run and bear fruit. There's still plenty of opportunity to get involved and claim some dollar! ### Tooling The good folk at Attestant have built [Dirk](https://www.attestant.io/posts/introducing-dirk/), a DIstributed Remote Key manager that looks very capable. Key managers or signing services will be an important part of Eth2 infrastructure, in particular those that offer slashing-protection. We've been building [Web3Signer](https://github.com/PegaSysEng/web3signer) (formerly Eth2Signer) at ConsenSys and are adding the slashing-protection component right now. Also by Jim McDonald of Attestant is [`ethdo`](https://github.com/wealdtech/ethdo) - "a command-line tool for managing common tasks in Ethereum 2". This is super useful and has got me out of a hole in the past. So useful that the [EF](https://twitter.com/dannyryan/status/1298976878691094534) is funding a [security review](https://notes.ethereum.org/@djrtwo/ethdo-audit). Get moving if you are interested, the RfP closes in 2 days. ### Stake withdrawals If you wish, you can exit from validating on the beacon chain, and eventually claim back your stake plus any accrued rewards. This facility won't be useful, however, until there is somewhere to withdraw the stake to. That is, until there is a functioning economy within the Eth2 ecosystem. Since we originally didn't really know what that economy might look like, the beacon chain currently provides only a minimum viable withdrawal mechanism. When you register your stake, you include a commitment to a withdrawal key that you hold. The understanding is that there will be a way in Eth2 to prove that you own the corresponding key, and you will then get to move the exited stake to an account. Now that things have come into focus a little more, with Phase 1.5 in view (see below), there are interesting ways that this mechanism might be extended. For example, Vitalik [posted a suggestion](https://twitter.com/VitalikButerin/status/1297675971529605121) about setting the withdrawal key to correspond to an Eth1 address. This could be an Eth1 contract that, in Phase 1.5, would own and distribute the withdrawn stakes. It is potentially [not hard](https://twitter.com/VitalikButerin/status/1297676370936344576) to implement. Martin Köppelmann [is excited](https://twitter.com/koeppelmann/status/1301113176570900481) about the possibilities that this opens up for non-custodial staking pools, and the opportunities for staked Ether to participate in DeFi: "It would really change everything. Let's do this!" Aave already [has plans](https://twitter.com/StaniKulechov/status/1299636710087831553). ## Phase 1.5: Eth1 and Eth2 merger A reminder that, while we've been focusing on delivering the Phase&nbsp;0 beacon chain, work on the later phases continues apace. Phase&nbsp;1.5 is the inelegantly named point at which the current Eth1 chain is folded into the Eth2 system and becomes full proof of stake. As originally conceived, this was planned to take place as part of Phase&nbsp;2 - the full implementation of execution environments on Eth2. But it has gained greater urgency over recent months and been brought forward in the roadmap. Anyway, here's [a demo of a prototype](https://youtu.be/Rr69pHZ57j0) by my brilliant colleague Mikhail Kalinin of what an Eth1 transaction on sharded Eth2 looks like. It uses Metamask! And you can [run it for yourself](https://github.com/txrx-research/eth1-shard-demo). ## The Great Explainers Bankless published a very clear and [comprehensive guide](https://bankless.substack.com/p/guide-becoming-a-validator-on-the) to be becoming a validator on the beacon chain, written by Collin Myers and Mara Schmiedt of ConsenSys Codefi. While we're on Bankless, I enjoyed the [recent podcast](http://podcast.banklesshq.com/sotn11-building-w-raul-jordan-eth2-testnet-broke-l2-will-save-us-pro-o-o-tocol-sink) with Raul Jordan. The first 30 minutes give a great recap and insight into the challenges we had on the Medalla testnet, and there's some useful discussion on how to participate. Attestation inclusion is a hot topic at the moment. How efficiently your validators' attestations get included in beacon chain blocks is one of the important performance metrics: it relates directly to the rewards you receive. As reported last time, beaconcha.in is now showing an "attestation effectiveness" metric for validators, which has focused minds nicely. We've recently done [a lot of work](https://github.com/PegaSysEng/teku/issues/2521) on Teku to bring our numbers up to scratch, and Adrian Sutton made a very nice [explainer video](https://youtu.be/SPcgevcDqDE) about some of the complexities and challenges involved in getting attestations included quickly on the chain. There are some great insights into all the work that validators and beacon nodes are doing under the hood. Before watching that, it's worth taking a quick look at beaconcha.&#x200D;in's [primer on attestations](https://kb.beaconcha.in/attestation) The beaconcha.&#x200D;in team has also been busy adding an article on [staking hardware](https://kb.beaconcha.in/staking-and-hardware) to their [knowledgebase](https://kb.beaconcha.in/). Meanwhile, I finally wrote up everything I know about [shuffling in Eth2](https://hackmd.io/@benjaminion/shuffling). It's a bit niche, but I needed to get it out. And ICYMI, the Ethstaker Eth2 Studymaster Programme is going along nicely, wonderfully curated by [Superphiz](https://www.reddit.com/user/superphiz). It's not too late to join. Week 3 info is [here](https://www.reddit.com/r/ethstaker/comments/in8oy3/eth2_studymaster_quiz_3_of_10_has_been_posted_you/). Get yourself onto the [Ethstaker Discord](https://discord.gg/B2wkhH4) and check out the `#eth2-studymaster` channel. This is a terrific initiative. ## Research Work on a VDF (verifiable delay function) for unbiasable randomness continues. This is more for Eth2.x than Eth2.0 - we are not dependent on it for any of the current plans. But it is definitely a nice-to-have, especially for applications. ZenGo has been analysing the trusted setup required for the planned VDF and has written up [a new attack](https://medium.com/zengo/dogbyte-attack-playing-red-team-for-eth2-0-vdf-ea2b9b2152af) they are calling _DogByte_. Barnabé Monnot of the EF's Robust Incentives Group has added another to his excellent series of notebooks on modelling the economic behaviour of the beacon chain: [Beacon Runner: Thunderdome](https://github.com/barnabemonnot/beaconrunner/blob/master/notebooks/thunderdome.ipynb). This one explores individual validator strategies when attesting to blocks, and ties in nicely with the discussion on attestation inclusion above. Spoiler: in a network with latency, it is better to be prudent than swift. Also on [ethresear.ch](https://ethresear.ch/): - A new method of [hashing to certain elliptic curves](https://ethresear.ch/t/hashing-to-elliptic-curves-y-2-x-3-b-provided-that-b-is-a-quadratic-residue/7939?u=benjaminion) (like [BLS12-381](https://hackmd.io/@benjaminion/bls12-381) that we use in Eth2). It looks very nice, but is unlikely to be used for Eth2 as we wish to follow the [new standard](https://datatracker.ietf.org/doc/draft-irtf-cfrg-hash-to-curve/) if possible, and this does not seem to be much faster than the standard method in our case. - [Shargri-La](https://ethresear.ch/t/shargri-la-a-transaction-level-sharded-blockchain-simulator/7936?u=benjaminion) is "A Transaction-level Sharded Blockchain Simulator". It's a long article; Tweet form summary is [here](https://twitter.com/nrryuya/status/1301755621725757441). For its first outing they experimented with various scenarios around transaction fees on Eth2. ## Regular Calls ### Implementers Call #47 took place on the 3rd of September. * [Agenda](https://github.com/ethereum/eth2.0-pm/issues/178) * [Video](https://youtu.be/FhFIog9D0II?t=80) * My [quick notes](https://hackmd.io/@benjaminion/S1bUH_R7w), and [from Mamy](https://gist.github.com/mratsim/a4e733f8801d7c30861d89cb66b6f38d). Pretty quick call this time. The main ongoing discussion is about how to handle the weak subjectivity period in clients. We are also planning a catch up about networking topics on a separate call on Wednesday the 9th. The other big announcement was the putting on hold development of the Trinity Eth2 client. This is the Python client developed by the Ethereum Foundation. It's open source, and if anyone wants to contribute they would be welcome to do so. The Trinity team, however, will now be focusing on working with the other teams to get the beacon chain mainnet launched. ## In other news - There was an [Eth2 Panel](https://twitter.com/hudsonjameson/status/1299360249405673474) at the [Smart Contract Summit](https://www.smartcontractsummit.io/). Video doesn't seem to be available yet, but keep an eye on the [Chainlink YouTube channel](https://www.youtube.com/channel/UCnjkrlqaWEBSnKZQ71gdyFA/videos) and I guess it may appear. - There was an Eth2 meetup [in Buenos Aires](https://twitter.com/smpalladino/status/1299094943085015040). Here are Justin Drake's [presentation slides](https://docs.google.com/presentation/d/1_-YKG265v1blNqztKfsnawUqjAc8f0YJhRZ-uVo2ZGc/edit#slide=id.p) in Spanish. - Matt Garnett takes [a cheeky dig](https://twitter.com/lightclients/status/1298680048287809536) at some of the challenges in running an Eth2 validator: namely denial-of-service resistance. It remains to be seen whether this becomes a problem in reality. Meanwhile, he outlines some of the solutions being worked on. - No client team updates in the last two weeks! I was supposed to have written one for Teku, but didn't quite get round to it - next time :slightly_smiling_face: * * * [![[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).