Skip to content

Commit

Permalink
correct the indention of erc-4337 doc
Browse files Browse the repository at this point in the history
  • Loading branch information
andysim3d committed Aug 14, 2024
1 parent 929be17 commit f24ff69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ERCS/erc-4337.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ The entry point's `handleOps` function must perform the following steps (we firs
In the execution loop, the `handleOps` call must perform the following steps for each `UserOperation`:

* **Call the account with the `UserOperation`'s calldata**. It's up to the account to choose how to parse the calldata; an expected workflow is for the account to have an `execute` function that parses the remaining calldata as a series of one or more calls that the account should make.
* If the calldata starts with the methodsig `IAccountExecute.executeUserOp`, then the EntryPoint must build a calldata by encoding `executeUserOp(userOp,userOpHash)` and call the account using that calldata.
* If the calldata starts with the methodsig `IAccountExecute.executeUserOp`, then the EntryPoint must build a calldata by encoding `executeUserOp(userOp,userOpHash)` and call the account using that calldata.
* After the call, refund the account's deposit with the excess gas cost that was pre-charged.\
A penalty of `10%` (`UNUSED_GAS_PENALTY_PERCENT`) is applied on the amount of gas that is refunded.\
This penalty is necessary to prevent the UserOps from reserving large parts of the gas space in the bundle but leaving it unused and preventing the bundler from including other UserOperations.
Expand Down

0 comments on commit f24ff69

Please sign in to comment.