Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid JSON RPC representation for pending blob transactions #9475

Closed
k1rill-fedoseev opened this issue Feb 21, 2024 · 0 comments · Fixed by #9668
Closed

Invalid JSON RPC representation for pending blob transactions #9475

k1rill-fedoseev opened this issue Feb 21, 2024 · 0 comments · Fixed by #9668
Assignees

Comments

@k1rill-fedoseev
Copy link

System information

Erigon version: v2.57.3

OS & Version: Linux

Chain/Network: goerli

Expected behaviour

eth_getTransactionByHash and txpool_content should return correct data for pending blob transactions.

Actual behaviour

Several fields are incorrectly set to null: v, r, s.
Some fields are missing: chainId, maxFeePerGas, maxPriorityFeePerGas, maxFeePerBlobGas, blobVersionedHashes
Some fields are invalid: from

$ curl -X POST -H "Content-Type: application/json" --data '[{"jsonrpc":"2.0","method":"eth_getTransactionByHash", "params":["0xe2c7464f0663f7a68e2cb1efd204c890c8678a6a9a8346eb3600d7ff64d3beb1"], "id": 1},{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}]' https://rpc.ankr.com/eth_goerli | jq
[
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
      "blockHash": null,
      "blockNumber": null,
      "from": "0x0000000000000000000000000000000000000000",
      "gas": "0x5208",
      "hash": "0xe2c7464f0663f7a68e2cb1efd204c890c8678a6a9a8346eb3600d7ff64d3beb1",
      "input": "0x",
      "nonce": "0x6907",
      "to": "0x1803c760451dc8da8935c7b7e47e1c60910e6986",
      "transactionIndex": null,
      "value": "0x0",
      "type": "0x3",
      "v": null,
      "r": null,
      "s": null
    }
  },
  {
    "jsonrpc": "2.0",
    "id": 2,
    "result": "erigon/2.57.3/linux-amd64/go1.21.6"
  }
]

Steps to reproduce the behaviour

Query RPC for any pending blob transaction with type 0x3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants