Skip to content

Commit

Permalink
Rename '_handlePostOp' to '_postExecution'
Browse files Browse the repository at this point in the history
  • Loading branch information
forshtat committed Oct 22, 2023
1 parent ea127b7 commit 3f93724
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/core/EntryPoint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ contract EntryPoint is IEntryPoint, StakeManager, NonceManager, ReentrancyGuard,
}

uint256 actualGas = preGas - gasleft() + opInfo.preOpGas;
collected = _handlePostOp(
collected = _postExecution(
opIndex,
IPaymaster.PostOpMode.postOpReverted,
opInfo,
Expand Down Expand Up @@ -290,7 +290,7 @@ contract EntryPoint is IEntryPoint, StakeManager, NonceManager, ReentrancyGuard,
unchecked {
uint256 actualGas = preGas - gasleft() + opInfo.preOpGas;
// Note: opIndex is ignored (relevant only if mode==postOpReverted, which is only possible outside of innerHandleOp)
return _handlePostOp(0, mode, opInfo, context, actualGas);
return _postExecution(0, mode, opInfo, context, actualGas);
}
}

Expand Down Expand Up @@ -640,7 +640,7 @@ contract EntryPoint is IEntryPoint, StakeManager, NonceManager, ReentrancyGuard,
* @param context - The context returned in validatePaymasterUserOp.
* @param actualGas - The gas used so far by this user operation.
*/
function _handlePostOp(
function _postExecution(
uint256 opIndex,
IPaymaster.PostOpMode mode,
UserOpInfo memory opInfo,
Expand Down

0 comments on commit 3f93724

Please sign in to comment.