go-ethereum/rollup/da_syncer
Jonas Theis 7de11edcd9
feat(L1 follower and rollup verifier): support CodecV7 in L1 follower mode and rollup verifier (#1105)
* port changes from #1013

* port changes from #1068

* go.mod tidy

* fix compile error

* fix goimports

* fix log

* address review comments

* upgrade golang.org/x/net to 0.23.0

* port changes from #1018

* fix tests and linter errors

* address review comments

* refactor rollup sync service / verifier to use CalldataBlobSource to retrieve data from L1

* add configuration and initialize blob clients

* fix unit tests

* remove unused code

* address review comments

* address more review comments

* implement first version of new da-codec and to handle multiple batches submitted in one transaction

* add CommitBatchDAV7 and handle multiple commit events submitted in a single transactions

* fix bug due to previous batch being empty when processing the first batch within a set of batches

* Allow using MPT

* update to latest da-codec

* add field to CommittedBatchMeta to store LastL1MessageQueueHash for CodecV7 batches

* adjust rollup verifier to support CodecV7 batches

* address review comments

* fix issues after merge

* go mod tidy

* fix unit tests

* update da-codec

* add test TestValidateBatchCodecV7

* go mod tidy

* do not log error on shutdown

* add sanity check for version to deserialization of committedBatchMetaV7

* chore: auto version bump [bot]

* address review comments

* chore: auto version bump [bot]

---------

Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
Co-authored-by: Thegaram <Thegaram@users.noreply.github.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2025-02-13 10:28:21 +01:00
..
blob_client feat: L1Reader (#1099) 2025-01-21 09:30:19 +08:00
da feat(L1 follower and rollup verifier): support CodecV7 in L1 follower mode and rollup verifier (#1105) 2025-02-13 10:28:21 +01:00
serrors feat: follower node sync from DA (#1098) 2024-12-18 17:27:51 +01:00
batch_queue.go feat: follower node sync from DA (#1098) 2024-12-18 17:27:51 +01:00
block_queue.go feat: follower node sync from DA (#1098) 2024-12-18 17:27:51 +01:00
da_queue.go feat(l1 follower): add periodic logs for L1 follower mode sync progress (#1110) 2025-02-04 14:02:17 +01:00
da_syncer.go feat(l1 follower): add periodic logs for L1 follower mode sync progress (#1110) 2025-02-04 14:02:17 +01:00
data_source.go feat(l1 follower): add periodic logs for L1 follower mode sync progress (#1110) 2025-02-04 14:02:17 +01:00
syncing_pipeline.go feat(l1 follower): add periodic logs for L1 follower mode sync progress (#1110) 2025-02-04 14:02:17 +01:00