Hey everyone!
I’ve been diving into the Ceramic world and I’m not sure I am fully understanding how the local node should work. Is it the case that data created using ComposeDB talking to a local Ceramic node should be synchronised to the Clay Testnet and appear in Cerscan?
I am able to read/write to ceramic locally using ComposeDB. The data persists locally and it seems to work fine. My understanding of Ceramic though would be that other users can also access this data from their machines as long as they have a running node to talk to. Is this correct?
I am getting error messages in the local node such as:
[2022-09-01T08:09:03.138Z] WARNING: Anchor failed for commit bagcqcerazpsqearn6zzg5fcwilu3koupdoz35gdz4etf35rva5ndklmusgmq of stream kjzl6hvfrbw6ca3fgrxe8nutu80imgx9a5tquas7r5pdetshpizrh7jmhgz11nd: Request has failed. Commit could not be loaded
This is always the case, I don’t think a commit has been successful. I suspect this might be causing the issues.
I looked a bit into the source of ceramic and logged the anchor status response from the above message:
{"status":4,"streamId":{"_type":2,"_cid":{"code":133,"version":1,"hash":{"0":18,"1":32,"2":203,"3":229,"4":2,"5":2,"6":45,"7":246,"8":114,"9":110,"10":148,"11":86,"12":66,"13":233,"14":181,"15":58,"16":143,"17":27,"18":179,"19":190,"20":152,"21":121,"22":225,"23":38,"24":93,"25":246,"26":53,"27":7,"28":90,"29":53,"30":45,"31":148,"32":145,"33":153}}},"cid":{"code":133,"version":1,"hash":{"0":18,"1":32,"2":203,"3":229,"4":2,"5":2,"6":45,"7":246,"8":114,"9":110,"10":148,"11":86,"12":66,"13":233,"14":181,"15":58,"16":143,"17":27,"18":179,"19":190,"20":152,"21":121,"22":225,"23":38,"24":93,"25":246,"26":53,"27":7,"28":90,"29":53,"30":45,"31":148,"32":145,"33":153}},"message":"Request has failed. Commit could not be loaded"}
Any ideas what the issue here might be?
I’d also appreciate any info on how the nodes are expected to run. If I am running a local node, should this data still be synced to the Ceramic network? I understand we’re to keep a node running for a local index of our composites, but it seems odd if the data is only stored on that node.