Skip to content

Commit

Permalink
Update EIPS/eip-7702.md
Browse files Browse the repository at this point in the history
Co-authored-by: g11tech <[email protected]>
  • Loading branch information
jochem-brouwer and g11tech authored Jul 26, 2024
1 parent f61f939 commit 034c458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EIPS/eip-7702.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Unlike previous versions of this EIP and EIPs similar, the delegation designatio

### Explicit `tx.origin` signing

A signer might desire that only a specific EOA account sends the EIP-7702 transaction. If this is the case, the signer should set the `tx_origin` field of the authority list to that address. If any EOA account is allowed to send the authority transaction, the `tx_origin` field should be set to `null` (empty bytes). Note that without `tx.origin`, once a EIP-7702 transaction enters the transaction pool, this delegation authority is now immediately available to all accounts, and could thus lead to undesired or unwanted results such as being frontran by MEV.
A signer might desire that only a specific EOA account sends the EIP-7702 transaction. If this is the case, the signer should set the `tx_origin` field of the authority list to that address. If any EOA account is allowed to send the authority transaction, the `tx_origin` field should be set to `null` (empty bytes). Note that without `tx.origin`, once a EIP-7702 transaction enters the transaction pool, this delegation authority is now immediately available to all accounts, and could thus lead to undesired or unwanted results such as being frontrun by MEV.

### Self-sponsoring: allowing `tx.origin` to set code

Expand Down

0 comments on commit 034c458

Please sign in to comment.