Skylar Weaver - PoS, The Merge, and the Future of Ethereum
ETH Latam Buenos Aires 2022 · 17 Aug 2022 · 25:58
Skylar Weaver of the Ethereum Foundation returns to the basics of proof of stake and the Merge. The talk explains why Ethereum needs Sybil resistance, compares proof of work and proof of stake fairly, and sets out the advantages of staking: stronger security for the same cost, lower issuance, better recovery from attacks and a far smaller energy footprint. It clears up common misconceptions, including that the Merge will lower gas fees, and shares the latest testnet progress.
Speakers
Topics
From ETH Latam Buenos Aires 2022, hosted by ETH Latam.
Transcript
[Music] ah bueno we all learn english but if you want translations i think there's live translations outside um so thank you uh sebastian and thank you to the entire e flat tam organizing team for putting on this awesome event and all of you for for showing up today uh today uh like like sebastian said i'm skyler i work with the ethereum foundation actually on the devacon team and today we're going to talk a bit about proof of
stake and the merch um i initially was going to talk a little bit more about something more technical about the merge about how it works but i decided it might be nice to go back to the basics a little bit and we all know that the merge is coming that ethereum and the community are excited about switching to proof of stake but do we all know why and what what are the advantages it brings and i'm not sure we do so i think it might be nice to to recap a little bit but first let's recap a little bit about what we want out of ethereum we want a a global credibly neutral system and i think the keywords there being credibly
neutral in order to have a system that's credibly neutral we need that system to be run by many independent people around the world and how do we have a system that is run by many independent people around the world an online system it's actually quite hard so civil resistance is essentially the idea of you're able to make uh virtual copies of yourself online quite easily uh and that makes makes running a system that is uh that is run by many independent people around the world quite difficult to do so what we need is we need a form of civil protection
and both proof-of-stake and proof-of-work are forms of civil protection mechanisms so how do they work both proof-of-stake and of work are really proof of scarce resource if you really think about it and why are they proof of scary scarce resource because we need something that's hard to duplicate hard to copy if you what is easy to copy are virtual copies of yourself you can have a few different computers around the world and pretend to be a few different people but what's hard to copy are scarce resources and what's a good scarce resource that's hard to copy well economic value like capital like money
and if you think about it both proof of stake and proof of work are proof of capital they're proof of money in proof of stake you have money you use that money to buy ether and you prove ownership over that ether by staking it in proof of work you have money you buy energy to use that energy to solve puzzles and then you use the result of that puzzle to prove that you had capital that you used the capital in both cases it starts with capital and in both cases you can't just duplicate the capital to prevent to pretend like you have more influence
over the system than you should have and thus proof of stake and proof of work are both designed to help protect the system from being run by many sybils from being run by many copies of the same person they help ensure credible neutrality of the network and so that's a little bit about what proof of stake and proof of stake proof of work are here for why we need them let's talk a little bit about why why we're switching to proof of stake what's the difference between proof of work but before i jump into that i think it's worthwhile to clarify is proof-of-stake better than proof-of-work in every way because i've heard some people say this and i think it's important to recognize that there's trade-offs in life there's
trade-offs and everything including crypto economic design and there are some benefits to proof-of-work um and i think it would only be fair to highlight and to talk about some of the possible advantages of proof of work in comparison to proof of stake so i'm gonna talk about three of the main ones here one of those advantages is that proof of stake requires weak subjectivity proof of work does not and at the basic this means that if in proof of stake if your node goes offline for many months at a time and you want to re-sync it you will need to trust a peer or a friend or a service to get the current state and
in proof of work there exists less of this weak subjectivity but i and many others would argue that there still exists weak subjectivity and proof of work in the form of trusting client developers of trusting the initial boot node ips in the genesis block and things like that and so while this is like a possible advantage of proof of work i often think it's it's it's not as big of an advantage as many pro proof-of-work proponents would contend the second advantage potential advantage of proof-of-work is that attacks are on proof-of-work are more detectable so this means that if if i'm going if someone's going to attack a proof-of-work system
you have to buy billions of dollars of mining hardware and that attack is probably going to be noticeable in my opinion noticeable and stoppable are two different things in this case it's probably a state actor doing this and if you want to stop them it probably means you have to do some sort of physical intervention which probably means some sort of war and so i think that's quite a bit more difficult than just detecting it the third possible advantage that we'll talk about today is that proof-of-stake system from the start could be bad for distribution another way to phrase this is that proof of work has has forced distribution of the token into the network
and so um in the case of in proof of work basically because you are constantly spending energy you have to constantly pay for that energy and sell a portion of the block reward back out into the community um so not id like ethereum thankfully has had seven years of proof of work so we've had it really has helped our initial distribution of ether out into the community but you could see in in networks that start with an ico and then go directly into proof of stake you can see they have a less ideal distribution initial distribution than those that start with proof of work so these are some of the possible advantages of proof of work uh there's a few more here as well it's probably
really hard to read but uh uh that you can there's there's there's more nuance if you want to dive into into a deeper these are a couple articles i would read uh this is proof of stake how i learned to love weak subjectivity by vitalik and this is a really good bankless podcast between uh justin drake and lynn alden about proof of work versus proof of stake and so then why proof of stake so we just talked about why proof of work there's some advantages there i think it's fair that we talked about those for the proof of work proponents in the room and but now let's jump into it so why why are we switching proof of stake well i'll talk about six reasons six advantages more or less here
the first of which being that proof of stake offers higher security offers more security for your network at the same cost and then when we're talking about security here we're talking about the amount of money it takes to attack the chain to get 51 control over the network with proof of stake this offers you get roughly 5 to 20 x more security for the same cost which would which means basically that an attacker if you want to attack ethereum you would need 5 to 20x more capital more money to perform a 51 attack on ethereum versus ethereum proof of work and why is that if you want to see the
mapping on that you can actually uh read this article where is it that was back there it'll come up again but uh the reason behind this is basically that there's more economic efficiency with proof of stake so when i say proof-of-stake offers roughly 5-20 x more security for the same cost what is the cost that i'm talking about the cost is what we what the protocol needs to pay to incentivize validators we pay this in the form of block rewards in the form of ether emissions in printing new ether that we give to the block that we give to the validators and with proof of stake we can lower emissions to achieve the same or higher
security than we have with proof of work this is because to run a validator it takes much less resources to to to run the validator you don't have to waste energy uh you just have to process the transactions and your only cost is the opportunity cost of locking up your ether and so we can we can pay a lot more in protocol emissions and achieve the same or higher security than we had with proof of work and with this we get lower emissions and we can more easily reach a point where more ether is being burnt than is being created this is uh this could lead to a deflationary ether supply which is where the ultrasound
money meme came from that maybe you have heard about this in turn could lead to a higher price of ether and in turn higher cost to attack the network and this is all one advantage that we get with proof of stake this is more easily visualizable betterly visualized in this ultrasound.money website that is you can scan this qr code here but basically you can see on the left the amount of ether that we are burning per year that we are destroying per year and remember when you make a transaction on ethereum ever since late last year or a year ago now um when you make a transaction on ethereum you have to pay gas
most of that gas is burnt is destroyed and so the more transactions and activity that there is on ethereum the more ether that is being destroyed every year being burnt every year and at the current rate we're destroying we're burning 2.7 million ether per year and on the right hand side we can see issuance and we can see that currently before the merge we are printing 5.5 million each per year to incentivize validators and incentivize higher security on the network and this is currently giving us an inflation rate of 2.3 percent per year of ether in the network but post-merge if we were to go to simulate the merge we could see that the burn stays the
same 2.7 million per year it's unaffected by the merge however the emission rate that we have has now decreased by 10x and so we're decreasing we're now only emitting 0.6 million ether per year and we can see that at based on historical data we would be looking at a negative 1.8 percent inflation per year so this is actually deflationary with more ether being destroyed or decreasing over a year and this is one advantage of proof of stake is that we get more economic efficiency and in turn better security for the protocol another benefit advantage of proof-of-stake and this is a big one is that we have better attack recovery so
what does this mean uh i would say so there's a myth i think among pro proof-of-work uh proponents out there people who are are pro-proof of work they say it goes something like this something like 51 percent they say 51 attacks are infeasible for chains with high security and they say that because to attack bitcoin and ethereum right now it costs roughly between 10 to 20 billion dollars and while yes that is a lot of money for us in this room here i would argue that that's actually not a lot of money for a determined state actor so if you look at just in 2016 the chinese defense budget was 146 billion dollars alone for one year in 2021 the u.s defense budget was 745 billion
dollars for one year alone and in my humble opinion we will see major 51 attacks on ethereum and bitcoin and others in our lifetime and for this reason it's super important that you're able to recover from an attack when it happens in proof of work what happens well the capital is outside the system your miners are outside the system so if somebody attacks you can't tell which miners are attacking and you can't stop them from attacking unless you find them physically and you go try to destroy them but now you're talking about some sort of physical in-person war in proof-of-stake capital is within the system it's ether and so if somebody
attacks the attacking capital is visible and can be force exited from the system or deleted by community intervention now in any case a 51 attack is bad and i think will be uncommon if it does happen but i do think we should expect it and we should be prepared for it to happen and this is one major advantage of proof-of-stake over proof-of-work where we are actually able to recover from a 51 attack whereas with proof-of-work you're really not you're stuck you're screwed and so this is in the words of justin drake like an area in which proof-of-stake is just infinitely better than proof of work [Music] another advantage of proof of mistake is
that it is more decentralized so let's let's let's play this one out in a little scenario how do you become your own independent minor in proof of work well you would need to invest millions of dollars in creating your own mining farm to be competitive with other miners that exist out there and become your own independent miner you could invest less money but you will be joining a pool in order to be sustainable and in turn contributing to the centralization of the network you could you could invest less and run independently still but you will not be profitable and therefore not not sustainable
so how do you become a validator in proof of stake well you need no special hardware you can stake on a raspberry pi for three hundred dollars you can use the computer the laptop that you're carrying around with you in your backpack and uh it becomes a lot more accessible what you do need is 32 eve you can buy this from friends from peers from exchanges and right now or yesterday this costed actually a little bit more than 35 000 this costed 60 000 which is a lot of money i'm not going to lie it's a lot of money however in comparison to the millions that you need to become your own independent minor in proof of work
it is way more accessible than uh than than proof of work and if you have less than this you can join decentralized staking pools like rocket pool and so because becoming a validator is more accessible to people [Music] bringing proof of stake will make the network more decentralized and okay another benefit another advantage of proof of stake is that proof of stake is more censorship resistant so let's play out another scenario let's say the government wants to locate large proof of work miners they want to outlaw bitcoin or ethereum proof of work from their from their country well it's easy
you can really just go ask the electric company or you can use heat map technology like they do for weed farming and you could probably find large mining facilities fairly easy in the inverse let's look at let's say let's try to find a large proof of stake validator it's actually not so easy the low electricity usage required by validators makes them way harder to locate and even if you do find the validating machine destroying the machine does not destroy your ether as long as you have your keys somewhere you can still withdraw your ether later or you can continue validating and this isn't just theoretical last year maybe some of you saw that in malaysia they found the police found an illegal uh bitcoin mining
operation and they located it and they crushed a thousand bitcoin a6 with a steamroller and so i think censorship resistance is important especially in this day and age and proof of stake definitely gives us better censorship resistance and lastly i'll cover that proof of stake brings more environmentally friendliness now some proof-of-work proponents would argue that proof-of-work incentivizes green energy in my perspective that's also wrong what proof-of-work incentivizes is cheap energy and yes in some cases cheap energy uh is green the green energy is the cheapest energy however in most cases the cheapest energy is not green
and it's not what's most accessible uh and so why is proof of stake more energy efficient well if you think about it proof of work is just proof of stake with extra steps they both start with capital but in the case of proof of work you have to lock instead of locking up that capital you use it to burn energy to solve a puzzle and then with that puzzle the result of that puzzle you use that to prove that you burnt energy that you spent the capital whereas in proof of stake you start with a capital and you simply just lock it up to prove that you own it uh and the actual process of of of processing the blockchain really is quite simple it can be done on a validator using under
10 watts and is not that complex which is personally why i'm super excited that with proof of stake ethereum is expected to reduce its energy emissions by 99.95 percent so those were some of these there were six of the of the of the most common or most important um uh advantages of proof of stake that we get from switching to proof of stake but before we continue i also want to cover a couple common misconceptions that i hear quite a few quite a bit uh as we approach the merge the first one is that proof of stake is a rich get richer system and proof of work is not i would argue actually that this is not only wrong this is actually like the opposite
that proof of work is a rich get richer system and proof of stake is not so hear me out remember both proof of stake and proof of work are proof of capital you in write in proof of stake you start with the capital you buy ether you stake the ether you prove you have the ether in proof of work you start with capital you buy energy you burn that energy you prove that you burn the energy you burn the capital but in both cases it starts with capital it starts with money and in both proof-of-stake and proof-of-work you get a percentage return on investment so in proof-of-stake however the percentage return on investment is constant meaning if you invest 50 000 in staking you make the same percentage
return on investment as a 50 million dollar investment however in proof of work the percentage roa is higher with bigger investments so if you invest 50 000 in mining you will make less roi than a person who invests 50 million dollars in mining and why is that it's because proof of work has economies of scale opportunities uh it has like so if you're going to invest 50 million dollars in a proof of work in becoming a minor what will you do you're gonna go set up somewhere where you can get cheap electricity deals where you can be in a cool climate and pay less for for for cooling costs and where you can
get a a discount off of your bulk uh asic order all of these are are economies of scale opportunities that exist in proof-of-work that exist with every extra step that you add getting away from proof-of-stake and they don't exist in proof-of-stake in proof-of-stake you don't have more economies of scale with more money that you invest and so in conclusion i would say and many others argue as well that in proof of work the rich get richer faster than they do in proof of work more than they do in proof of work the other misconception i want to cover is that i hear often that proof-of-stake means ethereum governance is controlled by
stakers or the phrase another way like it's ruled by the rich this is also wrong this leads people to believe that proof-of-stake assets are more quote-unquote equity-like that people wrongly think stakeholders make protocol changes change decisions they decide what upgrades happen to the protocol and the truth of that is that that's not true they're the validators stakers do not decide what changes happen to the protocol not an ethereum uh there is no coin voting governance there is no plutocratic control over changes to the protocol ethereum has always had informal governance the same as bitcoin and will continue to have informal governance
uh and so um so those who say that that proof of stake is ruled by the rich that that the governance is controlled by stakers are simply simply wrong and the conclusion is that proof of stake is not ruled by the rich it's informal governance the same as bitcoin and uh the last misconception is that merge will lower gas fees this one i hear a lot and it's also wrong the merge will happen it will bring a lot of benefits that we just covered but none of those is scalability with scalability if you want cheaper gas fees you must use layer twos and when i talk about layer twos i'm talking about rollups where you inherit the same security as ethereum but you have much lower gas fees so these are things like optimism
like arbitrarum like zk sync stark nets and many others so if you want to if you want cheaper gas fees you should use layer twos like roll-ups and not just expect that the merge will bring lower gas fees and i think that about covers the misconceptions but i know what you want to hear you want to hear when merge what's the status of the merge how close are we and so so yeah what we've been talking about the community has been thinking researching working on the merge since the dawn of ethereum working on proof of stake since the dawn of ethereum and in the last two years we've made quite a few concrete advancements uh we have launched the beacon chain we launched in october of
2020 and it's been running for roughly two years now almost two years and has about four hundred thousand validators staking on it we have done uh hard forks to test it we've done devnets to test it we've also done more shadow forks to test it and we are actually finally finally in the final stretch and uh starting in june we actually started to test the merge on actual real public test nets and on june 8th it was uh we did the robston testnet it was a success on july 6th we did the sepolia test net it was also a success and just last night at like 11 p.m we merged girl girly which was also a
success and so yeah that's so for the first time in ever we have a a an end insight a merge insight and actually in half an hour the consensus layer meeting will get will happen with the core devs and they will decide uh they will actually for the first time ever set a date for the merge so we are super excited for that to finally happen we'll have a date and i think it could be within a month or roughly roughly around a month um and i'll end with if we truly want to
move towards a solar punk future proof of work is not the way and proof of stake is so um thanks all for for coming here i hope to see you at many of these uh these events uh these ethereum events happening throughout latin america hopefully at devcon as well and uh if you want to ask me questions i'll be around outside i think i'm out of time now but uh thank you all and yeah happy merge [Music] [Applause] [Music] you
