Skip to content

Calling the eth_getTransactionReceipt method yielded different results  #28938

@J1a-wei

Description

@J1a-wei

Version

geth: v1.13.11
prysm: v4.2.1

Question

Hi team, I deployed two sets of nodes on sepolia and called eth_getTransactionReceipt, resulting in two surprising outcomes. I checked the block height synchronization of both nodes, and they are in the latest state. Could it be a consensus issue between these two nodes?
The transaction hash I queried is: 0xc6268be12c9e8e2afaec8d92753646aef2121a019a883b8292b9f2b180a0d750.

When accessing different nodes, I obtained two sets of data:

A Node

{"jsonrpc":"2.0","id":353,"result":{"blockHash":"0xc3d57467eb85e9d42c6f2e8d3e99316f29efba999e077a7b82e5a801e33f0e2b","blockNumber":"0x4fc7c8","contractAddress":null,"cumulativeGasUsed":"0x5208","effectiveGasPrice":"0x34721aa8c","from":"0xb756d166b4dd40690e64b3d4dbef4c8bea7bd096","gasUsed":"0x5208","logs":[],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","status":"0x1","to":"0x998a7851e153d5dea228ab1cc392ebfd6a508e56","transactionHash":"0xc6268be12c9e8e2afaec8d92753646aef2121a019a883b8292b9f2b180a0d750","transactionIndex":"0x0","type":"0x2"}}

B Node

{"jsonrpc":"2.0","id":353,"result":{"blockHash":"0x6b0b39b4367f1ca103a5f9b12dc292b7642bebba081fd20205cfbd61eb75e6a9","blockNumber":"0x4fc7c8","contractAddress":null,"cumulativeGasUsed":"0x5208","effectiveGasPrice":"0x34721aa8c","from":"0xb756d166b4dd40690e64b3d4dbef4c8bea7bd096","gasUsed":"0x5208","logs":[],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","status":"0x1","to":"0x998a7851e153d5dea228ab1cc392ebfd6a508e56","transactionHash":"0xc6268be12c9e8e2afaec8d92753646aef2121a019a883b8292b9f2b180a0d750","transactionIndex":"0x0","type":"0x2"}}

etherscan: https://sepolia.etherscan.io/tx/0xc6268be12c9e8e2afaec8d92753646aef2121a019a883b8292b9f2b180a0d750

The results obtained contain discrepancies, and I'm unsure why such inconsistencies are occurring.

How can I avoid incorrect results, and are there alternative methods for verification?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions