Ethrex Update 🚀
# Layer 2
We are working on integrating ethrex Layer 2 Aligned Layer aggregation mode integration, the TEE support (we've ended our exploration, wrote down some docs and now we're adapting the PoC for it to be included in the current pipeline), and including the withdrawal proving to the current proving pipeline (currently only block execution).
We are still working on a proof of concept for Aligned Layer agg mode integration and are starting to integrate our Intel TDX PoC to Layer 2 as another prover. We also have the proving of withdrawals under review and are starting with deposit proving.
We also have a PR under review to make Layer 2 contracts upgradeable under the UUPS proxy pattern and one adding remote signing support with Web3Signer. Finally, the PR getting rid of toml config and moving everything to environment variables or cli flags has been merged.
# LEVM
We landed two performance optimizations for LEVM:
- We reworked the way storage modifications are tracked to manage reverts; previously the entire accumulated storage modifications were cloned, whereas now we only track specific slots that are modified (#2699).
- Removed an unnecessary double copying of a slice on the PUSH opcode. This represented around a 5% improvement on our benchmarks (#2702).
We are also working on another perf improvement to avoid cloning accounts' bytecode when doing calls. On flamegraphs made while syncing Holesky, on certain blocks this represented around 80% of total execution so we expect a good speedup when syncing from this.
# Layer 1
We updated execution spec tests from 4.0.0 to 4.3.0 and fixed some of the new tests. We also made some improvements in the P2P layer
# Perf
Things we've been working on this week:
- We changed our trie implementation to use references to other nodes or hashes, avoiding extra hashing, but also setting up the path to maintain the cache between blocks.
- A basic snapshot implementation is in place, and good results are being shown on initial load tests. We're now working on merging old snapshots into the disk layer.
- We are working on a standardization of our genesis files to be able to quickly compare between them.