Releases: erigontech/erigon
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
v2.58.2 Napoli
Polygon mainnet users: You must upgrade to this release or later before the Napoli hard fork (March 20th, 2024)
What's Changed
- Finalize cancun/napoli HF block number for polygon mainnet by @manav2401 in #9674
Full Changelog: v2.58.1...v2.58.2
v2.58.1
This patch release fixes syncing mainnet from scratch and also Issue #9472.
What's Changed
- mainnet: remove beacon after 8M by @AskAlexSharov in #9480
- snapshots: fix filesByRange by @battlmonstr in #9489
Full Changelog: v2.58.0...v2.58.1
v2.58.0 Dencun
You must upgrade to this release or later before Dencun on Gnosis Chain (11 Mar) and Ethereum mainnet (13 Mar).
Release Highlights
- Added Holesky network to Caplin by @Giulio2002 in #9272
- Caplin: Fixed EL<->CL communication for Deneb by @Giulio2002 in #9257
- turbo/jsonrpc: add support for bor state sync event tx tracing in debug API by @taratorio in #9267
- silkworm: recreate tx batch and disable read-ahead in block execution by @canepat in #9293
- Fix mapmutation size update by @canepat in #9309
- Mapmutation.Flush to use less ram and close collectors earlier by @AskAlexSharov in #9320
- updateForkChoice: support --sync.loop.block.limit by @AskAlexSharov in #9315
- Bor waypoints by @mh0lt in #9342
- Added Full Lightclient Server support by @Giulio2002 in #9354
- Schedule Dencun on mainnet by @yperbasis in #9409
- Add totalBlobPoolLimit flag by @somnathb1 in #9406
- Fixed Caplin archive past deneb by @Giulio2002 in #9416
- Schedule Dencun for Gnosis by @somnathb1 in #9437
New Contributors
Full Changelog: v2.57.3...v2.58.0
v2.57.3 Napoli on Mumbai
This release schedules the Napoli hard fork on the Mumbai test net at block 45648608 (Feb 7th, 2024 around 8 AM UTC). Mumbai operators must upgrade beforehand.
What's Changed
- Mumbai: add Napoli block by @temaniarpit27 in #9346
Full Changelog: v2.57.2...v2.57.3
v2.57.2
What's Changed
- (FIX) RpcDaemon doesn't see recently retired blocks by @AskAlexSharov in #9336
Full Changelog: v2.57.1...v2.57.2
v2.57.1
This release patches Issue #9294 and a couple of issues in the transaction pool.
What's Changed
- downloader: prohibit_new_downloads.lock check missed download by @AskAlexSharov in #9300
- txpool: fix initial blockGasLimit and setBlobFee() by @yperbasis in #9303
Full Changelog: v2.57.0...v2.57.1
v2.57.0
Sepolia/Holešky/Chiado users: you must upgrade to this release or later before Dencun (30 Jan for Sepolia, 31 Jan for Chiado, 7 Feb for Holešky).
Release Highlights
- polygon/sync: canonical chain builder by @battlmonstr in #9117
- downloader:
--verify --verify.files --verify.failfast
support by @AskAlexSharov in #9156 - stagedsync: fix bor heimdall mining flow by @taratorio in #9149
- Schedule Dencun for Chiado by @yperbasis in #9184
- mdbx: hard dirtyPages limit by @AskAlexSharov in #9178
- Added EthV1AggregateAndProofs API by @Giulio2002 in #9192
- Fixes for Bor Block Production Synchronization by @mh0lt in #9162
- mdbx: dplimit - support cgroups/gomelimit, avoid using SetOptions after env.Open() by @AskAlexSharov in #9189
- Fix txpool queue overflow by @mh0lt in #9197
- recsplit: reduce ram pressure by @AskAlexSharov in #9218
- Tests v13 fix by @racytech in #9200
- Deneb integration to Caplin by @bayram98 in #9093
- polygon/sync: fork choice logic by @battlmonstr in #9228
- p2p: panic in enode DB Close on shutdown (#9237) by @battlmonstr in #9240
- Caplin: Fixed goroutine hell by @Giulio2002 in #9246
- Implement PIP-33: Napoli Hardfork by @yperbasis in #8975
- Move blob cache check in txpool by @somnathb1 in #9250
- mdbx: race conditions in MdbxKV.Close (#8409) by @battlmonstr in #9244
- Schedule Dencun for Sepolia & Holešky by @yperbasis in #9255
New Contributors
- @vuittont60 made their first contribution in #9173
- @Pan-chao made their first contribution in #9223
- @arunsathiya made their first contribution in #9215
Full Changelog: v2.56.2...v2.57.0
v2.56.2
This release fixes Erigon's failure to stop gracefully, introduced in v2.56.0.
What's Changed
- p2p/discv4: revert gotreply handler change from #8661 (#9119) (#9195) by @battlmonstr in #9210
Full Changelog: v2.56.1...v2.56.2