go-ethereum/core
Jonas Theis 65a0d4e87d
feat(permissionless batches): recovery mode after permissionless batches (#1115)
* 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

* port changes from #1073

* chore: auto version bump [bot]

* address review comments

* add more logs

* disable ENRUpdater if DA sync mode is enabled

* exit pipeline if context is cancelled

* correctly handle override by setting the head of the chain to the parent's height so that created blocks will always become part of canonical chain

* fix error with genesis event being nil

* chore: auto version bump [bot]

* chore: auto version bump [bot]

* goimports

---------

Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com>
Co-authored-by: Thegaram <Thegaram@users.noreply.github.com>
Co-authored-by: jonastheis <jonastheis@users.noreply.github.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2025-02-25 15:25:05 +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: add EIP-7702 (#1112) 2025-02-25 14:56:51 +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 EIP-7702 (#1112) 2025-02-25 14:56:51 +01:00
vm feat: add EIP-7702 (#1112) 2025-02-25 14:56:51 +01:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go feat: add EIP-7702 (#1112) 2025-02-25 14:56:51 +01:00
block_validator.go feat(MessageQueueV2): add reading of MessageQueueV2 and transition logic from V1 to V2 for EuclidV2 (#1108) 2025-02-14 12:57:07 +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(permissionless batches): recovery mode after permissionless batches (#1115) 2025-02-25 15:25:05 +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 EIP-7702 (#1112) 2025-02-25 14:56:51 +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 EIP-7702 (#1112) 2025-02-25 14:56:51 +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: add EIP-7702 (#1112) 2025-02-25 14:56:51 +01: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: add EIP-7702 (#1112) 2025-02-25 14:56:51 +01:00
state_processor.go feat: add EIP-7702 (#1112) 2025-02-25 14:56:51 +01:00
state_processor_test.go feat: add EIP-7702 (#1112) 2025-02-25 14:56:51 +01:00
state_transition.go feat: add EIP-7702 (#1112) 2025-02-25 14:56:51 +01:00
state_transition_test.go feat: add EIP-7702 (#1112) 2025-02-25 14:56:51 +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: add EIP-7702 (#1112) 2025-02-25 14:56:51 +01:00
tx_pool_test.go feat: add EIP-7702 (#1112) 2025-02-25 14:56:51 +01:00
types.go feat: async ccc checker (#996) 2024-08-23 11:04:12 +03:00