v2.59.0 Post-Dencun Fixes
Attention Caplin Users
- Upgrade your erigon node, let it run for about a minute, then stop it.
- Reset the headers & snapshots stages:
rm -rf <datadir>/caplin <datadir>/snapshots <datadir>/downloader
make integration
./build/bin/integration stage_headers --reset --datadir=<datadir>
./build/bin/integration stage_snapshots --reset --datadir=<datadir>
- Start your erigon node.
More Aggressive Log/Receipt Pruning
PR #9123 introduces more aggressive pruning of logs & receipts (for nodes with r
in their pruning flag, e.g. --prune=hrtc
), resulting in a 2x smaller disk footprint.
This feature is only enabled for new nodes. To enable it for an existing node, you have to re-sync it from scratch.
Optional reduce IO for getTxnByHash
operation
Transaction lookup by hash did touch too much places in snapshots. It caused high IO and PageCache evictions.
If you have much RPC requests - it will greatly help for this use-case.
To get it: rm datdir/snapshots/*.idx
and restart erigon.
By #9506
Release Highlights
- Caplin: blob storage by @bayram98 in #9310
- txpool: Respect updates to block gas limit by @jyellick in #9363
- seg compress: fix LCP initialization by @battlmonstr in #9460
- Filter deposit contract logs before pruning by @somnathb1 in #9123
- metrics: Add memory usage statistics to Prometheus by @shohamc1 in #9465
- "integration warmup": open db in asccede mode - to allow run it without erigon shutdown by @AskAlexSharov in #9558
- debug_traceBlockByHash: reject non-canonical hash by @AskAlexSharov in #9616
- rpc: trace_transaction return error if block is non-canonical by @AskAlexSharov in #9641
- Fix txpool_content for pending blob tx by @somnathb1 in #9668
- Fixed gnosis DA on Caplin by @Giulio2002 in #9682
- support
--sync.loop.block.limit
in newHeads notification by @AskAlexSharov in #9684 - Allow safe/finalized for eth_getLogs by @adytzu2007 in #9686
- silkworm: proper external/internal txn handling in stage Execution by @canepat in #9594
- Caplin: Added preparation for validator block building by @Giulio2002 in #9709
- evm transaction context not correct when txn is type 3 (EIP-4844) by @indanielo in #9722
- Fix ExcessBlobGas wiring in callMany/debug_traceCallMany by @yperbasis in #9723
- RPC: close
tx.Prefix
iterator for early release memory by @AskAlexSharov in #9759
New Contributors
- @sjb933 made their first contribution in #9432
- @bloxster made their first contribution in #9459
- @bodhi-crypo made their first contribution in #9492
- @alecalve made their first contribution in #9595
- @adytzu2007 made their first contribution in #9686
- @pavedroad made their first contribution in #9685
- @indanielo made their first contribution in #9722
- @AdventureSeeker987 made their first contribution in #9664
- @domiwei made their first contribution in #9735
Full Changelog: v2.58.2...v2.59.0