Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
drortirosh committed Oct 27, 2024
1 parent b917aab commit 92a1369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ERCS/erc-7796.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ it is CPU-intensive to find an optimal ordering of transactions.
* A special key `balance` defines the expected balance of the account.
* A special key `code` defines the expected code of the account.
Use `""` to indicate that address is expected not to have any code.
Use `"0xef01…"` to indicate a specific EIP-7702 delegation.
Use `"0xef01…"` to indicate a specific [EIP-7702](./eip-7702.md) delegation.
* A special key `nonce` defines the expected nonce of the account.
* If the value is **hex string**, it is the known storage root hash of that account.
* If the value is an **object**, then it is a mapping where each member is in the format of `"slot": "value"`.
Expand Down Expand Up @@ -149,7 +149,7 @@ Following is the list of suggested potential mitigation mechanisms:
Repeated rejections of transactions should reduce the allowed rate.
* **Arbitrum**-style protection: Arbitrum implemented this API, but they run the storage validation not only
against the current block, but also into past 2 seconds.
This prevents abusing the API for MEV, while making it viable for ERC-4337 account validation.
This prevents abusing the API for MEV, while making it viable for [ERC-4337](./eip-4337.md) account validation.
* **Fastlane on Polygon** uses it explicitly for ERC-4337,
by checking the submitted UserOperations exist on the public mempool and rejecting the transaction otherwise.

Expand Down

0 comments on commit 92a1369

Please sign in to comment.