-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
why there are 3 transactions in Block 0, but there no transactionReceipts of these 3 transactions? #6156
Comments
@PikaZ76 transactionReceipts feature was not there at the beginning, so if one node is started using the snapshot, it is possible that there is no transactionReceipts for the earliest blocks. If you want to get the receipt of transaction in all blocks. you need to start a node and make it sync and process from the very first block, and it will take lots of time. |
thanks~ |
@ferdinand026
but other blocks get empty response of
|
Is the data not synchronized properly? |
@ferdinand026 @King31T I tried this after the node started without snapshot and had synced 2,000 blocks. When I sent a request to check Block-0, the API was able to return the block data, which contained 3 transactions. Does this mean the transaction receipt didn't take effect immediately and I need to wait for a specific state for them to apply? |
Is it possible that 'eth_getTransactionReceipt' does not support blocks before its implementation? |
@ferdinand026 yes, you do need to wait for java-tron finish syncing the blocks you required. |
@King31T rpc method eth_getTransactionReceipt is equal to http wallet/getTransactionInfoById. As long as the requested fullnode contains the transaction info it should return correctly. |
@Sunny6889 Got it, Thx. |
@King31T To clarify in more detail:
|
@Sunny6889 |
@King31T Sorry I don't get your question. What do you mean causal relationship? |
I'm new guy and very interesting in Tron, but I notice there are 3 transactions in
block 0
, but can't get transactionReceipts for these transactions,so what happend for transactions in block 0? why the transaction receipts or transaction Info were missed in api ?
jsonrpc call:
we can see there are 3 transactions in this block:
but there are no result for method eth_getTransactionReceipt:
they all get this...
also empty for
wallet/gettransactioninfobyblocknum
by post{"num":0}
:The text was updated successfully, but these errors were encountered: