go-ethereum/core/rawdb
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
..
testdata core/rawdb: avoid unnecessary receipt processing for log filtering (#23147) 2021-09-28 12:54:49 +02:00
accessors_chain.go feat: add EIP-7702 (#1112) 2025-02-25 14:56:51 +01:00
accessors_chain_test.go feat: add EIP-7702 (#1112) 2025-02-25 14:56:51 +01:00
accessors_da_syncer.go feat: follower node sync from DA (#1098) 2024-12-18 17:27:51 +01:00
accessors_indexes.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
accessors_indexes_test.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
accessors_l1_message.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
accessors_l1_message_test.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
accessors_metadata.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
accessors_rollup_event.go feat(L1 follower and rollup verifier): support CodecV7 in L1 follower mode and rollup verifier (#1105) 2025-02-13 10:28:21 +01:00
accessors_rollup_event_test.go feat(L1 follower and rollup verifier): support CodecV7 in L1 follower mode and rollup verifier (#1105) 2025-02-13 10:28:21 +01:00
accessors_row_consumption.go feat: implement and integrate counter-based CCC (#982) 2024-09-04 13:33:51 +03:00
accessors_row_consumption_test.go feat(rollup): add circuits capacity checker (#321) 2023-08-01 13:52:31 +08:00
accessors_skipped_txs.go feat(tx-pool): fast reject known skipped txs (#1004) 2024-08-26 22:48:44 +08:00
accessors_skipped_txs_test.go feat(api/rawdb): allow storing traces for skipped txs (#500) 2023-09-05 11:03:15 +08:00
accessors_snapshot.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
accessors_state.go feat: Add support for L1 MPT (#1104) 2025-02-05 14:57:40 +01:00
chain_iterator.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
chain_iterator_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
database.go fix: use non-overlapping DB prefix for L1 messages (#532) 2023-10-04 19:28:26 +02:00
database_test.go eth/protocols/snap: generate storage trie from full dirty snap data (#22668) 2021-04-27 17:19:59 +03:00
freezer.go style: revert some formatting (#294) 2023-04-20 17:49:35 +08:00
freezer_batch.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
freezer_table.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
freezer_table_test.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
freezer_test.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
schema.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
table.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
table_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00