v3.0.2 "Otterly Odyssey"
·
263 commits
to release/3.0
since this release
Description of the change
Gnosis users: this is a required update for the upcoming Pectra hardfork scheduled for 30 April 2025.
Ethereum mainnet users: it's recommended to use this release rather than v3.0.1 for the upcoming Pectra hardfork scheduled for 7 May 2025.
RPC fixes:
Previous versions of Erigon 3 have two bugs regarding handling of state sync events on Polygon chains:
- Incorrect
logIndex
on all state sync transaction logs - Missing log events when using
eth_getLogs
with filters
A proper fix has been implemented and will be progressively rolled out in Erigon 3.1 and 3.2 (track issue here). A temporary workaround has been introduced if these issues are critical for your use-case. This requires regenerating receipts for all transactions on the chain. The procedure is as follows:
- Shutdown Erigon and all rpcdaemon processes
- Update binaries Erigon release
erigon seg rm-state-snapshots --domain=receipt --datadir <your-datadir>
integration stage_custom_trace --datadir <your-datadir> --chain <amoy|bor-mainnet> --bor.heimdall <heimdall-url>
- For machines with many cores, you can add
--exec.workers=<num>
to improve performance (default is7
)
- For machines with many cores, you can add
- Once complete,
rm -rf <your-datadir>/chaindata
- Start Erigon
Improvements:
- Schedule Pectra hard fork for Gnosis Mainnet (#14521) by @somnathb1 in #14523
- params: Use no padding in minor version (#14588) by @somnathb1 in #14594
- recent receipts persistence: to reduce RPC latency by @AskAlexSharov in #14532
- historical
eth_getProof
experimental flag by @Giulio2002 in #14568 - Enhance efficiency of attestation selection (#14624) by @Giulio2002 in #14633
- EngineAPI: recover from missing chain segments (#14579) by @Giulio2002 in #14589
- remove unsafe closing of subsumed files in mergeLoopStep by @sudeepdino008 in #14557
Bugfixes:
- execution: fix missing log notifications when flushing extending fork… by @Giulio2002 in #14578
- EthereumExecution: fix canonical chain routine (#14580) by @Giulio2002 in #14592
- caplin: fix parsing topics (#14543) by @Giulio2002 in #14593
- Fix
trace_transaction
for Polygon chains (#14470) by @shohamc1 in #14530
Full Changelog: v3.0.1...v3.0.2