Decentralization panel with Michael Sproul, Marius van der Wijden, Marek Moraczynski, Gary Schulte
Nethermind Summit Istanbul 2023 · 7 Dec 2023 · 40:33
Why does client diversity matter for Ethereum? Michael Sproul of Lighthouse, Marius van der Wijden of Geth, Marek Moraczynski of Nethermind and Gary Schulte of Besu and Consensys, moderated by Ken Smith, discuss the risks of a supermajority execution client. They cover benefits such as testing, resilience and fresh ideas, and costs such as coordination overhead, slower upgrades and unstandardised RPC behaviour.
Speakers
Topics
From Nethermind Summit Istanbul 2023, hosted by Nethermind.
Transcript
all right this should be an excellent talk here we're going to talk a little bit about um client diversity on the execution layer and uh many of the room might know already that there's a super majority client on the execution layer I prob suppose it's no surprise but we'll start talking about this but let me get into it by introducing our panelists here uh hey I'm Marius I'm from the super majority I'm I'm I'm probably going to get all of the hard questions yeah I'm from gu hi uh I'm Gary I'm from uh hyperledger Basu and consensus um we are a minority client and
yeah hi I'm Mar from nether team I'm Michael I actually work on a consensus layer client but I'm here because I I got well that was that was my first question Michael which is wait why is Lighthouse up here on this panel for it but excellent I'm glad glad to see you here but let me let me get to the first question which is um back over here to to G and War uh I mean does g want to main remain a super majority client what's what's your opinion are you willing to self commit to 22% of the network it's um it's a difficult question um uh I think in general we we really like client diversity and we we
we think it's great that we have uh other clients coming up um also uh other clients that have um the um that have maybe like slightly different uh outlooks on them on the network and how it should be and have new ideas uh and stuff and that's uh I think it breeds a lot of like creativity a lot of discussion um um but in general yeah I think we we we support client diversity um very much and everyone should um if they're if they're in the position they should run a different client than gu um but it's also G has been here for ever since since the beginning of the of the
network and um I think the guest team feels um feels a lot of responsibility for ethereum and for for the security of ethereum and uh so so for example like we do a lot of testing um that we also share with other client teams and uh we we try to to always be the like the responsible one in the room and um I think some of the other clients are are are playing faster and looser with the rotes and so yeah we we're we're happy to be um to have less uh share in the network but it's also
like we're giving up a lot of power right now we we feel like like sometimes we feel like the adults and um it's it's hard to give that power away to to some of the newcomers thank you I appreciate that candid response there let me let me do a speed round and I'll pass the Mike through in one word and then Michael when it gets to you if you can then asked the second question and coming back here but uh just first as a mic goes one way in one word what is the biggest benefit for client diversity and then when the mic comes back can you expand upon all the benefits of client diversity in one word one word or a short
sentence um I think testing that would be my word uh I would say uh anti fragility security I was going to say resilience but that's the same thing so um and then so yeah all the benefits um I guess yeah like the testing thing is a good that's a bit of a different angle like we we end up with um a network that is like we end up with basically a better spec for how the network should behave if we have multiple um implementations of that spec um so you and this it's not just a
consensus which is obviously very important these other features you know if we get pushed back get saying hey you guys aren't implementing the snaping server um it becomes clear that that's an important thing for the other execution cents to that's good yeah so I think there are lots of benefits so as Mario benr it's testing so thanks to that we can compare uh results between different clients and this is very effective way of testing any changes do fing stuff uh what else uh client diversity allowed us to attract many core developers skilled in different programming languages but for me the most important are security
benefits so for example if we have uh any vulnerability in one client it means that one client is vulnerable but not the entire network right yeah um so to expand on anti fragility I would say that um the ability you to Echo what mer said a little closer oh sorry to Echo what Merck said um having having multiple different clients multiple different developers and multiple uh different interpretations spec um allow you to encounter these things early like when we're we're in test networks we we discover these things early uh can tend to make things take a little longer but um the net
effect is that we discover problems problems in Spec and problems in implementation early um and it also Al just kind of frees the frees other clients up and hopefully could free up gu from a bit of the responsibility of being a super majority because you probably want to sleep at night knowing that what you wrote last night isn't going to crash the network um so I think that's that's a huge benefit is to to be able to take that weight off while still maintaining a conservative approach that uh allows uh the values of the network to kind of shine through because gu has been here the whole time for the for the whole uh of ethereum so I there's got to be there's got to strike a balance uh but I think fundamentally having
these minority clients or nons super majority clients gives you uh the ability to experiment more yeah and um I think you guys are already expanded on testing so I'm I'm going to touch on two other points that I thought about uh one thing that I that I really like about this is that we like I don't know if if you're working in in a team it can quite easily happen that you fall into some kind of group thing and uh if you have different teams uh you always have to discuss with them and so some ideas that we have um might not be feasible to implement or not good to
implement or for other clients so having um different client teams just increases the amount of people that can that understand this network that can contribute to it that um can form ideas and think about proposals um um way more than like a a single team would and I think we see this in in in other ecosystems where there's only a single core development team and they produce the stuff that they produce and they never really get challenged on it and so I think From decentralization perspective just having different teams with different ideas is already like a like a huge factor and
it's also a thing if if like if really push comes to shove and one client team would say this is like we are not going to do this or like we we don't want to we don't want to like Implement whatever um then there are still enough skilled developers to to push changes forward and to keep maintaining the network um that that that I think that is one one important Point um I have one more it's always the problem at these panels that you you have these interesting ideas you forget about them um Let me let me think for a bit Yeah well maybe I can ask the question in a
in a different way now right we've heard we've heard the benefits of the um client diversity on the execution layer but it it's certainly not easy there's got to be some challenges what are um what are some of the um drawbacks of client diversity or implementing client diversity one one word answers again no no no you can you can exp um I I think the the biggest problem is probably the overhead of of coordinating um we have so many so many people so many teams and um I don't know if we if we launch a if we launch just a test Network then we
need to have implementations of 10 different clients um all of them have to implement it at the same point the same version of the spec and um even if we have if we might have already improvements to this spec um we we might not be able to start the test network with these improvements because um some of the clients haven't implemented them yet and so we might be stuck for longer older version um just because we have U we have every everyone needs to be there yeah I I would say that uh upgrades move kind of at the speed of the slowest steams that's I would put that suly in that way um I think an additional um drawback is that it's it's
constraining to to have to implement only ideas that are applicable to all of the tech Stacks like there's probably a lot of ideas a lot of things that different teams and different Stacks could do um that not all teams can right um and I think one one further thing is that um there's always wiggle room around spec and you end up with uh kind of a spoke or you know um maybe ad hoc type of like RPC end points are a great example uh where we have parody style tracing and we have gu style tracing and we have these endpoints that you know a super majority client their RPC end points just kind of end up being the spec regardless of whether they're
specified or not um so I think that's that's probably what it is it's it's almost in some ways it's gu is spec in cases yeah so I wanted to say basically the same thing so development overhead because developers are working more or less on the same thing same eips but in different clients in different Technologies so if we had one implementation at the same number of developers we could deliver more eapc in the same time uh and yeah as Gary also said about standardization jsonrpc so for D Developers for example integrating can be complex because they have to handle all possible options from
different clients or we have to adjust as a Min minority clients to together uh yeah so these kind of things I was just going to say one of the things that's hard from the consensus side as well is that uh client diversity is sort of quite quite a fragile um setup even once you do achieve it so on the on the CL side we've had diversity improv a lot but then there's still sort of situations where the large clients can sort of call the shots in what happens on the network and and drag the other clients along with them and I'm guilty of doing this with Lighthouse where there was a change I wanted to make to the spec to reor glate blocks so we just implemented it
in Lighthouse and then prism copied this and we had you know 70 C of the network doing this thing that was not really to spec and the minority of clients are going hey guys can you like get this in the spec and I I feel kind of bad that we that we did that but it was also there were reasons from a security point of view that that was beneficial but it's sort of like even once you have diversity you there's these kind of like economies of scale and like a network effect around a particular client and it's it's very um you kind of have to do weird things to restore the the balance even if you're um trying I I I actually remember my other advantage that I wanted to talk about um and I think it's um because we have
these different clients in different uh languages um we have uh like we have developer tooling that is like that is great like if you if you if you're working in I don't know JavaScript and you want to have an evm implementation you just use the libraries provided by eum JS that they use in their clients that is that is guaranteed to follow the spec if you're working in in go uh you can just pick the goal uh the GU libraries if you're working in in C and this is your favorite language and you have you want to build a project in it um then you you take the ne mic code and so we have um we have a lot of libraries
for for most of the languages and so you can just pick the language that you are are interested in that that that you're interested in that you're proficient in and you have the tooling um uh to interact with the with the network to interact with smart contracts and uh this tooling is provided by the by the client teams and so I think that is that is that like also increases the amount of um like developers that want to interact with etherium because they might want to learn a new language so they they they pick the Tooling in that language and so that that is also a a huge advantage in my opinion okay I want to follow up on a on
a question maybe a derivative of what Michael was saying uh previously about um client diversity has there ever been an example of client diversity on the execution layer that has helped ethereum go ahead yeah okay yes there there have been a few um one iMed medely comes to mind were the the Shanghai attacks um which is very early ethereum history I think it's earlier than all of us on on the panel um so uh yeah back then it was uh it was these guys who who fixed it um uh basically there there was a Dos attack
in in in g and an attacka found it and started sending transactions that would trigger it um but but because uh parity implemented um differently um the network didn't went down so guas couldn't couldn't um verify the blocks in time um but parity could and so um this was the first big example of um of where client diversity helped keep the network alive and um I think there was recently another example with nethermind uh where where G had had had an issue in the transaction pool um where you could send we transactions and they would like
re like the they would like throw out other transactions and because nether mind has implemented the transaction pool differently um they were not affected and so we we had enough transactions going on um and uh it gave us enough time to fix uh the get transaction pool um and uh so yeah fortunately other than those instances I don't know of that many where like something really happened on on mainnet um but uh we found a ton of bugs just fuzzing different clients uh against each other so for that we like we create some input we execute it on the
different clients we we lock out what what they are doing like what the up codes that they produce and like how much gas they cost and whatever and then then we we we verify that they do exactly the same thing and uh this is called differential fuzzing and uh this found a ton of issues in like most of the clients um where where something was like implemented slightly slightly different which could have uh led to a consensus issue um but fortunately we CAU it before it h main so this is also where client diversity like really shine
any yes so I'm thinking about uh pre-merge issues and for example we had kuki test net pre-merge test net and on this test net nethermind produced a bad block and I think bzu and nethermind accepted a block while G rejected and because of that we started to thinking more about other possible edge cases and we improve this specification of ethereum and engine API so another example okay uh one interesting thing I'm I'm kind of curious of is how are we actually monitoring or determining
client diversity how do we actually know uh what the percentages are right now can you guys expand upon that sure uh that's that's that's a a difficult problem we we're doing poorly I think is the answer uh there's there's a variety of um some Case Closed Source uh tools that are tracking client execution client diversity um it's just especially at post merge it's really difficult um to measure this accurately U so this is it's really a problem an open problem that we need to solve is is the ability to accurately fingerprint uh execution clients not only um in the context of validator nodes but parti in nodes and
so forth there's there's different uh probably different measures we should be uh taking like uh B producers or one case uh validating and attesting nodes or or another case and then just participating nodes themselves that are just connected to the network and we don't really have a way of separating those those different cases I think uh client divers unity.org is um they're using basically self-reported information from staking tools which is a a big um portion of the network it's it's a a large section of stake U but it's not reliable it's self-reported and it doesn't really have a full picture um yeah so I think it's just an open problem
really I was just going to add that from a consensus safety point of view similar to the CL I think the maybe the most important one is which validators or which client validators like what the breakdown there is because the situation we really really don't want to get into is where a super majority client um thinks that an invalid block is valid and then a tests to it and then we finalize that block and then that's basically game over for everyone that sted with that client they are either losing all their eth through a slashing or through the leak because basically there's no way back from that and um I think in practice if that happened it would create a difficult political
situation because the people who sted with that client would be wanting a bailout right they'd be talk of oh do we hide fork and allow this and it would just be a mess um and I think yeah unfortunately because we have Builders building all blocks we can't just fingerprint uh execution layer blocks like we do on the consensus layer um and you know we have these Network crawlers which will show us the number of nodes I think we should improve the network rols and there's work that the GU team and other teams are doing on that at the moment which is great um but yeah there's there's also like we talked about in the client diversity panel and and in my talk there's this balance between privacy and uh and like yeah and and openness where we you know we want data but we don't want to dox what
clients people [Music] around yeah maybe maybe we could expand upon that a little bit I mean I guess I never really that when you start profiling right you're looking at a fingerprint a certain attribute of signatures even if it's just a self-disclosure I'm a GU client I'm a nethermind client that um there's really maybe three sets of players in this industry right there's the block producers right we think there's about maybe 20 to 40 very successful block producers that work with the relays right um there's the number of nodes and validators that are running right um and then there are uh maybe a small set but unforgotten amount of individuals that
run a full node at home but are a validating node right um and I'm understanding from the panel here that it probably matters most the um the validating or testing nodes to make certain that they have quiet diversity in there right not to be little the diversity of the block producers but uh uh that's probably the more critical group and I wonder uh just as a question I like to hear all the all the panels kind of members talk about here is uh if we start creating these um these probing methods these fingerprinting methods these um scrapers that go out and start trying to determine who's who on the Internet is there a risk to identifying uh who would note oper is and what
clients they're running and if so can you can you share with the audience what that risk is I think there's definitely a risk um I think some some some of you guys can expand on it but um I think if you like there are people out there that have that data already and I'm I'm pretty sure the this data is being scraped already and so I think just makes sense for us to also um have an insight into it um because if you if you want to attack the network um then it's kind of easy for you to build it's not easy but it's possible for you to to
build these tools to find to to to to scrap these networks and uh I think it's always better to have that in a like in an open transparent way and um provide the tools ourselves um to make sure we can also guard against it maybe um instead of uh just ignoring the problem and um having some some uh uh outside people like building close Source tools that we don't know about that we suspect are there um so yeah that's like we shouldn't we shouldn't just sit there and and and ignore the problem we should take that head on my
opion um I think there's probably uh room there's probably solution space where we can uh use zero knowledge to uh identify uh to fingerprint self-report and then maybe at least um make it difficult to to falsely self-report I think is probably the the the solution space we might be able to look at there but um yeah it's still an open question yeah so for example we could provide this statistics by putting it to for example C graffiti but um as Mario said for example it's connected with some risk but on the other hand uh ZK technology might be connected with
complexity of the clients we need to find trade Ops yeah I I would I would think that putting any sort of like secret sign in ke like Gary said in the client is like I think that has to be the the method of res because from a privacy point of view it's kind of terrible to have this like it's kind of like a DRM thing in your in your binary that you we're trying to like put something in there that's hard for people to remove or hard to tamper with I think that's kind of against the EOS of uh open source private privacy preserving software so I think if we can somehow yeah get better data without um having to resort to these things I think that would be
preferable obviously not uh not want to go down the route of DRM but I think that it's certainly we could um make it non-trivial to to falsely self-report I think is what is is important yeah I think the yeah it's a it's a I think there's a there's a there's a tradeoff between privacy and like usefulness and security here and so the solutions that we have right now um I'm not that great and I think we can approve on it definitely and we should we should after this panel
we we sit down and okay as we get to the uh concluding questions here I guess so we we've learned so far that client diversity does matter on the execution layer we don't have good client diversity uh it's certainly shown benefits both in the history of ethereum um and we need to do much better at having a very robust and uh kind of accurate way to measure that client diversity but now what do we do how do we how do we fix this how do we get um a good diversity among a testing validating nodes in client diversity what are what are some of the solutions how do we do it let me let me start this way on the
panel thank you um so something that I've been thinking about you know when when you come to one of these events and there's all everyone together you start to have Strang um and even though the W team aren't here we have the possibility now of a of a monolithic rust client if we were to combine Lighthouse with re say um and this while it might help execution layer diversity to have say a monolithic rust client it's easy to use maybe it has some very very marginal performance benefit from avoiding the interprocess communication mostly I think the advantage would be in usability but then the question becomes we have to balance not just execution layer client diversity but also
consensus layer client diversity if we're going to bring people across to this monolithic rust client we're going to increase Lighthouse effective share and we we we're already too large on the consensus side so it it could be that if we did this we would maybe help execution L diversity a little bit while harming consensus L diversity and that's kind of it's something that we can do without like sort of any um I engineering web there but without any sort of in incentives or anything like this that's sort of trying to meddle with how the protocol works it would just be a distinctive Vantage um but I'm undecided as to whether we should do this I think it would probably be better if say Bess and te um merged into a modic client and then boosted both of
those clients um but yeah that's something I've just been thinking about recently so what we could do to improve this situation I think first of all of course we need to find better way to um find data about execution client diversity um what else uh we need to improve uh minority clients of course yeah that's it yeah um I think we we probably need to do better communication because I think um uh like d did in uh March of 2022 he had a blog post about run a super majority client at your own risk um those those penalties and
anti-correlation uh penalties they they already exist but I think they're largely ignored um so I think just doing a better job of Education would go a long way um but I think you know that's kind of more of a fear-based thing I think it it's it's probably would be more advantageous to compete on uh features um like Michael was saying if we uh lower the friction for having uh a tech Bas combo for example or um you know have a different storage format that leads itself to take less space uh having something be operationally less complex um I think competing on features is probably the right answer but education about the existing incentives I think is a more near term
thing yeah and I think um so wanted to talk about two things one thing that I think is uh is really important and it's it's being tackled right now is just uh just uh how to set up your client so it's very easy to find a tutorial online or like 10 tutorials on how to set up gu and it's not so easy to find um for like the average home Staker to find a tutorial on how to set up uh uh the newest version of bisu or the newest version of Netherland so I think there's a um there's a lot of value in just the community um creating document
creating um uh creating all of these like Grana charts that that work with a with the clients that you can just download and and and and have like your your charts or um like the dep node tools dep note right yeah where you can just like one click install the clients and and run them so there's a lot of value in this um and so another thing that we always as the GU team always try to to do is um is we try to make our testing that we do internally available to other clients uh so we've been uh we've been maintaining
Hive we worked on we've been providing a lot of stuff to the ethereum tests and now the execution spec tests um in order to make um to take some of the um some of the work that needs to be done in testing U away from from smaller c teams and I think that has been very beneficial um um so smaller client teams can focus on improving their client working on working on the the stuff that needs to be done and um just run our like sure it will never eliminate the testing that they need to do but it can help them um
in in just having some tests uh that that we know are are good and um especially around the merge I tried to always be the first one to like implement the specification and provide test vectors so that other clients could take them Implement implement the spe on their own and then like check against the test uh check check against the test vectors and it was often times that like at some point like oh implementation was wrong and uh the test vectors wrong and it it only like occurred because uh because M uh implemented it in in in nethermind and saw that like they get a different result and why do why do we
get a different result than them and then we discussed and then we figured out okay it's it's like one of our implementations is wrong and so I think this is um this is one way that uh like the bigger teams uh can help the smaller teams in just being more active in testing being more active in um like writing the specifications and um and uh uh writing documentation and stuff so well let me let me pause my questions here and just uh reach out to the audience here to see if anybody in the audience has questions over any of the topics that we're covered yeah this is really not actually a question it's more
like a comment that I would like to make and I think Michael has passed on this and I touch on this maybe I'll touch upon it a little bit but as I see the a minority client bad block acceptance that is a network event which is selfhealing and forgotten the next day and has no repercussions effectively whereas a majority client bad block being accepted by the network is it's such a storm that it could haunt us for years on a technical level and an organizational level governance level um and the general you know winter of ethereum could be caused by such an event nowadays I think um Can can you
expand upon that and just explain it so as Michael mentioned that could lead to to people wanting to revert blocks and go back on finality um because there will be otherwise an inactivity leak causing basically full loss of more or all the assets by a majority of validators and they would rather want the the the wrong block to be accepted there would be this governance discussion that would be basically worse than than the Dow U so it would be on all levels a huge event uh for me that's the kind of
easy answer why time diversity matters I know there are a lot of other answers um yeah that's just Michael and and I think we also kind of saw this with the imperior bug so there was there was an issue in G that was fixed and like 0.1% of the nodes um were still running this old version and um and that had this bug and someone deliberately triggered that buck and took down this 0.1% of the nodes uh which is like not much of the network but those were the
nodes uh that infura ran and so uh like for I think like six hours seven hours uh all of the infura nod were dead and this this event even though it was like it was a bucking guest and it was like only 0.1% of the nodes this already caused such a stor that I had like I had trouble opening Twitter for like and um yeah so if you uh if you care about my mental health and you you you should consider running a a a minority yeah excellent as I look out to
the audience here I don't oh there is one more there thank you um do you know any other layer one that have Cent diversity model I don't know any and yeah if not why do you think is the main reason yeah why they don't have this kind of sorry just to double check is the question whether do they know any other layer one where client diversity matters and if not why that is the case I was going to say so the mar points out
that the obvious one is nsis chain because they inherit a lot of clients from ethereum um but okay they just copy paste so I don't know um but the the better answer is that I think yeah other people are seeing the benefit of this model um filecoin for example has multiple implementations there's a go client there's a rust client I think there's maybe a third one um someone here in the front row is I don't know what you're trying to say I'm sorry um and yeah I think I think it's it's a lot more work as we were saying right like there's a coordination problem but I think that the end product is better so I think some companies maybe don't have the resources they
don't have the enormous developer community that ethereum has to maintain all of these clients like how many um how many core developers does ethereum have just working on clients it's probably on the order of 150 that's a lot that's a lot of people if you're a single company trying to employ that many people and get them to make multiple bits of software it's a bit weird I think it's only because we have this position as quite a large ecosystem that we're able to uh do this yeah um I know that Solana's also looking into building a second client um but in general like a client is always like it's a cost center like you don't make money with a client um uh most of the time it's uh it's black hole that
you pour money into and the benefit is that you like you have a client but um it's uh um yeah it's it's I think it's hard for other chain smaller chains to justify the cost of that of having more than one client most of the way I see it most most of the other ones don't even have one functioning client they just they just take like G and then and for it and apply some changes on top and it's it's it's like they're struggling to maintain even that um because um if you yeah like if if you know that much
about clients you uh and about the the the the core ethereum clients you can also just work for a core ethereum team and um I think that is that is one of our advantages that we can capture so much like mind share and developer share um yeah because of and it's also very fun to work on on but Peter asked me before beforehand to mention that GA is currently not hiring but but uh that I heard there's a really really nice internship program at at netherite that you should check out excellent well I I for one have certainly learned a lot about um
execution layer client diversity and the reasons for it I believe strongly we need to have a a a very proactive educational and advocacy campaign because the risks of a u a super majority execution client causing damage to the ethereum blockchain is going to affect all of us whether or not we're attesting validators whether we're running minority clients whether we're not it does have potentially large impacts so on behalf of everybody please give a round of applause for our panelist here you
Related talks
- Talk | A Deep Dive into Go Ethereum
- Rocket Pool Community Call | 03 December 2025
- Marek Moraczyński - Client Diversity - A Nethermind Core Dev Perspective
- The Merge: Perspective of the Execution Layer | Merge & Scalability Summit
- Michael Sproul, Hildebert Moulié, Toni Wahrstätter - Staking data panel moderated by Colfax Selby
- Michael Sproul - Update on client diversity and blockprint
- Don't let your friends do MEV
- Nethermind roadmap and Ethereum benchmarking - Marek Moraczyński & Kamil Chodoła - Nethermind
- RPC Fleet Mode - Lightweight Reactive Scaling with Besu - Gary Schulte - Besu
