go-ethereum/core
colin 60cbf64f9c
feat: add EIP-7702 (#1112)
* feat: add EIP-7702

* fix goimport

* add unit tests

* add api test

* sync txpool update

* update generated code

* make code readable

* fix goimport

* fix TestAsyncChecker unit test

* add AuthorizationList in fuzz tests for completeness sake

* add EuclidV2 test, EIP-7702 transaction in TestT8n

* clean up logs

* bump version

* fix TestAsyncChecker

* Revert "fix TestAsyncChecker"

This reverts commit 314478303d4a504a3948bd6595568916ba7d82f0.

* accept eip-7702 txns only after enabling eip-7702

* revert IntrinsicGas param name from setCodeAuthorizations to authList

* fix a bug

* align upstream implementation in Encoding Receipts

* fix one test case

* fix tracer

* return precode copy

* support setcode tx in EstimateGas and add unit tests

* add TestValidateAuthorizations

* poseidon hash fix

* migrate a fix before the fix pr is merged

* support setcode type transactions in TransactionData

* chore: auto version bump [bot]

* add a nonce-gapped-auth-does-not-block-pending-tx unit test

* make the auth invalid

* Apply suggestions from code review

* change usedAndLeftSlots and knownConflicts to util functions

* add comments about different return of applyAuthorization

* remove gencodec:required in transaction signatures

* fix goimport

* update StructLogger and AccessListTracer

* fix a bug

* fix flaky test

---------

Co-authored-by: colinlyguo <colinlyguo@users.noreply.github.com>
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
2025-02-25 14:56:51 +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: add EIP-7702 (#1112) 2025-02-25 14:56:51 +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