-
Notifications
You must be signed in to change notification settings - Fork 6k
Add EIP: Clawback Transactions for EOAs #9405
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
base: master
Are you sure you want to change the base?
Conversation
File
|
| | `clawbackAuth` | `address` | Authorized recovery address (optional) | | ||
| | `data` | `bytes` | Additional transaction data | | ||
| | `accessList` | `List[Tuple[address, List[uint256]]]` | Storage optimization access list | | ||
| | `yParity, r, s` | `uint256` | ECDSA signature fields | |
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.
are you packing this into one field or intend to keep them separate array values in the tx rlp?
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.
Thanks for your input, @g11tech! The fields remain separate conforming to EIP-2718 conventions. Each field is serialized distinctly, this would ensure compatibility with existing Ethereum clients - without requiring modifications to transaction parsing logic.
Are you suggesting a compact encoding or alternative approach for optimization? I’d be happy to discuss further.
|
This should not be a part of the protocol and should live within the logic of a smart contract. I don't any reason to continue this EIP. |
|
The commit 44ee2f3 (as a parent of a241411) contains errors. |
Thanks for your input, @lightclient! I completely understand the perspective that this could be handled at the smart contract level. This is spoken on in the EIP - I encourage you to review the EIP draft - especially the section Hybrid Approach: Combining CeFi & DeFi Security, along with the surrounding discussion on the smart contract alternative and the rationale for a protocol-level approach. I am currently compiling a response to similar concerns raised in the Ethereum Magicians Forum - and I’d love to incorporate any further thoughts you might have. Feel free to add to the discussion there as well. Looking forward to continuing this discussion and refining the best approach together. |
i agree this is best handled at smart contract layer, but if you feel strongly @Leon-Africa about this being on protocol level we can discuss this internally with other EIP editors . please note that any EIP will need to convince other devs in ACD for impl consideration so their feedback should be taken while you are drafting the EIP via eth magician's link |
This EIP introduces a new transaction type (0x05) that enables clawback transactions, allowing senders (or an authorized recovery address) to reclaim funds within a predefined clawback window before final settlement. This enhances security against unauthorized transfers, mistakes, and hacks, while ensuring compatibility with EIP-2718 typed transactions.
Why a New Transaction Type?
Key Features:
Discussions-To: Ethereum Magicians Forum