Repository navigation
Warning
Reads of block history the node does not hold now return error 4444; earlier releases returned null or -32603. This covers the block, transaction-by-block, receipts and logs methods, for blocks below the snap sync pivot that were not backfilled with --history.chain. A client that takes null to mean that the block does not exist now has to handle the error.
Note
What's new
- New RPC methods:
eth_capabilities, which reports the block ranges the node can serve for state, proofs, blocks, transactions, logs and receipts; andlogsandsyncingsubscriptions ineth_subscribe, so all four standard subscription types are now served. - RPC behavior:
eth_feeHistorywithout reward percentiles is now answered from headers, so it also covers blocks whose bodies the node does not hold. - Fixes:
/metricsno longer exports the process metrics twice, which made some collectors drop samples on every scrape; andethrex import <directory>continues past a file that fails to import and reports the failures at the end. - Stateless validation: the stateless-validator guests move to ere v0.20.0 (ZisK v1.4.0-alpha), malformed witness nodes are rejected, and each witness header is hashed once.
- L2: the sequencer's TPS gauge uses the measured block interval, the block builder leaves room for the batch encoding so the committer no longer stalls under sustained load, and the batch transaction and gas counters no longer count the closing block twice.
No resync is needed. After upgrading, a node with an existing database reads each stored block body once in the background, after it is synced, to record which history it holds (10 to 30 minutes on mainnet nodes holding 1.1 to 1.3 million blocks). Until that finishes, eth_capabilities reports blocks, tx, logs and receipts as disabled; nothing else changes.
Installation and running instructions can be found in our docs
✨ New Features
fd5c57d- l1: upgrade stateless-validator guests to ERE v0.20.0 (PR #7520 by @jsign)472edb7- l1: eth_subscribe logs subscriptions (PR #7504 by @adrianchifor)↘️ addresses issue #4897 opened by @ManuelBilbao
70eab1c- l1: eth_subscribe syncing subscriptions (PR #7507 by @adrianchifor)↘️ addresses issue #4897 opened by @ManuelBilbao
063aa34- l1: add standalone blocktest and enginetest runners (PR #7535 by @fselmo)ec487f3- l1: implement eth_capabilities (PR #7505 by @adrianchifor)
🐛 Bug Fixes
83d2f29- l2: measure TPS against the real block interval, unblock the committer under load and document the TPS procedure (PR #7424 by @ilitteri)bf152f2- l1: stop exporting process metrics twice on /metrics (PR #7534 by @MegaRedHand)ff78a0a- l1: return 4444 for pruned block history (PR #7506 by @adrianchifor)↘️ fixes issue #4870 opened by @MegaRedHand
8900cd4- l1: bump ef-test fixtures to tests@v21.0.2 and support BPO forks after Amsterdam (PR #7528 by @jsign)7202328- l1: bump zkevm tests to v21.0.7 and reject the malformed witness nodes it adds (PR #7529 by @jsign)7e272ac- l1: continue a directory import past files that fail to import (PR #7516 by @danceratopz)902e4ac- l1: hash each witness header once in GuestProgramState::get_block_hash (PR #7512 by @eason1981)↘️ fixes issue #7511 opened by @eason1981
fc7d692- l1,l2: keep eth_capabilities from over-reporting history on older databases (PR #7543 by @ilitteri)9a1184a- l1,l2: stop the trie from linking NativeCrypto into the zkVM guests (PR #7573 by @ilitteri)