Skip to content

Darwin (v1.0.0)

Latest
Compare
Choose a tag to compare
@Thegaram Thegaram released this 05 Aug 07:34
· 2 commits to main since this release
v1.0.0
7bb751f

Overview

The Darwin upgrade introduces a new concept bundle: a list of batches finalized with a single aggregated proof.

Main changes:

  • Introduce BatchHeaderV3Codec with 2 new fields added (lastBlockTimestamp, blobDataProof) and one field removed (skippedL1MessageBitmap).
  • Process messages in L1MessageQueue during commit step (previously done during the finalize step).
  • Introduce a new on-chain verifier public input format in IZkEvmVerifierV2, and adopt it in MultipleVersionRollupVerifier.
  • In ScrollChain, introduce two new methods commitBatchWithBlobProof and finalizeBundleWithProof to handle V3 batches and bundles.

The circuit and contract changes have been audited by Trail of Bits.

Compatibility

  • Dapps and indexers that decode on-chain batch header data should use the new codec and function signature.
  • Dapps and indexers that track finalization status should ensure that they correctly interpret the emitted FinalizeBatch event as "all batches have been finalized up to and including this batch index".

What's Changed

Full Changelog: https://github.com/scroll-tech/scroll-contracts/commits/v1.0.0