kardiachain / go-kardia

Golang implementation of KardiaChain Decentralize Network
https://kardiachain.io
GNU Lesser General Public License v3.0
33 stars 18 forks source link

use tx_getTransactionReceipt err: not found #232

Open LXHLeaner opened 2 years ago

LXHLeaner commented 2 years ago

When you use this method tx_getTransactionReceipt,it keep getting errors is "not found" ,How to solve this problem?

barryz commented 1 year ago

We found the same problem.

Issue request:

'{
  "jsonrpc": "2.0",
  "method": "eth_getTransactionReceipt",
  "id": 10086,
  "params": [
    "0x6ecb79aa926905cef254b2300153598abbbd26a95156a5ed7a6e5306490bf6b8"
  ]
}'

Error log: ERROR[04-28|02:16:10.749] Invalid receipt array RLP hash="89aa9d…60a0c7" err="rlp: too few elements for types.storageBlockInfo"

trinhdn97 commented 1 year ago

@barryz @LXHLeaner We are fixing these kinds of legacy client errors like this, please use this staging mainnet RPC endpoint https://kai-sync-2.kardiachain.io instead. We will notify you guys after when the problem get fixed on official RPC endpoints. For example:

curl --location 'https://kai-sync-2.kardiachain.io/' \
--header 'Content-Type: application/json' \
--data '{
    "jsonrpc": "2.0",
    "method": "eth_getTransactionReceipt",
    "params": [
        "0x6ecb79aa926905cef254b2300153598abbbd26a95156a5ed7a6e5306490bf6b8"
    ],
    "id": 1
}'