Function: validateUserOp(UserOperation userOp, byte[32] userOpHash)
This validates user operation.
Inputs
userOpControl: Could be controlled by the user.
Constraints: The data should be a valid
UserOperation.Impact: The user operation to be validated.
userOpHashControl: Could be controlled by the user.
Constraints: N/A.
Impact: The hash of the
userOpprovided by the EP.
Branches and code coverage (including function calls)
Intended branches
Test result is correct if it is a single-chain signature.
Test result is correct if it is a multichain signature.
Negative behavior
Validation failed due to signature error.
Validation reverted due to invalid
UserOp.