Skip to content

Commit

Permalink
chore(4337): add -32521 (execution reverted) doc to ERC-4337
Browse files Browse the repository at this point in the history
  • Loading branch information
dancoombs committed Mar 20, 2024
1 parent 8fae866 commit 9edb08b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion erc/ERCS/erc-4337.md
Original file line number Diff line number Diff line change
Expand Up @@ -678,9 +678,16 @@ Still, it might require putting a "semi-valid" signature (e.g. a signature in th

##### Error Codes:

Same as `eth_sendUserOperation`
Same as `eth_sendUserOperation`, with additions.

This operation may also return an error if the inner call to the account contract reverts.

Additional codes:

* **code: -32521** - execution reverted during account call
* The `message` field MAY contain a revert message, if the call reverted with a message.
* The `data` field MAY contain the revert bytes, if the call reverted with contract specific bytes.

#### * eth_getUserOperationByHash

Return a UserOperation based on a hash (userOpHash) returned by `eth_sendUserOperation`
Expand Down

0 comments on commit 9edb08b

Please sign in to comment.