Skip to content

Commit 7cd84a1

Browse files
committed
7702: fixup some prose
1 parent f141b99 commit 7cd84a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

EIPS/eip-7702.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
eip: 7702
3-
title: Set EOA account code for one transaction
4-
description: Add a new tx type that sets the code for an EOA during one transaction execution
3+
title: Set EOA account code
4+
description: Add a new tx type that sets the code for an EOA during execution
55
author: Vitalik Buterin (@vbuterin), Sam Wilson (@SamWilsn), Ansgar Dietrichs (@adietrichs), Matt Garnett (@lightclient)
66
discussions-to: https://ethereum-magicians.org/t/eip-set-eoa-account-code-for-one-transaction/19923
77
status: Review
@@ -13,7 +13,7 @@ requires: 2718, 2929, 2930, 3541, 3607
1313

1414
## Abstract
1515

16-
Add a new transaction type that adds a list of `[address, nonce, y_parity, r, s]` authorization tuples, and deploy a delegation designator to the signing accounts so calls into the accounts execute the code at associated `address`.
16+
Add a new transaction type that adds a list of `[chain_id, address, nonce, y_parity, r, s]` authorization tuples. For each tuple, write a delegation designator `(0xef0000 ++ address)` to the signing account's code. All code reading operations must load the pointed to by the designator.
1717

1818
## Motivation
1919

@@ -45,7 +45,7 @@ authorization_list = [[chain_id, address, nonce, y_parity, r, s], ...]
4545

4646
The fields `chain_id`, `nonce`, `max_priority_fee_per_gas`, `max_fee_per_gas`, `gas_limit`, `destination`, `value`, `data`, and `access_list` of the outer transaction follow the same semantics as [EIP-1559](./eip-1559.md).
4747

48-
The `authorization_list` is a list of tuples that store the address to code which the signer desires to point to from their EOA.
48+
The `authorization_list` is a list of tuples that store the address to code which the signer desires to execute in the context of their EOA.
4949

5050
The [EIP-2718](./eip-2718.md) `ReceiptPayload` for this transaction is `rlp([status, cumulative_transaction_gas_used, logs_bloom, logs])`.
5151

@@ -155,7 +155,7 @@ Specifically:
155155
* The "code pathways" that are used are code pathways that would, in many cases (though perhaps not all), continue to "make sense" in a pure-smart-contract-wallet world.
156156
* Hence, it avoids the problem of "creating two separate code ecosystems", because to a large extent they would be the same ecosystem. There would be some workflows that require kludges under this solution that would be better done in some different "more native" under "endgame AA", but this is relatively a small subset.
157157
* It does not require adding any opcodes, that would become dangling and useless in a post-EOA world.
158-
* It allows EOAs to temporarily convert themselves into contracts to be included in ERC-4337 bundles, in a way that's compatible with the existing `EntryPoint`.
158+
* It allows EOAs to masquerade as contracts to be included in ERC-4337 bundles, in a way that's compatible with the existing `EntryPoint`.
159159
* Once this is implemented, allowing EOAs to migrate permanently is "only one line of code": just add a flag to not set the code back to empty at the end.
160160

161161
## Backwards Compatibility

0 commit comments

Comments
 (0)