Skip to content

Commit

Permalink
Update ERC-7579: fix typo
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
kopy-kat authored Aug 24, 2024
1 parent 9d46ca6 commit 4a5445f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ERCS/erc-7579.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function executeUserOp(PackedUserOperation calldata userOp, bytes32 userOpHash)

The execution mode is a `bytes32` value that is structured as follows:

- callType (1 byte): `0x00` for a single `call`, `0x01` for a batch `call` and `0xff` for `delegatecall`
- callType (1 byte): `0x00` for a single `call`, `0x01` for a batch `call`, `0xfe` for `staticcall` and `0xff` for `delegatecall`
- execType (1 byte): `0x00` for executions that revert on failure, `0x01` for executions that do not revert on failure but implement some form of error handling
- unused (4 bytes): this range is reserved for future standardization
- modeSelector (4 bytes): an additional mode selector that can be used to create further execution modes
Expand All @@ -105,7 +105,7 @@ Here is a visual representation of the execution mode:
| -------- | -------- | ------- | ------------ | ----------- |
| 1 byte | 1 byte | 4 bytes | 4 bytes | 22 bytes |

Accounts are NOT REQUIRED to implement all execution modes. The account MUST declare what modes are supported in `supportsAccountMode` (see below) and if a mode is requested that is not supported by the account, the account MUST revert.
Accounts are NOT REQUIRED to implement all execution modes. The account MUST declare what modes are supported in `supportsExecutionMode` (see below) and if a mode is requested that is not supported by the account, the account MUST revert.

The account MUST encode the execution data the following ways:

Expand Down

0 comments on commit 4a5445f

Please sign in to comment.