ethrex: v8.0.0
Highlights
Simplified Store API
Streamlined the storage backend interface, making it much easier and faster to add new store engine implementations.
Performance
Added parallelized account state merkleization to improve throughput in multi-core setups. We also exploited the fact that many transaction calls execute the same contract code, by adding a dedicated bytecode cache.
On the discovery side, we added discv4 ENR support to filter peers during discovery, allowing for lower resource usage, with improved peer discovery rate. Big thanks to our external contributors for driving this!
Metrics
We've been working on improving operator visibility by adding RPC error rate metrics and expanding peer/network ones both with dedicated rows and panels in Grafana. So networking health is easier to monitor. For more information about the latest state of our dashboards please take a look here.
UX
We added stronger startup checks around database compatibility to make sure we have a way to tell when a re-sync is needed. In addition, the client now warns if CL messages stop arriving for a while and a periodic check for newer releases was added to make staying up to date more straightforward.
Shared Bridge
Ethrex L2s can now participate in permissioned shared bridges and move interact between other ethrex L2s. See the official docs to learn more about this new feature https://docs.ethrex.xyz/l2/fundamentals/shared_bridge.html
ZisK and OpenVM as L1 Proving Backends
Ethrex now supports ZisK and OpenVM backends for proving L1 blocks.
Changelog
Installation and running instructions can be found in our docs
:boom: BREAKING CHANGES
-
due to
9feefd2- compress some tables (PR #5323 by @iovoid):compress some tables (#5323)
-
due to
e08d7e4- shared bridge (PR #5192 by @avilagaston9):shared bridge (#5192)
-
due to
fa6dbc5- fail opening DB without schema version (PR #5597 by @MegaRedHand):fail opening DB without schema version (#5597)
:sparkles: New Features
2e98c07- l1: change folder for dev mode db (PR #5363 by @fedacking)da11206- l2: add optional--abiflag for contracts compilation (PR #5371 by @ilitteri)6ef14c8- l1: code cache rocksdb (PR #5307 by @pablodeymo)fa3a298- l1: add rpc error rates to metrics and panels (PR #5335 by @rodrigo-o)- :arrow_lower_right: addresses issue #5379 opened by @rodrigo-o
- - : log warning if no CL messages are received in a while
:bug: Bug Fixes
ba5b565- l1: make from and to optional ineth_getLogs(PR #5361 by @MegaRedHand)- :arrow_lower_right: fixes issue #5360 opened by @ManuelBilbao
76434f3- l1, l2: fix mdbook workflow (PR #5386 by @jrchatruc)11e1072- l1: remove deprecated lighthouse flag (PR #5332 by @fmoletta)f505c00- l1: wait before retring on error in dev's block producer (PR #5391 by @ManuelBilbao)- - : handle missing payloads in engine_getPayloadBodiesByRange
:zap: Performance Improvements
06dc722- l1: avoid temporary allocations when decoding and hashing trie nodes (PR #5353 by @MegaRedHand)d3c0d11- l1,l2: parallel merkleization (top-down 16-ways) (PR #5377 by @Oppen)3e4d1e8- l1: improve rlp encoding (PR #5350 by @edg-l)fcbbbb3- l1: change encode_to_vec().len() -> length(), avoiding encoding to calc rlp length (PR #5374 by @edg-l)46096d1- l1: use our keccak implementation for receipt blooms
:recycle: Refactors
926247b- l2: decouple guest program IO (PR #5314 by @ilitteri)c9fd96e- levm: remove unused variants from enum (PR #5427 by @iovoid)c7ec3b3- l1: refactor chainconfig (PR #5233 by @SDartayet)- :arrow_lower_right: addresses issue #4720 opened by @SDartayet
f2b2006- l1: make improvements to public functions used by ethrex_replay (PR #5416 by @JereSalo)8fb4b27- : avoid recovering sender two times when txs are received
:white_check_mark: Tests
d69bedc- l1: verify we reject invalid iat claims. (PR #5245 by @lakshya-sky)- :arrow_lower_right: addresses issue #5074 opened by @MegaRedHand
:wrench: Chores
ab151d2- l2: implement rkyv traits forNode, serialize them directly into the prover guest program instead of its RLP encoding (PR #5224 by @xqft)a3f90a9- l1, l2: bump version for release 7.0.0 (PR #5313 by @lferrigno)1be3fe7- l2: add help for tdx failure jobs (PR #5367 by @tomip01)82d4ead- l1: remove unnecesary tx log. (PR #5381 by @mpaulucci)7559ed1- l1: renaming to remove prefix from file names