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

Receipt error for expired user op #1288

Open
andrewliu08 opened this issue Aug 21, 2024 · 0 comments
Open

Receipt error for expired user op #1288

andrewliu08 opened this issue Aug 21, 2024 · 0 comments

Comments

@andrewliu08
Copy link
Contributor

If you go to the send confirm screen, click "HOLD TO SEND", then wait a few minutes before signing the user op with your biometrics, there will be a receipt error with AA22 expired or not due because the user op is expired.

[Base]:x: Receipt error 0xee22380ce3d997878d4f6ee59190012e498c2a24508d1199e462b91d196ed10a - https://basescan.org/tx/0xee22380ce3d997878d4f6ee59190012e498c2a24508d1199e462b91d196ed10a: {"blockHash":"0xe46a997552d925340bf0371196799e8c7b07d0e17bf01ff961682d0e56f6d1b2","blockNumber":"18704942","contractAddress":null,"cumulativeGasUsed":"8331400","effectiveGasPrice":"2345839","from":"0x2a6d311394184eeb6df8fbbf58626b085374ffe7","gasUsed":"598264","l1BaseFeeScalar":"0x8dd","l1BlobBaseFee":"0x1","l1BlobBaseFeeScalar":"0x101c12","l1Fee":"4658610168","l1GasPrice":"723292949","l1GasUsed":"2838","logs":[],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","status":"reverted","to":"0x000000000091a1f34f51ce866bed8983db51a97e","transactionHash":"0xee22380ce3d997878d4f6ee59190012e498c2a24508d1199e462b91d196ed10a","transactionIndex":29,"type":"eip1559","l1FeeScalar":null}

Fix

Before sending the signed user op, check that the user op is not expired with some buffer time. If the user op is expired, show an error message like "Expired. Please try again" to prompt the user to sign a new user op

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

No branches or pull requests

1 participant