stackup-bundler
stackup-bundler copied to clipboard
eth_estimateUserOperationGas some error
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?
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