-
Notifications
You must be signed in to change notification settings - Fork 27
core/txpool: support SetCode tx 7702 #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core/txpool: support SetCode tx 7702 #49
Conversation
Co-authored-by: lightclient <[email protected]> Co-authored-by: Marius van der Wijden <[email protected]> Co-authored-by: Felix Lange <[email protected]>
Co-authored-by: Marius van der Wijden <[email protected]>
Co-authored-by: rjl493456442 <[email protected]> Co-authored-by: lightclient <[email protected]>
Co-authored-by: buddho <[email protected]> Co-authored-by: lightclient <[email protected]>
7009548 to
6d0e162
Compare
| 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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
4575efb to
67cf9a5
Compare
67cf9a5 to
2d83caf
Compare
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 <[email protected]> Co-authored-by: Martin Holst Swende <[email protected]> Co-authored-by: Felix Lange <[email protected]> Co-authored-by: Shude Li <[email protected]> Co-authored-by: lightclient <[email protected]> Co-authored-by: Marius van der Wijden <[email protected]> Co-authored-by: rjl493456442 <[email protected]> Co-authored-by: buddho <[email protected]> Co-authored-by: rjl493456442 <[email protected]> Co-authored-by: rekyyang <[email protected]> Co-authored-by: sashabeton <[email protected]> Co-authored-by: sashabeton <[email protected]>
* pick up ethereum/go-ethereum#31073 Co-authored-by: lightclient <[email protected]> Co-authored-by: Marius van der Wijden <[email protected]> Co-authored-by: Felix Lange <[email protected]> * pick up ethereum/go-ethereum#31206 Co-authored-by: Marius van der Wijden <[email protected]> * pick up ethereum/go-ethereum#31209 Co-authored-by: rjl493456442 <[email protected]> Co-authored-by: lightclient <[email protected]> * pick up ethereum/go-ethereum#31249 Co-authored-by: buddho <[email protected]> Co-authored-by: lightclient <[email protected]> * fixup! pick up ethereum/go-ethereum#31249 * fixup! pick up ethereum/go-ethereum#31249 --------- Co-authored-by: lightclient <[email protected]> Co-authored-by: Marius van der Wijden <[email protected]> Co-authored-by: Felix Lange <[email protected]> Co-authored-by: rjl493456442 <[email protected]> Co-authored-by: lightclient <[email protected]> Co-authored-by: buddho <[email protected]>
From