Skip to content

core/txpool: support SetCode tx 7702#49

Merged
trantienduchn merged 6 commits intoronin-chain:eip-7702from
trantienduchn:eip-7702-p4
Mar 25, 2025
Merged

core/txpool: support SetCode tx 7702#49
trantienduchn merged 6 commits intoronin-chain:eip-7702from
trantienduchn:eip-7702-p4

Conversation

trantienduchn and others added 4 commits March 24, 2025 09:59
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Co-authored-by: lightclient <lightclient@protonmail.com>
Co-authored-by: buddho <galaxystroller@gmail.com>
Co-authored-by: lightclient <lightclient@protonmail.com>
lock sync.RWMutex
locals map[common.Hash]*types.Transaction
remotes map[common.Hash]*types.Transaction
auths map[common.Address][]common.Hash // All accounts with a pooled authorization
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just my opinion no need to change as I see go-ethereum implements the same logic, I feel like we can make this map[common.Address]int (something like reference count to keep track auth per account). I think []common.Hash is only useful to detect if there is bug in implementation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

useful to detect if there is bug in implementation.

hmm, I cannot make sure there is no bug exists

@trantienduchn trantienduchn merged commit ed539c9 into ronin-chain:eip-7702 Mar 25, 2025
1 check passed
@trantienduchn trantienduchn deleted the eip-7702-p4 branch March 25, 2025 09:26
trantienduchn added a commit to trantienduchn/ronin that referenced this pull request May 21, 2025
Member PRs:
- ronin-chain#32 `core/types: setcode tx type`
- ronin-chain#33 `core/types: transaction NewMessage() add authList`
- ronin-chain#35 `core/vm: update 7702 EVM resolve code & gas estimation`
- ronin-chain#38 `core: state_transition with AuthList`
- ronin-chain#41 `internal, graphql, test: remaining components of 7702`
- ronin-chain#46 `all: refactor names & singner 7702`
- ronin-chain#47 `core/types, test: correct chainId 7702`
- ronin-chain#49 `core/txpool: support SetCode tx 7702`
- ronin-chain#53 `core/state: correct account selfdestruct EIP-6780 (part of 7702)`
- ronin-chain#55 `core/txpool/legacypool: reject gapped tx from delegated account`

---------

Co-authored-by: sonhv0212 <son.ho@skymavis.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Shude Li <islishude@gmail.com>
Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Co-authored-by: buddho <galaxystroller@gmail.com>
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Co-authored-by: rekyyang <511965710@qq.com>
Co-authored-by: sashabeton <23243361+sashabeton@users.noreply.github.com>
Co-authored-by: sashabeton <sashabeton2007@gmail.com>
chiphamskymavis pushed a commit that referenced this pull request May 21, 2025
* pick up ethereum/go-ethereum#31073

Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Felix Lange <fjl@twurst.com>

* pick up ethereum/go-ethereum#31206

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>

* pick up ethereum/go-ethereum#31209

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Co-authored-by: lightclient <lightclient@protonmail.com>

* pick up ethereum/go-ethereum#31249

Co-authored-by: buddho <galaxystroller@gmail.com>
Co-authored-by: lightclient <lightclient@protonmail.com>

* fixup! pick up ethereum/go-ethereum#31249

* fixup! pick up ethereum/go-ethereum#31249

---------

Co-authored-by: lightclient <14004106+lightclient@users.noreply.github.com>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Co-authored-by: lightclient <lightclient@protonmail.com>
Co-authored-by: buddho <galaxystroller@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants