--- 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 - 18 October 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 54 at [eth2.news](https://eth2.news/) ## Phase 0: The beacon chain A [v1.0.0 release candidate 0](https://github.com/ethereum/eth2.0-specs/releases/tag/v1.0.0-rc.0) has been published. The main breaking changes with respect to the v0.12.x series currently running on Medalla are as follows: - Upgrade to discovery version 5.1, which is incompatible with the current v5, but hardens DoS resistance. - Update to BLS standard v04 which excludes the zero secret key/infinity public key and signature. We've discussed this [previously](https://hackmd.io/@benjaminion/wnie2_200919#BLS-spec-update) - Some configuration parameters have been changed: - `GENESIS_DELAY` is now one week. That means that the genesis state will be known one week before chain start. This helps client teams to prepare genesis-ready releases, and users to update. Both of these have been pain points in previous genesis runs. - `INACTIVITY_PENALTY_QUOTIENT` has been quadrupled. This quarters the penalties during non-finalisation, and is a temporary measure to give stakers more confidence in case we hit trouble. - `MIN_SLASHING_PENALTY_QUOTIENT` has been quadrupled, which means that the base penalty for being slashed is only 0.25 Ether. Again, this is temporary. - Proportional slashing (how much more you get slashed when others are slashed at the same time) has been reduced to one-third. Once again, this is temporary. - Some changes to Eth1 data voting: Eth1 follow distance is now 2048 blocks (~8 hours), and Eth1 data voting period has been doubled. The upshot of these is that there will be a longer time to wait between making a deposit and becoming active on the beacon chain (about 6-8 hours longer). I don't know the rationale for these changes. All we need now [are](https://github.com/ethereum/eth2.0-specs/pull/2082#issue-494341829) `MIN_GENESIS_TIME` and `DEPOSIT_CONTRACT_ADDRESS`! ### The deposit contract Speaking of which - I am expecting news about the deposit contract any day now. Probably about 10 minutes after I publish this :joy:. Basically, as I understand it, we are good to go: deposit contract in the next few days; beacon chain genesis 6-8 weeks later. (This is not an official statement!) Meanwhile, [be careful](https://twitter.com/preston_vanloon/status/1316822695909105664) out there. Many fake deposit contracts and Launchpad front-ends will erupt in the coming days. Look out for the official anouncements: do not send Eth to random contracts; this is not DeFi. ### Testnets After the [slightly bumpy](https://hackmd.io/@benjaminion/wnie2_201002#Spadina) genesis dress rehearsal with the Spadina network, we did it all again with [Zinken](https://github.com/goerli/medalla/blob/master/zinken/README.md). There was the now customary [launch party](https://www.youtube.com/watch?v=YSuiuoeKoq0), which I unfortunately missed (having some well-earned time off), and you can read a nice summary in [the Daily Gwei](https://thedailygwei.substack.com/p/zinken-about-eth2-the-daily-gwei). It wasn't perfect, but went smoothly enough for us to turn our thoughts now towards the real thing. Medalla, meanwhile, is suffering from [very low participation](https://medalla.beaconcha.in/). I think people are getting a bit bored of testnests. It's time to move on. See this week's [Implementers' call](#Implementers) for some discussion about its future. I [wrote a thing](https://www.coindesk.com/time-to-launch-ethereum-2-beacon-chain) about why the testnets don't really cut it any more, and we need to launch Phase 0 asap. ### Bounty program(me) The various bounty programmes for finding vulnerabilities in Eth2 have been [consolidated](https://twitter.com/dannyryan/status/1314563680588238853) into the [Eth2 Bounty Program](https://eth2bounty.ethereum.org/). This brings attacks against client implementations into scope for Teku, Lighthouse, and Prysm, in addition to attacks against the protocol. Up to $50k is currently available for critical issues. ## Staking stuff [EthStaker](https://www.reddit.com/r/ethstaker/) ran a quick survey on staking intentions and the [results are in](https://docs.google.com/forms/d/e/1FAIpQLSe8So44J3M7C4yZ-BPn7Gekej275lRzzqJgg026BQ8CtJuwsA/viewanalytics). Some interesting nuggets there. But I am really very disappointed that all the advice about client diversity is falling on deaf ears. Prysm is a fine client, but there are other clients out there that can more than capably hold their own. I know this - I am product manager for one of them :stuck_out_tongue: Please stop risking yourselves and the network by all piling onto a single client. Here's Danny Ryan on [the subject](https://blog.ethereum.org/2020/10/01/eth2-quick-update-no-18/): > A side note on client diversity – Spadina was heavily weighted toward the Prysm client which had a critical peering issue at genesis. At this point in time there are many robust eth2 clients. If we achieve a better distribution for mainnet, single client issues, like we saw on Spadina, will have a much smaller overall impact on network health. And [again](https://blog.ethereum.org/2020/09/01/eth2-quick-update-no-15/): > the incident on Medalla was significantly amplified by the failure of the dominant Prysm client, and as we move toward mainnet, we, as a community, must consciously seek to remedy this. Do not read the above as a dig against Prysm - its success is well deserved - but as an urgent call to check out [what else](https://twitter.com/ethereumJoseph/status/1317191907697692673) is out there. Right, now I've got that off my chest, let's talk about tokenised stakes. Tokenising stakes is an idea I first came across last year, in [an article](https://medium.com/ideo-colab/the-deth-of-ethereum-98553866e81b) that was a bit gloomy about possible centralising pressures. More recently, Tim Ogilvie of Staked believes that tokenised stakes will be [a good thing](https://www.coindesk.com/staked-eth-will-replace-traded-eth). Here's Adam Cochran with [a thread](https://twitter.com/AdamScochran/status/1316816985645363204) on Rocketpool's plans for tokenising stakes, with thoughts on the ecomomics and regulatory issues. [Lido](https://medium.com/lido-finance/introducing-lido-ca193431c82) seems interesting, and claims to be "backed by several industry-leading staking providers", which might alleviate the initial centralising concerns. I'm still not delighted by all this - it will certainly be a disincentive to solo staking, and will encourage the use of custodial services - but I guess it's inevitable. Michael J. Casey also thinks that "tokenized ETH 2.0 bonds" are inevitable, in an [article for Coindesk](https://www.coindesk.com/ethereum-2-lockup-defi-innovation), and that their value will become a useful indicator of market confidence in the success of the Eth2 project. ## The Great Explainers A couple of very nice, short videos from Stakefish: - [Part I | Meet Ethereum 2.0](https://www.youtube.com/watch?v=jde9VEY8bbM) (2m36s) - [Part II | Phase 0 and the Beacon Chain](https://www.youtube.com/watch?v=-qwSAFcicg8) (2m41s) Definitely digging the groovy Hammond organ on the background music. Bite-size is a theme this week. Gitcoin did a livestream with Vitalik and others on the rollup-centric roadmap, and then split it up into bitesize chunks. Videos are in [this playlist](https://www.youtube.com/playlist?list=PLvTrX8LNPbPnMvn2fBI8rKS-nMZiExBQD), and this [Tweet thread](https://twitter.com/gitcoin/status/1316379162865795072) gives a brief summary of each. You can also watch the [whole thing](https://www.youtube.com/watch?v=UV9rNKExjn0). More from Vitalik and others from the [Taipei Ethereum meetup](https://www.youtube.com/watch?v=tg2bMlCaNXg) tea party (starts at about 6 minutes, with Hsiao-Wei on Eth2 Highlights at [21mins](https://youtu.be/tg2bMlCaNXg?t=1251)). Vitalik has been very busy (he also appeared at the [Ethereum Engineering Group](https://www.youtube.com/watch?v=_DUHTJEoaX0) talking about account abstraction, and the Coindesk conference): here's a [recap of the AMA](https://our.status.im/status-ama-recap-vitalik-buterin/) he recently did via the Status App which covers some Eth2 things. A little less brief is the lovely explainer from `u/ben-ned` on Reddit about how to set up [Teku with our Web3Signer](https://www.reddit.com/r/ethstaker/comments/j8vj9m/remote_signing_with_teku_and_web3signer/?utm_medium=android_app&utm_source=share) service using Hashicorp vault to store the keys. There is an effort underway, [EIP 3030](https://eips.ethereum.org/EIPS/eip-3030) to standardise interfaces between remote signing services, with discussion [here](https://ethereum-magicians.org/t/eip-3030-bls-remote-signer-http-api-standard/4810). When the proposal has settled down we'll look at implementing it - it's already very close to what [Web3Signer](https://github.com/ConsenSys/web3signer) does in any case. Crypto Testers has done a nice [Eth2 proof of stake explainer](https://cryptotesters.com/blog/ethereum-staking-explained), with some useful discussion about options for staking. ## Research ### Rollups We discussed [last time](https://hackmd.io/@benjaminion/wnie2_201002#Rollups-and-Eth2-Phases-0-1-15-and-2) the rollup-centric vision for the future of Ethereum that Vitalik presented. This seems to have been very well received. Vitalik has a follow-up [Twitter thread](https://twitter.com/VitalikButerin/status/1312905882330521600) with some more insights: it's not "rollups instead of sharding", it's "rollups on top of sharding". In [Matt Garnett's view](https://lightclient.io/blog/eth2-is-a-rollup/), the rollup-centric roadmap leads us to a fairly similar destination to where we've been heading with Eth2 anyway. ### Balancing attack There was a little stir caused by this article last week, [A balancing attack on Gasper](https://ethresear.ch/t/a-balancing-attack-on-gasper-the-current-candidate-for-eth2s-beacon-chain/8079?u=benjaminion), based on an [earlier paper](https://arxiv.org/abs/2009.04987). There's also a related [presentation](https://youtu.be/0MMHkCaQu6E?list=PLFJJb69BM_KJhE-Z-1whIOASAkfTf2j_M&t=30397) by David Tse at LA Blockchain Week (Solving the Availability&ndash;Finality Dilemma, or, How to Fix Eth 2.0's Consensus Protocol) with some great intuition about the inner workings and trade-offs of consensus mechanisms - definitely recommended. While the attack identified is interesting, in my view it falls into the [consider a spherical cow](https://en.wikipedia.org/wiki/Spherical_cow) realm of feasibility. In particular, assumption B in the article (which is critical to making the attack work) just doesn't reflect the reality of the Eth2 gossip network. The attack relies both on being able to partition the network and on precise timing, both of which are super-difficult to achieve outside a lab. Nonetheless, there is [a proposed fix](https://github.com/ethereum/eth2.0-specs/pull/2101) under discussion. This adds some randomness to the time at which a validator publishes its attestation, which is an effective defence against the attack. I'm not a big fan of this as it relies on "honest" behaviour by validators (following the spec at all costs) rather than the much weaker "economically rational" behaviour (validators act in their own best interests). The timing of publishing an attestation is a careful balance between publishing early enough to get included in blocks reasonably swiftly, and late enough to make sure the vote is for the correct head block: validator rewards depend on getting these things right. If adding jitter to the timing negatively affects rewards, then users will demand that validators don't do this, and the "fix" will not fix anything. Vitalik believes that [better solutions](https://github.com/ethereum/eth2.0-specs/pull/2101#issuecomment-709290392) are available. Anyway, there are plenty of other things to lose sleep over; I'm not going to be worrying about this one. Also on [ethresear.ch](https://ethresear.ch/): - In the rollup-centric world ("Phase 1.5 and done"), data availability becomes very important. Here's Vitalik with [2D data availability with Kate commitments](https://ethresear.ch/t/2d-data-availability-with-kate-commitments/8081?u=benjaminion). He has also been working on [data sampling](https://notes.ethereum.org/@vbuterin/r1v8VCULP) for data availability while moving away from relying on committees in Eth2. - And, hot off the press, here is a proposal for [A fee market contract for eth2 shards in eth1](https://ethresear.ch/t/a-fee-market-contract-for-eth2-shards-in-eth1/8124?u=benjaminion). The idea is to have a way for people to bid to put data into Eth2 shard blocks and be charged accordingly on the Eth1 chain. ## Regular Calls ### Implementers Call #50 took place on the 15th of October. * [Agenda](https://github.com/ethereum/eth2.0-pm/issues/187) * [Video](https://youtu.be/L4Dvlgxku1g?t=119) (First couple of minutes is missing) * My [quick notes](https://hackmd.io/@benjaminion/HyGGLCBww). We has some (unresolved) discussion about what to do with the Medalla testnet now that participation is dropping, and it is no longer at the latest spec. We might upgrade it for practice and keep it around a while longer. Ultimately the plan is to have a smaller long-lived devnet alongside mainnet. The ever-present elephant in the room is the mainnet launch date. We never talk about such things on the calls :joy: ## In other news - Latest client team updates from [Lighthouse](https://lighthouse.sigmaprime.io/update-30.html) and [Prysm](https://medium.com/prysmatic-labs/prysm-eth2-client-web-interface-now-live-feb278f4aa15) ## And finally... My apologies if bits of the above seem rushed. That's because they were :slightly_smiling_face:. I took some very pleasant time off last week, and did some hiking in [Dartmoor](https://en.wikipedia.org/wiki/Dartmoor). Highly recommended! * * * [![[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).