Looking to get more out of your Besu network?
→ Make it more private.
→ Make it interoperable.
→ Boost its performance.
Work with the creators of Besu, who have been building it since 2018.
https://t.co/QZ8G384s3h
Ethereum is preparing to move its state from the Merkle Patricia Trie to the Partitioned Binary Tree: smaller proofs, easier proving.
The fork just went live on glamsterdam-pbt-1, a mainnet shadowfork by @ethPandaOps, tested by @kt2am1990, one of our Besu maintainers.
Our @Besu_eth nodes switched to the PBT with no missed slot, and no issues so far.
Before the fork, Besu built its PBT from its own database in 2h41.
Full results in the video below. ↓
Besu successfully caught up with PBT root in our state-tree migration devnet!!
(A mainnet shadowfork)
Congrats to Karim for such a nice work and help during all the process!👏👏👏
EIP-8037 is scheduled for Glamsterdam and will increase the gas cost of creating new accounts and writing to new storage slots by 5-8x.
What protocols have hard-coded expectations about state gas costs? What is at risk of breaking?
Last week, Ethereum core contributors gathered in Svalbard for the Soldøgn interop: a week long event focused on hardening Glamsterdam implementations to scale Ethereum securely ☀️
Read the full recap, including their candidate post-fork gas limit, below:
Our new blog post on parallel state root calculation is out. It shows up to 40% performance improvement on block processing on certain hardware.
Check it out : https://t.co/SJyoG8b89G
@nero_eth@tryethernal actually, the average is 65% for optimistic parallelization transactions on the last 24 hours on mainnet. This was improved from ~40% to ~60% with this PR https://t.co/I4BakMZrZv
@nero_eth@tryethernal I think the main confusion here is the word “access”. I understand it in this context as 60 to 80% of current mainnet transactions are non conflicting, which is close to what we’ve noticed so far in besu optimistic parallel transaction processing. It is more close to 60 than 80⬇️
@llamaonthebrink We have a whole program with 5 courses from beginner to advanced. All open and contributions welcomed!
https://t.co/puCgmzWfq3
https://t.co/xUmFWLGXw9
Now, scaling.
There are two buckets here: short-term and long-term.
Short term scaling I've written about elsewhere. Basically:
* Block level access lists (coming in Glamsterdam) allow blocks to be verified in parallel.
* ePBS (coming in Glamsterdam) has many features, of which one is that it becomes safe to use a large fraction of each slot (instead of just a few hundred milliseconds) to verify a block
* Gas repricings ensure that gas costs of operations are aligned with the actual time it takes to execute them (plus other costs they impose). We're also taking early forays into multidimensional gas, which ensures that different resources are capped differently. Both allow us to take larger fractions of a slot to verify blocks, without fear of exceptional cases.
There is a multi-stage roadmap for multidimensional gas.
First, in Glamsterdam, we separate out "state creation" costs from "execution and calldata" costs. Today, an SSTORE that changes a slot from nonzero -> nonzero costs 5000 gas, an SSTORE that changes zero -> nonzero costs 20000. One of the Glamsterdam repricings greatly increases that extra amount (eg. to 60000); our goal doing this + gas limit increases is to scale execution capacity much more than we scale state size capacity, for reasons I've written before ( https://t.co/7nL9qOQYnm ). So in Glamsterdam, that SSTORE will charge 5000 "regular" gas and (eg.) 55000 "state creation gas".
State creation gas will NOT count toward the ~16 million tx gas cap, so creating large contracts (larger than today) will be possible.
One challenge is: how does this work in the EVM? The EVM opcodes (GAS, CALL...) all assume one dimension. Here is our approach. We maintain two invariants:
* If you make a call with X gas, that call will have X gas that's usable for "regular" OR "state creation" OR other future dimensions
* If you call the GAS opcode, it tells you you have Y gas, then you make a call with X gas, you still have at least Y-X gas, usable for any function, _after_ the call to do any post-operations
What we do is, we create N+1 "dimensions" of gas, where by default N=1 (state creation), and the extra dimension we call "reservoir". EVM execution by default consumes the "specialized" dimensions if it can, and otherwise it consumes from reservoir. So eg. if you have (100000 state creation gas, 100000 reservoir), then if you use SSTORE to create new state three times, your remaining gas goes (100000, 100000) -> (45000, 95000) -> (0, 80000) -> (0, 20000). GAS returns reservoir. CALL passes along the specified gas amount from the reservoir, plus _all_ non-reservoir gas.
Later, we switch to multi-dimensional *pricing*, where different dimensions can have different floating gas prices. This gives us long-term economic sustainability and optimality (see https://t.co/KiiDugo4OA ). The reservoir mechanism solves the sub-call problem at the end of that article.
Now, for long-term scaling, there are two parts: ZK-EVM, and blobs.
For blobs, the plan is to continue to iterate on PeerDAS, and get it to an eventual end-state where it can ideally handle ~8 MB/sec of data. Enough for Ethereum's needs, not attempting to be some kind of global data layer. Today, blobs are for L2s. In the future, the plan is for Ethereum block data to directly go into blobs. This is necessary to enable someone to validate a hyperscaled Ethereum chain without personally downloading and re-executing it: ZK-SNARKs remove the need to re-execute, and PeerDAS on blobs lets you verify availability without personally downloading.
For ZK-EVM, the goal is to step up our "comfort" relying on it in stages:
* Clients that let you participate as an attester with ZK-EVMs will exist in 2026. They will not be safe enough to allow the network to run on them, but eg. 5% of the network relying on them will be ok. (If the ZK-EVM breaks, you *will not* be slashed, you'll just have a risk of building on an invalid block and losing revenue)
* In 2027, we'll start recommending for a larger minority of the network to run on ZK-EVMs, and at the same time full focus will be on formally verifying, maximizing their security, etc. Even 20% of the network running ZK-EVMs will let us greatly increase the gaslimit, because it allows gas limits to greatly increase while having a cheap path for solo stakers, who are under 20% anyway.
* When ready, we move to 3-of-5 mandatory proving. For a block to be valid, it would need to contain 3 of 5 types of proofs from different proof systems. By this point, we would expect that all nodes (except nodes that need to do indexing) will rely on ZK-EVM proofs.
* Keep improving the ZK-EVM, and make it as robust, formally verified, etc as possible. This will also start to involve any VM change efforts (eg. RISC-V)
https://t.co/NQ3JFLe8Gd
Glamsterdam Gas Repricing is around the corner. ⛽️
If you’re building dapps or running infrastructure, your service might be affected.
Core developers want to hear how this impacts you. 👇
1/2
I left paid work almost a year ago saying that only something spectacular would drag me out of retirement.
Well, it happened - I am now with @ethereumfndn helping to shepherd fast finality to Mainnet.
It's going to be quite the journey, but I am very excited! 🚀
New feature now available in The Lab slot deep dive 🚢🚢
Trace the timings of a slot from all the Xatu nodes. Includes MEV bids, block arrivals, execution times (where available), and data availability time.
Link in next tweet.
@yorickdowne@nero_eth@pintail_xyz Interestingly last night’s degradation caused fail safe mode local building as all builders were timed out - so we did get to see how network performed on 100% local building