Ethereum implementation on the efficiency frontier
WARNING
Erigon 3 has been under R&D for a long time and is getting closer to release. We plan this release, v2.60.0, to be the last significant release based on Erigon 2. There might be patch v2.60.x releases for critical issues, but by and large, we intend all future development to be based on Erigon 3. The code of Erigon 3 now lives in branch main
, which is our default branch now. We advise all forks of Erigon to either switch their development to Erigon 3 or use branch release/2.60
if they choose to stay on Erigon 2.
You can read more about Erigon 3 at https://erigon.tech/merging-erigon-3-and-erigon-4-and-possibly-caplin.
Drop support of golang 1.20
Fixes pruning of logs issue introduced in 2.59.x:
For users using prune=hrtc
flag or any prune flags with non-zero prune.r.older
value following must be performed when upgrading from 2.59.x
integration stage_log_index --reset --datadir=<your_datadir> --chain=<chain_name>
(Optional) Database compaction: Stop the node at chain-tip (after syncing is finished) Then
integration mdbx_to_mdbx --chaindata=<your_datadir>/chaindata --chaindata.to=<your_datadir>/chaindata2 --datadir=<any_random_location_for_temp_files>
mv chaindata chaindataOld
mv chaindata2 chaindata
Then restart. The new chaindata may be up to 1/3 of the size of the old (Bonus!). If all goes well, you can delete chaindataOld
rm -rf chaindataOld
Tip: To do the integration commands with docker image, you can always do
docker run -it -v <your_datadir>:/data --entrypoint sh thorax/erigon:devel
Then the value of datadir for integration and mdbx commands is /data on the docker shell, where you can run the above.
N.B. Also, just a reminder, 2.58 originally synced node cannot see much benefit on upgrading (it was also in the release notes of 2.59) The above suggestion would work when upgrading from 2.59.x
by @somnathb1 in https://github.com/ledgerwatch/erigon/pull/10019 https://github.com/ledgerwatch/erigon/pull/9968 https://github.com/ledgerwatch/erigon/pull/9932 https://github.com/ledgerwatch/erigon/pull/9733
Caplin:
Silkworm:
Otterscan:
New:
Bugfixes:
Full Changelog: https://github.com/ledgerwatch/erigon/compare/v2.59.3...v2.60.0
This release sets the Napoli hard fork on the Amoy test net at block #5423600.
Full Changelog: https://github.com/ledgerwatch/erigon/compare/v2.59.2...v2.59.3
This patch release fixes an MDBX size/performance regression introduced in v2.58.0.
--caplin.backfilling
=f… by @Giulio2002 in https://github.com/ledgerwatch/erigon/pull/9820
Full Changelog: https://github.com/ledgerwatch/erigon/compare/v2.59.0...v2.59.1
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>
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.
getTxnByHash
operationTransaction 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 https://github.com/ledgerwatch/erigon/pull/9506
--sync.loop.block.limit
in newHeads notification by @AskAlexSharov in https://github.com/ledgerwatch/erigon/pull/9684
tx.Prefix
iterator for early release memory by @AskAlexSharov in https://github.com/ledgerwatch/erigon/pull/9759
Full Changelog: https://github.com/ledgerwatch/erigon/compare/v2.58.2...v2.59.0
Polygon mainnet users: You must upgrade to this release or later before the Napoli hard fork (March 20th, 2024)
Full Changelog: https://github.com/ledgerwatch/erigon/compare/v2.58.1...v2.58.2
This patch release fixes syncing mainnet from scratch and also Issue #9472.
Full Changelog: https://github.com/ledgerwatch/erigon/compare/v2.58.0...v2.58.1
You must upgrade to this release or later before Dencun on Gnosis Chain (11 Mar) and Ethereum mainnet (13 Mar).
Full Changelog: https://github.com/ledgerwatch/erigon/compare/v2.57.3...v2.58.0
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.
Full Changelog: https://github.com/ledgerwatch/erigon/compare/v2.57.2...v2.57.3
Full Changelog: https://github.com/ledgerwatch/erigon/compare/v2.57.1...v2.57.2