500 error when retrieving tx info

such as
http://52.220.198.72:3013/v2/transactions/th_GeHu7HgH3AuVsy1MMp6mxoEECKpXbNcmowHUecUsafKoEQFuE/info

http://18.217.69.24:3013/v2/transactions/th_GeHu7HgH3AuVsy1MMp6mxoEECKpXbNcmowHUecUsafKoEQFuE/info

But I can get the right tx info in my local node(5.10.1 in ubuntu 18.04):

{“call_info”:{“caller_id”:“ak_2g2yq6RniwW1cjKRu4HdVVQXa5GQZkBaXiaVogQXnRxUKpmhS”,“caller_nonce”:457,“contract_id”:“ct_7UfopTwsRuLGFEcsScbYgQ6YnySXuyMxQWhw6fjycnzS5Nyzq”,“gas_price”:1000000000,“gas_used”:95,“height”:406720,“log”:,“return_type”:“revert”,“return_value”:“cb_bU5PTl9ORUdBVElWRV9WQUxVRV9SRVFVSVJFRALBC1g=”}}

Hi @LiuYang.chain,

I see both of those nodes are 5.10.1. Can you please provide some logs from log/aeternity.log and log/crash.log, please?

Thanks to some digging done by @hanssv.chain: this is an actual bug, tracked as Can’t fetch contract call info. It happens on nodes that have garbage collection enabled for calls that were performed at a height that is already GCed. Since we don’t GC call objects, this is a bug, we will fix it soon. We will keep you updated accordingly.

Thanks @LiuYang.chain

2 Likes