Skip to content

Commit

Permalink
Update standard/ERCs/erc-6900.md
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Egyed <5456061+adamegyed@users.noreply.github.com>
  • Loading branch information
howydev and adamegyed authored Sep 5, 2024
1 parent 57e4656 commit 99a887f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion standard/ERCs/erc-6900.md
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ During execution uninstallation, the account MUST correctly clear flags and othe
#### Execution Hooks Data Format

For accounts that implement execution hooks, accounts **MUST** conform to these execution hook formats:
1. For `executeUserOp` calls, for execution hooks associated with a validator, accounts **MUST** send the full `msg.data`, including the `executeUserOp` selector.
1. For `executeUserOp` calls, for execution hooks associated with a validation function, accounts **MUST** send the full `msg.data`, including the `executeUserOp` selector.
2. For `executeUserOp` calls, for execution hooks associated with a selector, accounts **MUST** send `PackedUserOperation.callData` for `executeUserOp` calls, excluding `executeUserOp.selector` and the rest of the `PackedUserOperation`.
3. For `executeWithAuthorization` calls, for all execution hooks, accounts **MUST** send the inner `data`.
4. For all other calls, for execution hooks associated with a selector, accounts **MUST** send over `msg.data`.
Expand Down

0 comments on commit 99a887f

Please sign in to comment.