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

eth_estimateUserOperationGas some error #300

Open
boy-good opened this issue Sep 19, 2023 · 1 comment
Open

eth_estimateUserOperationGas some error #300

boy-good opened this issue Sep 19, 2023 · 1 comment

Comments

@boy-good
Copy link

error: {
code: -32500,
data: { OpIndex: 0, Reason: 'AA50 postOp reverted: PM: postOp reverted' },
message: 'AA50 postOp reverted: PM: postOp reverted'
}
my paymaster need approve first, and created the approved calldata, the execution succeeded and then it will do the transferFrom in the postOp method. I actually got the transaction to work, but it returns me an error when using the eth_estimateUserOperationGas. I don't know what's causing this,maybe a bug?

@boy-good
Copy link
Author

boy-good commented Oct 8, 2023

This doesn't seem to solve the problem because it always fails: AA50 postOp reverted: PM: postOp reverted.
when r-l<30000, will end of loop
for r-l >= fallBackBinarySearchCutoff{} , than trigger
if f == 0 { return 0, 0, simErr }
final return error

{
"error": {
"code": -32500,
"data": {
"OpIndex": 0,
"Reason": "AA50 postOp reverted: PM: postOp reverted"
},
"message": "AA50 postOp reverted: PM: postOp reverted"
},
"id": 1694788216,
"jsonrpc": "2.0"
}
@hazim-j

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 a pull request may close this issue.

1 participant