base-org / paymaster

MIT License
139 stars 46 forks source link

Getting sender not allowed on eth_paymasterAndDataForEstimateGas #30

Open khemraj-indorse opened 7 months ago

khemraj-indorse commented 7 months ago

This is my request: {"method":"eth_paymasterAndDataForEstimateGas","params":[{"sender":"0xbEd01E63e2B4a45a46466276F35885229056389b","nonce":"0x0","initCode":"0x","callData":"0x519454470000000000000000000000002429eb38cb9b456160937e11aefc80879a2d2712000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","callGasLimit":"0x1","verificationGasLimit":"0x1","preVerificationGas":"0x1","maxFeePerGas":"0x1","maxPriorityFeePerGas":"0x1","paymasterAndData":"0x","signature":"0x000000005f22f445bccb13b9701579bea0323bf758e7189b6554dbde27ed5ed867effac648e1f2c6708676c37bf364e35c9a9655c6fcb046adae5f20e27a93eda702a67e1b"},"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789","0x2105"],"id":42,"jsonrpc":"2.0"}', requestMethod: 'POST', url: 'https://paymaster.base.org', level: 'error', message: 'ERROR::getPaymentSposorship: processing response error (body="{\\"jsonrpc\\":\\"2.0\\",\\"id\\":42,\\"error\\":{\\"code\\":-32000,\\"message\\":\\"sender not allowed\\"}}\\n", error={"code":-32000}, requestBody="{\\"method\\":\\"eth_paymasterAndDataForEstimateGas\\",\\"params\\":[{\\"sender\\":\\"0xbEd01E63e2B4a45a46466276F35885229056389b\\",\\"nonce\\":\\"0x0\\",\\"initCode\\":\\"0x\\",\\"callData\\":\\"0x519454470000000000000000000000002429eb38cb9b456160937e11aefc80879a2d2712000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\\",\\"callGasLimit\\":\\"0x1\\",\\"verificationGasLimit\\":\\"0x1\\",\\"preVerificationGas\\":\\"0x1\\",\\"maxFeePerGas\\":\\"0x1\\",\\"maxPriorityFeePerGas\\":\\"0x1\\",\\"paymasterAndData\\":\\"0x\\",\\"signature\\":\\"0x000000005f22f445bccb13b9701579bea0323bf758e7189b6554dbde27ed5ed867effac648e1f2c6708676c37bf364e35c9a9655c6fcb046adae5f20e27a93eda702a67e1b\\"},\\"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789\\",\\"0x2105\\"],\\"id\\":42,\\"jsonrpc\\":\\"2.0\\"}", requestMethod="POST", url="https://paymaster.base.org", code=SERVER_ERROR, version=web/5.7.1)

wbnns commented 7 months ago

@khemraj-indorse

Thanks for taking the time to open this issue! We've added this to our backlog, pending to be reviewed.

WNorth97 commented 2 months ago

Hello, is there something wrong with my verification or something cdp_api_key.json.txt