go-ethereum/core
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
..
asm Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
bloombits Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
forkid Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
rawdb feat(L1 follower and rollup verifier): support CodecV7 in L1 follower mode and rollup verifier (#1105) 2025-02-13 10:28:21 +01:00
state feat: Add support for L1 MPT (#1104) 2025-02-05 14:57:40 +01:00
stateless feat: Add support for L1 MPT (#1104) 2025-02-05 14:57:40 +01:00
types feat: Add support for L1 MPT (#1104) 2025-02-05 14:57:40 +01:00
vm feat: enable p256Verify in EuclidV2 (#1111) 2025-02-06 16:37:28 +08:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
block_validator.go feat: Add support for L1 MPT (#1104) 2025-02-05 14:57:40 +01:00
block_validator_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
blockchain.go feat: Add support for L1 MPT (#1104) 2025-02-05 14:57:40 +01:00
blockchain_insert.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
blockchain_reader.go feat: add replay blockResult API (#139) 2022-09-20 14:30:57 +08:00
blockchain_repair_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
blockchain_sethead_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
blockchain_snapshot_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
blockchain_test.go feat: Add support for L1 MPT (#1104) 2025-02-05 14:57:40 +01:00
blocks.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
bloom_indexer.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
chain_indexer.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
chain_indexer_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
chain_makers.go feat: Add support for L1 MPT (#1104) 2025-02-05 14:57:40 +01:00
chain_makers_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
dao_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
error.go feat(block_validator): check payload size during block validation (#322) 2023-05-24 15:23:57 +02:00
events.go feat: Sync and relay L1 messages (#350) 2023-06-07 07:24:19 -07:00
evm.go feat: implement and integrate counter-based CCC (#982) 2024-09-04 13:33:51 +03:00
gaspool.go miner: avoid unnecessary work (#15883) 2018-01-15 12:57:06 +02:00
gen_genesis.go set BaseFee to nil (#222) 2023-02-20 22:04:55 -08:00
gen_genesis_account.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
genesis.go feat: Add support for L1 MPT (#1104) 2025-02-05 14:57:40 +01:00
genesis_alloc.go feat: update network configuration (#533) 2023-10-08 16:03:41 +02:00
genesis_test.go feat: Add support for L1 MPT (#1104) 2025-02-05 14:57:40 +01:00
headerchain.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
headerchain_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
mkalloc.go style: revert some formatting (#294) 2023-04-20 17:49:35 +08:00
rlp_test.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
state_prefetcher.go feat: update L1 data fee in Curie hard fork (#755) 2024-05-28 14:12:39 +02:00
state_processor.go feat: implement and integrate counter-based CCC (#982) 2024-09-04 13:33:51 +03:00
state_processor_test.go feat: update L2 base fee formula (#1053) 2024-10-01 13:20:20 -07:00
state_transition.go feat: include L1 message with insufficient balance (#462) 2025-01-22 12:42:05 +01:00
tx_cacher.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
tx_journal.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
tx_list.go feat: txpool pending limit (#1107) 2025-01-29 21:41:58 +01:00
tx_list_test.go feat: update L1 data fee in Curie hard fork (#755) 2024-05-28 14:12:39 +02:00
tx_noncer.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
tx_pool.go feat: txpool pending limit (#1107) 2025-01-29 21:41:58 +01:00
tx_pool_test.go feat: txpool pending limit (#1107) 2025-01-29 21:41:58 +01:00
types.go feat: async ccc checker (#996) 2024-08-23 11:04:12 +03:00