I was passing the wrong parameter. I was entering the value of the “Messages” field obtained by ChainGetBlock.
Now I’m using ChainGetParentMessages to get messages from a tipset. Works for relatively new tipset, but for older ones it returns the error :
“error”:{“code”:1,“message”:“failed to load state tree bafy2bzacecj6erzkudud7ps7jc426wxwshfb4psmw6mzrvwhgd6abmi6bpb2k: failed to load hamt node: blockstore: block not found”}
Could it be that I can’t trace back to tipset beyond a certain date?
same issue!
‘jsonrpc’: ‘2.0’, ‘id’: 1, ‘error’: {‘code’: 1, ‘message’: 'unexpected error during execution: getting block messages for tipset: failed to load state tree at tipset [bafy2bzaceadsjefkmoa3px6yy3domggupoxjfzqymwjptat5gjeejqqdnfl6e]
@D_aixk, to be able to debug this I would need a full request body from you as well as the endpoint you are making this request to, would you be able to provide it?
In ${block} i pass a parent’s CID adding {"/":“CID”}
If I try to request parentmessages of a tipset’s block of height 1554113 like bafy2bzaceahpq2t263xlkh3xjmvcrlbqlhgp5kxogghpun4sdsi3bnfjdgx32 i get an error like the one i posted before
I can confirm Infura is no longer maintaining Filecoin network. Most data are lossy and cannot be used at all. Gotta go back to Gilf nodes, while it only stores the recent data, it is reliable