v3.2.0
Highlights
Custom Data Availability Support
This release introduces a pluggable interface for custom DA providers. Chains can now implement ICustomDAProofValidator to support alternative data availability solutions beyond the built-in DAS and blob support.
Improved Base Stake Management
Base stake changes are now split into increaseBaseStake and decreaseBaseStake functions. Decreasing stake is restricted to permissioned chains with additional safety checks to prevent fund extraction attacks.
Deterministic Factory Deployment
Factory contracts now deploy to deterministic addresses via Create2, simplifying multi-chain deployments and verification.
Breaking Changes
Interface Changes
IRollupAdmin.setBaseStake(uint256)→decreaseBaseStake(uint256, uint64)+increaseBaseStake(uint256)IRollupEventInbox.rollupInitialized(uint256, string)→rollupInitialized(uint256, string, uint256)
Constructor Changes
RollupCreatornow requires all template parameters at constructionOneStepProverHostIorequirescustomDAValidatoraddress (useaddress(0)for default behavior)
Removed Functionality
BridgeCreator.updateTemplates()andupdateERC20Templates()- templates are now immutableValidatorWalletCreator.setTemplate()- template is now immutableFactoryDeployerHelpercontract removed entirely
What's Changed
- feat: reduce base stake by @yahgwai in #391
- feat: add CustomDA proof validation interface by @Tristan-Wilson in #357
- feat: set optional dataCostEstimate on rollup initialization by @TucksonDev in #388
- feat: use create2 for factory deployment by @godzillaba in #358
- feat: deployOsp script by @gzeoneth in #367
- feat: ResourceConstraintManager by @gzeoneth in #389
- chore: pin precompiles to v50 by @gzeoneth in #394
- docs: update rollup creation instructions by @TucksonDev in #392
- Rename empty genesis assertion hash function by @TucksonDev in #386
New Contributors
- @TucksonDev made their first contribution in #342
- @mkykadir made their first contribution in #381
- @MishkaRogachev made their first contribution in #385
- @Tristan-Wilson made their first contribution in #357
Full Changelog: https://github.com/OffchainLabs/nitro-contracts/compare/v3.1.1..v3.2.0