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

Transaction Receipts null returned #22653

Closed
lukerQuant opened this issue Apr 12, 2021 · 2 comments
Closed

Transaction Receipts null returned #22653

lukerQuant opened this issue Apr 12, 2021 · 2 comments
Labels

Comments

@lukerQuant
Copy link

System information

Geth version: 1.10.1
OS & Version: OSX
Commit hash : release

Attempted with light node and full node fast sync

Expected behaviour

Can get recent and historical transaction receipts

Actual behaviour

We only get recent transaction receipts. E.g. transaction receipt searches for transactions occurring a couple of years ago return null.

I would at expect transaction receipts to be returned via at least full node fast sync as they "downloads all blocks (including headers, transactions and receipts)" (https://ethereum.org/en/developers/docs/nodes-and-clients/) . If this is not the intended behaviour of certain nodes then the documentation of https://ethereum.org/en/developers/docs/nodes-and-clients/ should be updated.

Steps to reproduce the behaviour

Query for an transactionReceipt of an old transaction on a light or full node (fast synced)

@MariusVanDerWijden
Copy link
Member

Hmm the receipts should be written during fast sync. It might be that due to transaction unindexing the old receipts are not available anymore. You can disable transaction unindexing with --txlookuplimit=0 as discussed here: https://blog.ethereum.org/2021/03/03/geth-v1-10-0/

@lukerQuant
Copy link
Author

Many thanks for the information. We missed that geth upgrade detail. We will clarify it but I will assume that is the problem for now. So I will close this.

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

No branches or pull requests

2 participants