From 4a8c824869b6017beef816bcc7caed1e79458015 Mon Sep 17 00:00:00 2001 From: Konrad Date: Tue, 26 Dec 2023 18:54:53 +0100 Subject: [PATCH] Update ERC-4337: Fix typos Merged by EIP-Bot. --- ERCS/erc-4337.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ERCS/erc-4337.md b/ERCS/erc-4337.md index 8ea4afe97b..d5aea7dc64 100644 --- a/ERCS/erc-4337.md +++ b/ERCS/erc-4337.md @@ -379,9 +379,9 @@ While simulating `userOp` validation, the client should make sure that: 1. must not use value (except from account to the entrypoint) 2. must not revert with out-of-gas 3. destination address must have code (EXTCODESIZE>0) or be a standard Ethereum precompile defined at addresses from `0x01` to `0x09` - 4. cannot call EntryPoint's methods, except `depositFor` (to avoid recursion) + 4. cannot call EntryPoint's methods, except `depositTo` (to avoid recursion) 5. `EXTCODEHASH` of every address accessed (by any opcode) does not change between first and second simulations of the op. -6. `EXTCODEHASH`, `EXTCODELENGTH`, `EXTCODECOPY` may not access address with no code. +6. `EXTCODEHASH`, `EXTCODESIZE`, `EXTCODECOPY` may not access address with no code. 7. If `op.initcode.length != 0` , allow only one `CREATE2` opcode call (in the first (deployment) block), otherwise forbid `CREATE2`. Transient Storage slots defined in [EIP-1153](./eip-1153.md) and accessed using `TLOAD` (`0x5c`) and `TSTORE` (`0x5d`) opcodes