go-ethereum/common
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
..
backoff feat: follower node sync from DA (#1098) 2024-12-18 17:27:51 +01:00
bitutil Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
compiler common/compiler: fix parsing of solc output with solidity v.0.8.0 (#22092) 2021-01-05 14:48:22 +01:00
fdlimit all: add go:build lines (#23468) 2021-08-25 18:46:29 +02:00
hexutil feat: add EIP-7702 (#1112) 2025-02-25 14:56:51 +01:00
math style: revert some formatting (#294) 2023-04-20 17:49:35 +08:00
mclock common/mclock: remove dependency on github.com/aristanetworks/goarista (#22211) 2021-01-22 20:15:27 +01:00
prque style: revert some formatting (#294) 2023-04-20 17:49:35 +08:00
big.go core, vm, common: define constantinople fork + shift (#16045) 2018-02-23 12:32:57 +02:00
bytes.go common: remove ToHex and ToHexArray (#21610) 2020-11-04 11:20:39 +01:00
bytes_test.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
debug.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
format.go common, core, light: add block age into info logs 2018-09-20 12:56:35 +03:00
heap.go feat: follower node sync from DA (#1098) 2024-12-18 17:27:51 +01:00
heap_test.go feat: follower node sync from DA (#1098) 2024-12-18 17:27:51 +01:00
heapmap.go feat: L1Reader (#1099) 2025-01-21 09:30:19 +08:00
path.go common: improve documentation comments (#16701) 2018-05-29 12:42:21 +02:00
shrinkingmap.go feat: L1Reader (#1099) 2025-01-21 09:30:19 +08:00
shrinkingmap_test.go feat: follower node sync from DA (#1098) 2024-12-18 17:27:51 +01:00
size.go core, cmd, vendor: fixes and database inspection tool (#15) 2019-05-16 10:39:34 +03:00
size_test.go cmd/utils, eth: relinquish GC cache to read cache in archive mode 2019-02-07 14:36:25 +02:00
test_utils.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
timer.go feat: add more state_transition, worker, and tracing metrics (#700) 2024-04-16 16:05:21 +08:00
types.go zktrie part2: add zktrie; allow switch trie type by config; (#113) 2022-06-27 11:17:02 +08:00
types_test.go common: improve printing of Hash and Address (#21834) 2020-12-08 19:19:09 +01:00