Skip to content

Conversation

@Leon-Africa
Copy 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?

  • Existing transaction types (EIP-1559, EIP-2930) do not support delayed execution.
  • Clawback transactions require temporary pending status before finalization.
  • A dedicated transaction type (0x05) ensures modularity & future extensibility.

Key Features:

  • Delayed Finalization: Transactions enter a temporary pending state before becoming irreversible.
  • Reversible Within Clawback Window: Senders (or clawbackAuth address) can reclaim funds before finalization.
  • Protocol-Level Enforcement: Handled at the EVM level, reducing reliance on smart contracts for clawbacks.
  • Security Improvements: Protects users from phishing, mistaken transfers, and unauthorized withdrawals.
  • Integration for Wallets & dApps: Wallets can support clawback-enabled transactions; DeFi & CEXs can validate pending clawback states.

Discussions-To: Ethereum Magicians Forum

@Leon-Africa Leon-Africa requested a review from eth-bot as a code owner February 24, 2025 20:26
@github-actions github-actions bot added c-new Creates a brand new proposal s-draft This EIP is a Draft t-core labels Feb 24, 2025
@eth-bot
Copy link
Collaborator

eth-bot commented Feb 24, 2025

File EIPS/eip-7890.md

Requires 1 more reviewers from @g11tech, @lightclient, @SamWilsn

@github-actions github-actions bot added the w-ci Waiting on CI to pass label Feb 24, 2025
@eth-bot eth-bot added e-consensus Waiting on editor consensus e-review Waiting on editor to review labels Feb 24, 2025
| `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 |
Copy link
Contributor

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?

Copy link
Author

@Leon-Africa Leon-Africa Feb 28, 2025

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.

@github-actions github-actions bot added w-ci Waiting on CI to pass and removed w-ci Waiting on CI to pass labels Feb 27, 2025
@github-actions github-actions bot removed the w-ci Waiting on CI to pass label Feb 27, 2025
@lightclient
Copy link
Member

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.

@github-actions github-actions bot added the w-ci Waiting on CI to pass label Feb 27, 2025
@github-actions
Copy link

The commit 44ee2f3 (as a parent of a241411) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot removed the w-ci Waiting on CI to pass label Feb 27, 2025
@Leon-Africa
Copy link
Author

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.

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.

@g11tech
Copy link
Contributor

g11tech commented Jun 24, 2025

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.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c-new Creates a brand new proposal e-consensus Waiting on editor consensus e-review Waiting on editor to review s-draft This EIP is a Draft t-core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants