stackup-bundler icon indicating copy to clipboard operation
stackup-bundler copied to clipboard

eth_estimateUserOperationGas some error

Open boy-good opened this issue 2 years ago • 1 comments

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 avatar Sep 19 '23 14:09 boy-good

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

boy-good avatar Oct 08 '23 06:10 boy-good