Skip to content
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

Handle invalid paymaster signature for biconomy paymaster #38

Merged
merged 3 commits into from
Jan 15, 2024

Conversation

tomarsachin2271
Copy link
Contributor

In case the paymaster verification fails on chain and EP returns AA34 error, it means that signature was not verified by the Paymaster properly. In that case we need to check if the singer recovered from the paymaster signature and hash is the expected signer on paymaster.

In this case, we need to return decoded error in paymasterInfo as well to have better visibility to the developers.

Added DecodedError type field in PaymasterInfo as well to return this decoded error from paymaster.

@iamonuwa iamonuwa merged commit 49cd149 into main Jan 15, 2024
2 checks passed
@iamonuwa iamonuwa deleted the feat/handle-invalid-pnd branch January 15, 2024 14:23
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