Skip to content

Commit 6f1ff42

Browse files
committed
fix title
1 parent a10cec8 commit 6f1ff42

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed
Binary file not shown.

public/content/roadmap/pectra/7702/index.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ description: Learn more about 7702 in the Pectra release
44
lang: en
55
---
66

7-
# Pectra 77O2
7+
# Pectra 7702
88

9-
## Abstract {#abstract}
10-
11-
![7702 diagram](7702_diagram.png)
9+
## Abstract
1210

1311
EIP 7702 defines a mechanism to add code to an EOA. This proposal allows EOAs, the legacy ethereum accounts, to receive short-term functionality improvements, increasing the usability of applications. This is done by setting a pointer to already deployed code using a new transaction type: 4.
1412

@@ -83,7 +81,7 @@ Cons of the Proxy Pattern:
8381

8482
For smart contract developers, it's no longer safe to assume that `tx.origin` refers to an EOA. Likewise, using `msg.sender == tx.origin` as a safeguard against reentrancy attacks is no longer a reliable strategy.
8583

86-
Going forward, developers should design with the assumption that any participant in the system could be a smart contract. Alternatively they could implement explicit reentrancy protection using reentrancy guards with a `nonReentrant` modifier patterns. We recommend following an audited modifier e.g [Open Zeppelin Reentrancy Guard](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/ReentrancyGuard.sol). They could also use a [transient storage variable](https://docs.soliditylang.org/en/latest/internals/layout_in_storage.html).
84+
Going forward, developers should design with the assumption that any participant in the system could be a smart contract. Alternatively they could implement explicit reentrancy protection using reentrancy guards with a `nonReentrant` modifier patterns. We recommend following an audited modifier e.g [Open Zeppelin's Reentrancy Guard](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/ReentrancyGuard.sol). They could also use a [transient storage variable](https://docs.soliditylang.org/en/latest/internals/layout_in_storage.html).
8785

8886
**Initialization Security Considerations**
8987

0 commit comments

Comments
 (0)