textileio / textile

Textile hub services and buckets lib
MIT License
227 stars 45 forks source link

`hub fil info` command help unclear #530

Open andrewxhill opened 3 years ago

andrewxhill commented 3 years ago

when using hub fil storage, I have a record in my results

    {
      "rootCid":  "bafybeidkpodjv5yegpuhxoa6ceyvpqbv6i4zc252gwnhfepskzrc3h3pam",
      "address":  "f3wuju57nqu3dhavcjrja4mykzidqnzsywyeymaqrndv7ldx2b35ndpl3s7um4orvcoruuklai7lkxzqkpfufa",
      "time":  "1613056014",
      "pending":  false,
      "dealInfo":  {
        "proposalCid":  "bafyreihfulf6qyguwcxfyepxhp5guumenpxnzupaalfnt6p7jckgyg6b4a",
        "stateId":  "7",
        "stateName":  "StorageDealActive",
        "miner":  "f09848",
        "pieceCid":  "baga6ea4seaqbld5mdzrlwxbmxsafdn2hswpxd2hji5d45g4zajte74zdbqubyhq",
        "size":  "8522825728",
        "pricePerEpoch":  "80000000000",
        "startEpoch":  "498831",
        "duration":  "522840",
        "dealId":  "1592051",
        "activationEpoch":  "491637",
        "message":  ""
      },
      "transferSize":  "0",
      "dataTransferStart":  "1970-01-01T00:00:00Z",
      "dataTransferEnd":  "1970-01-01T00:00:00Z",
      "sealingStart":  "1970-01-01T00:00:00Z",
      "sealingEnd":  "1970-01-01T00:00:00Z",
      "errMsg":  "",
      "updatedAt":  "2021-02-11T15:06:54.000000603Z"
    }

if i now use that CID for hub fil info i get,

▶ hub fil info bafybeidkpodjv5yegpuhxoa6ceyvpqbv6i4zc252gwnhfepskzrc3h3pam
> Error! Getting storage configs: stored item not found

i can't quite tell why, but maybe just a bit more in the hub fil info cli help string could point out what cids should work here.