Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant