scroll-v5.2.0
Overview
This release embeds the Scroll Sepolia testnet fork height for Bernoulli, scheduled to go live at block 3747132 (within a few hours after Mon Apr 15 02:30 am UTC). The Bernoulli hard fork upgrade contains the following changes:
- Enable SHA-256 precompile.
- Use EIP-4844 blobs for Data Availability (not part of
l2geth
).
Additionally, this release contains new features and important robustness improvements. This release aims to fix a long-standing bug #592 that would lead to database corruption in rare cases when the L1 endpoint would become temporarily unavailable. When this happens, the best recourse is to re-sync the node. To avoid this, it is recommended to upgrade to this release.
For nodes running on Scroll Sepolia, upgrading is mandatory. On Scroll mainnet, upgrading is optional but recommended.
Compatibility
This release introduces a hard fork upgrade on the Scroll Sepolia testnet. Nodes that are not upgraded will be unable to follow the testnet after the hard fork block.
To follow the Bernoulli upgrade on Scroll Sepolia, simply upgrade your node and run it with the --scroll-sepolia
flag. If you do not use this flag but provide a custom genesis file instead, then you must add "bernoulliBlock": 3747132
to the fork list in genesis.json
.
Please refer to this document for further notes on compatibility.
Notable changes
- #679 and #682 aim to fix a long-standing bug #592 that would lead to database corruption in some rare cases.
- #627 fixes an issue where unexecutable transactions would in certain cases be kept in the transaction pool.
- #636 aims to fix building l2geth on Windows systems.
- #688 enables the Bernoulli hard fork on Scroll Sepolia.
What's Changed
- fix(txpool): revert duplicated l1 data fee check by @colinlyguo in #612
- fix(receipt): L1 message type tx RLP decoding by @colinlyguo in #616
- feat: add mux tracer for native call tracer and native prestate tracers by @HAOYUatHZ in #615
- docs: update README.md by @crzrh in #593
- fix(ethclient): support new cancun fields in header by @colinlyguo in #623
- feat(transactions): support blob tx only in encoding/decoding by @colinlyguo in #626
- ci: fix goimports lint in CI by @Thegaram in #628
- feat: setup configuration for upcoming hard fork and re-enable sha256 precompile by @NazariiDenha in #562
- fix(rollup sync service): remove syscall.Kill by @colinlyguo in #636
- ci: fix blocktraces submodule url by @qezz in #632
- feat: add metric to evm call by @georgehao in #646
- feat: add transactions len metrics of block processer by @georgehao in #650
- fix(txJSON): L1 message type MarshalJSON by @colinlyguo in #630
- feat(ethclient): export
GetTxBlockTraceOnTopOfBlock
&GetNumSkippedTransactions
&GetSkippedTransactionHashes
&GetSkippedTransaction
by @HAOYUatHZ in #644 - feat: re-enable EIP-1559 in Banach hard fork by @Thegaram in #634
- feat(ethclient & gethclient): support blob transaction by @colinlyguo in #661
- chore(docker): make sure the libzkp directory is clean by @omerfirmak in #664
- chore(libzkp): upgrade to v0.9.10, optimize ccc for follower&chunking by @lispc in #676
- fix: ensure L1 messages are stored in db consistently by @Thegaram in #679
- feat: update upcoming fork names by @Thegaram in #680
- fix(zktrie): fix
NewZktrieDatabase
by @HAOYUatHZ in #638 - fix(sync-service): only add queue index when message index is not zero by @colinlyguo in #682
- fix: Check L1DataFee in txpool promoteExecutables and demoteUnexecutables by @vyzo in #627
- feat: add metrics to block validation by @Thegaram in #677
- fix(tracing): disable storage for block_traces by @HAOYUatHZ in #684
- ci: add bump_version bot by @HAOYUatHZ in #538
- feat(rollup-verifier): support codecv1 by @colinlyguo in #678
- fix(state): fix
iterativeDump.OnAccount
by @HAOYUatHZ in #649 - fix(txpool): rollback false optimization by @georgehao in #694
- chore(libzkp): upgrade to v0.9.13, support next hard fork transition by @lispc in #693
- feat(sepolia): enable Bernoulli hard fork by @Thegaram in #688
New Contributors
- @crzrh made their first contribution in #593
- @qezz made their first contribution in #632
- @omerfirmak made their first contribution in #664
Full Changelog: scroll-v5.1.10...scroll-v5.2.0