Getting sender not allowed on eth_paymasterAndDataForEstimateGas

Open
#30 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
solidity
Domain
api, blockchain

Research direction

Start by reproducing the POST request to https://paymaster.base.org for eth_paymasterAndDataForEstimateGas and trace how the sender-not-allowed response is handled. The issue names no repository file or test, so first locate the RPC entry point and related tests; done means the intended sender eligibility behavior is confirmed and covered by a passing test.

Written by the indexing model from the issue text.

Description

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)

Dominant language
Solidity
Stars
160
Forks
63
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.