Demystifying Ethereum Staking & The Merge with Aqeel Mohammad

ETH Seoul 2022 · August 2022 · 23:25

Aqeel Mohammad of the Ethereum Foundation clears up common misconceptions about Ethereum staking and the Merge, the move from proof of work to proof of stake. The talk covers why the change brings lower energy use, lower barriers for validators and better recovery from attacks, what stays the same, such as the network, the token and fees, and why scaling comes through rollups rather than the Merge. It explains terminal total difficulty, the expected drop in issuance of about 90 percent, and what stakers, users and developers should do, including running a node.

Speakers

Topics

From ETH Seoul 2022, hosted by Kryptoplanet.

Transcript

yeah i just want to take the opportunity to thank erica and the rest of the the crypto soul team for putting on such a great event um i think it's really important for the asian ecosystem to start getting more opportunities for such high quality speakers and candidates to come in and participate in these events so just anecdotally i've been to the first seed berlin the eat the first uh in denver the first ecc and just seeing the amount of quality of candidates that kind of come out there the value they create for the ecosystem over the next few years is amazing i'm excited to see what you guys have created over the past few days and well over the next few months and so forth um so today i wanted to kind of provide a little bit insight to what's been

happening on the upgrades related to ethereum what that means from the staking perspective and what it really means when the merge is coming there's a lot of misconceptions that people really can't wrap their heads around so it's not going to be too technical the purpose of the talk is not to dive deep into the technical nuances of this technology but to just clarify all the misconceptions that do exist and that we usually come across on a daily basis so as mentioned my name is akil with the theorem foundation also lead uh some product and design projects for the leading client teams like status nodes and lighthouse and so forth trying to make ethereum staking and node operators tooling a lot more easier and accessible

for the rest of the community if you do need to reach me you can easily find me on twitter at qnou scan that qr code or just simply talk to me after the event also if you do have more informational needs around these topics please do check out the ethereum website the team has been doing a great job making this information very accessible easy to understand and there's a large team of volunteer translators that come in and translate this information as well so if you do have korean skills and are able to translate some of this information that'd be amazing for you to get involved all right so as mentioned over the past few years there's been a lot of talk about uh the

move to proof of stake uh since i've been involved in the ecosystem for over six years we've been talking about serenity the names have changed it's gone from e2 to now the merge but at the end of the day uh the core issues and the technology that we've been working on has been a part of the core ethereum roadmap for the longest time so when people talk about like the merge is delayed the merger delayed in the context of the longer term uh these delays are very small blips this technology these problems have been looked at and been tackled for a very long time and it's very important that we get these right rather than rushing into something just because there's external external pressure coming in so

from today on forward if anyone that kind of asks you what's going on with ethereum what e2 is what the merge is you basically tell them that ethereum is moving to a more sustainable and a secure home so even though there's a lot of changes that are happening on the back end the front end the users are not really going to see any impact additionally the only impact will happen is for individuals that are using our validators or running nodes etc so from your perspective or if you're a normal user please don't fall for any scams telling you to update your wallets or anything that related to that so i think it'd be important to kind of highlight um why we are moving to proof of stake in

the first place what that means and what are the benefits of actually moving to proof of stake as we're all aware there's a relative energy consumption when it comes per transaction so for instance the bitcoin energy consumption is quite high in relation to the ethereum proof of stake consumption i mean proof of work consumption but when we move to proof of stake that it decreases especially even lower to the point that running a node or a validator is equivalent of running a personal pc so one of the biggest benefits is that reduction in energy consumption which leads to us actually requiring less heater issuance to incentivize participation in the network we'll talk a little bit more about the

heat issuance and what impact it has with other other factors as well on top of that there's lower barriers to entry and increases accessibility for participation so this means the that individual with a normal home computer a laptop maybe a raspberry pi can now actually create blocks on the blockchain and hopefully at some point mobile phones can come into the ecosystem with some line clients and other properties as well additionally because of that lower barrier of entry this also improves the security and decentralization of the ecosystem so more individuals come in there's more validators there's more nodes running that means that we have more distribution more decentralization

in the ecosystem and on top of that it also causes us to have much cheaper security for the same price so there's actually like a five to twenty percent gain uh for the cost per security when you move to proof of stake uh in addition to that the 51 attacks become a lot more expensive for individuals to try to execute on and that if someone does actually succeed we have better recovery mechanisms so the community can actually choose to adopt a chain that was truthful and not choose the 51 attack this was not possible with proof of work and will be

coming in as well additionally this does not bring in scalability but it allows us for to have better secure implementations of scaling solutions like starting charting you'll have more opportunities obviously to learn about sharding implementations related to ethereum over the next few years but it's just a clarification that scaling is not coming with the the merge but it does provide opportunities for us to start implementing some of that stuff later on so some of the common misconceptions are is e2 coming soon the answer is no but the merge is and we'll talk about what that actually means a little bit further uh is ethereum moving to proof of stake from proof of work as a consensus mechanism yes very soon

will there be a new ethereum mainnet coming no the execution layer will remain the same so the network that you're used to using right now the transaction history everything stays consistent you don't have to worry about anything and you continue as you were will there be a new e2 token for stake ether no it's the same token that's been locked up in the beacon chain and it will continue to be so will there be a proof of work consensus later that will stick around after the merge no will there be a fork in the theorem after the merge and maybe a proof of work chain emerges you've been seeing a lot of noise about this on twitter realistically there's no incentives there's also some technical issues around chain id is not changing so the likelihood of someone actually trying to

sustain a fork is very highly unlikely but you never know so i'm guessing a lot of you are still asking but really one e2 and the fact of the matter is what you guys really thought about as eat one or e2 is really the execution layer and the consensus layer coming together and what we get at the end of the day is just ethereum once again uh just a small inside joke that little dog was something we saw on the street that looked like a little panda uh we can't take it back into canada if anyone from here wants to adopt it please do so it'll be amazing so as mentioned the merge is coming and you can scan that qr code to kind of

read the blog post about why the naming happened around calling it the merge what complications it's trying to address and so forth but internally as an organization we kind of frame this narrative around the merge as an upgrade that we're doing to an engine mid-flight so the spacecraft has to continue flying and operating and this change has to actually happen simultaneously so there's no downtime and that even the network doesn't really need to know that the changes happened and all this needs to be automated so that's one of the biggest complications with the merge is that all of this needs to happen automatically and that it needs to happen in tandem where nothing causes some sort of catastrophic

downtime to the network so as long as we are going through the process of the testness etc is to ensure that the quality and the the security of the network is in complete so this diagram actually kind of shows you the ethereum roadmap in relation to the merge and where we are in relation uh to the merge so basically we're currently at the bottom of the stack where the ethereum state and the execution layer is paired with the proof-of-work consensus mechanism so the transaction dab contracts counts are on the execution layer and then in moving in tandem with the

proof-of-work consensus but in december 2020 the beacon chain launched and started running in tandem with the rest of the chain but the consensus layer uh for beacon chain is drastically different that the beacon chain does not have the transactions or the contracts or the accounts baked into the beacon chain so it's just only there to serve the purpose of the consensus mechanism and when the merge when the bellatrix upgrade and the peri spark upgrade happen to kind of allow the cross communication between execution layer and the consensus layer that will trigger the ttd to start the merge and when that happens we'll basically just cut off proof of work and

continue with the proof of stake and what actually happens in that case is as you can see currently with proof of work ethereum today the execution layer kind of is housed with the transactions basis all that information within the proof of work mechanism and we just basically pick that up and put it into the consensus layer as so so essentially the network that you're used to is still operating it's just now wrapped into in a different consensus mechanism and you really don't have to worry about any of the network being different so some of the biggest consumptions as i mentioned earlier were will these upgrades actually reduce transaction

fees no so there will be no direct impact on network activity fees but there is more work being done in this regard related to mev and so forth at the protocol level and then will this increase scalability and throughput of the blockchain so no scaling on ethereum will actually come through a rollup centric roadmap and then layer twos will address scalability issues without compromising decentralization uh and then also rely on the security models of ethereum on the layer one will ethereum continue working on sharding yes it will come post-merge and you can learn about that more as necessary uh will eat issuance decrease after the merge so yes it will decrease by approximately 90 percent and then if you couple that with the

burn of the gas fees this actually means that each inflation will be net zero or negative so ethereum basically becomes a deflationary asset at that point so people have an issue about why we don't really have clear dates around the merge and when it's happening and one of the reasons is unlike other forks or upgrades we're not really relying on block numbers as a timing as a timing mechanism but rather terminal total difficulty which actually allows for better risk assurances there's no risk of actually

uncovering another chain the cost of actually spending that hash power is similar to on mainnet so there's really no incentives for people to try to uh game the system so in this situation clients listen for the total terminal difficulty and when the client sees a block that has a higher difficulty it initiates the process and once that block is seen with the total terminal difficulty that's higher than the ttd it will be deemed the final pow block that means that any future blocks that are created will be on the beacon chain and then the translation is complete once the ttd block has finalized on the beacon chain and then the clients stop

glossing pow blocks all together so in the concept of like the the merged road map where we are is very close so essentially in next four or five days the ttd for gore lead test net will be initiated and that's the last test net right before the merge and after that we'll hopefully get to the main net perhaps before defcon but there would really have to be a catastrophic issue if we didn't go past december so it's hopefully within the next few months and before new year's essentially so some more common misconceptions is a do i need expensive hardware to become a

validator so technically no validator clients can actually be run on smaller devices as such as raspberry pi's with like the right client and software hardware pairing and are quite energy efficient as mentioned to a computer device uh do i need to actively participate in the theorem staking yes so ethereum is actually not a dedicated proof-of-stake ecosystem and requires to requires you to actively validate and make attestations on the network to earn your stake either but there's also other solutions like pool staking services or staking services that allow you to kind of get that experience do i need to have 32 ether to stake on a theorem yes currently as an independent staker you do as mentioned there's other services that allow you to pull your

ether to kind of get those opportunities and there's also work being done on distributed validator technologies that will obviously be a boon for the asian ecosystem to be kind of be able to afford these taking machines because that's not a small amount of change will withdrawals become available at the merge no so withdrawals will become available in the next update which is probably six to twelve months post the merge at that point will transaction rewards be available at the merge so yes rewards from transaction fees will be provided to the validators immediately given that you've provided the proper fee recipient address to the client software so if i stake and my validator goes down

will i get slash so this is one of the things that people are more afraid of when they're trying to think about validating or staking on ethereum the answer is no slashing is actually a mechanism designed to punish bad actors and usually occurs in very rare cases maybe like 0.2 or something has occurred in the past uh and uh usually is because they start try to run redundant systems and it's encouraged for individual and solar stakers to really try to do that uh do i need 100 uptime to remain profitable again this is a misconception you really don't but it is important that uh you do try to keep a healthy node and then your

proportion leak is quite in line with the derivative generation so if you go down for a few weeks a few days or a few weeks or in the year you're really not going to be impacted too drastically should i be running a minority consensus layer client yes not only for the health of the network but if you're with the majority client and something goes wrong you actually get penalized more than you would if you had something go wrong with the minority client so that's something you need to be aware of as well and then do i need to run an execution layer client yes uh so with the the merge everyone that was running a node also needs to run an execution layer client and then it's just as important from a decentralized perspective to choose a client that isn't get or a

majority client and we're actually at a position in the ecosystem to kind of like change that narrative narrative and then have an equal opportunity to use some of the other clients with the merge so getting started with ethereum staking there's a few options for you you can have solo homestaking individuals just running their own nodes this is the the dream for decentralized networks basically it's the most impactful gives you full control for rewards and you operate in a fully trustless mech manner on top of that they're staking as a service so they use your 32 ether in a hole they utilize your validator keys but then you entrust your node operations to these services to take care of and they

take fees on top of that in addition there's pool staking so services like lido a rocket pool where you can stake any amount earn rewards it's pretty simple and these are quite popular and we'll see how much of the ecosystem is kind of relying on these technologies versus actually taking the ownership of their nodes at this point and then the least impactful is actually centralized exchanges and it's not really recommended that you rely on those for staking so as far as the different ethereum consensus clients there's uh five top clients at this point the community has actually done very amazing work to make sure that none of the clients are a majority over 33 percent we're in we're

getting better and better health over the network there but as mentioned at the execution layer we still have issues with uh get having most of the majority close to 80 percent and this is where some of the focus needs to be uh if you want to learn a little bit more about how to stake or get involved with staking from the launch pad you can visit our website or scan that qr code so this is one of the main reasons i came to seoul and i really appreciate the work that uh erica and cryptosol are doing with bringing more events and more coverage to asia because most of the validator nodes are currently

being operated within europe and north america and as you can see south america the mean region and asia has very little coverage and we talk a lot about decentralization and what we wish to accomplish as far as this ecosystem being accessible to everyone but the consequences or of our actions are that we might be making the same mistakes that existed in past systems so seoul or south korea is only represented by 0.7 percent nearly of validators similar to japan and so forth so it's really important that you guys that have opportunities to educate individuals about the the nuances of decentralization and the purpose of why we're even in this ecosystem and what we're trying to

accomplish uh it's really it's really important that we try to look at it from a macro perspective and how we can do a better job of educating people so as mentioned staking deposit by category majority of individuals are still using staking pools and exchanges because of the complications around ux and the resources that are required in education that is required for people to actually start running nodes or validating on the network so if you do have the skills or the interests there's a lot of opportunity for you to get involved in creating tools and resources for people to actually understand some of this technology a little bit better so as i was mentioning we talk a lot

about decentralization in the ecosystem but the reality is the majority of key ownership is controlled by centralized exchanges node infrastructure is happening on cloud amazon aws data availability is all coming from vera staking is being controlled by centralized exchanges staking pools network security is at risk through majority clients and then dapps are even seeing centralization effects with certain things such as like openc taking control so we have to be really mindful when we're focusing on projects to work on technologies that we're trying to create to really keep decentralization at the heart and try to incentivize and educate individuals that are coming new to the ecosystem to make sure that they

understand this is the core value and these are the core issues that we should also be looking at when looking at the value proposition that we bring to the ecosystem so another misconception is that you need to stake to be a validate to be a node operator in the ethereum ecosystem that's not true you can actually run a node and this is a great resource for you to kind of learn and start get started the first thing that i did when i got into the theory ecosystem was try to run the node and i encourage everyone to kind of learn about the privacy security uh start relying less on third-party servers especially if you're developing dapps resources et cetera

it's really important for you to see the core of the census of resistance improve the health of the network and then kind of take ownership and participate in the network more intimately on top of that what do you really need to get ready for the merge so as a staker or validator of the network you need to be following updates that are coming from the foundation on the blog regularly you should be testing and participating in test tests to make sure you're ready for the switch make sure that you are now running the execution client as mentioned earlier but as a regular user you should should not have to do much just be aware of scams and make sure you're not falling for any traps and then as a developer if you're using any block numbers as a proxy for time

uh so going from like 30 seconds and some variance you'll actually have to uh change that to always be a multiple of 12 and that will be more true with after the merge in addition if you want to learn about becoming a validator or staking or running a node join the the validator academy is going to be a very easy explain it to me like i'm 5 resource where we provide information about how to understand some of these complications around how to run this stuff provide some uis and so forth and hopefully this will be in coming in time and along with the merge also on top of that if you have the opportunity please do come to devron

bogota i know tickets are quite difficult to grab but there's a lot of amazing events happening post and pre-event and there's a lot of opportunities to for you to really ingrain yourself in like a third world economy learn the impact and we're trying to really uh get a lot of encouragement around asia and other regions as well so it'd be great to have more representation from these regions participate in the event and also if you have the opportunities please do attend eat ho chi minh it's amazing that we're getting more representation in these regions and we'd hope to see more and more individuals come to that thank you very much and that's it