Skip to content

validate user op #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

validate user op #29

wants to merge 2 commits into from

Conversation

kumaryash90
Copy link
Member

No description provided.

@kumaryash90 kumaryash90 requested a review from joaquim-verges May 6, 2025 21:51
_payPrefund(missingAccountFunds);
}

function isValidSignature(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

another important thing we were missing :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is quite limited though. Just checking if recovered is this EOA.

PackedUserOperation calldata userOp,
bytes32 userOpHash
) internal virtual returns (uint256 validationData) {
(address signer, bytes memory signature) = abi.decode(userOp.signature, (address, bytes));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this right? dont think signature prepends the address?

Base automatically changed from yash/7702-audit-fixes to main May 20, 2025 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants