grant-hub icon indicating copy to clipboard operation
grant-hub copied to clipboard

[660] Adds createdAt and updatedAt to project graph

Open DanieleSalatti opened this issue 2 years ago • 6 comments

DO NOT MERGE: once I get this approved I will update all deployed graphs before merging this

Closes #660

DanieleSalatti avatar Dec 15 '22 00:12 DanieleSalatti

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: ea752ad
Status: ✅  Deploy successful!
Preview URL: https://fd0edc84.grant-hub.pages.dev
Branch Preview URL: https://feature-660-add-createdat-up.grant-hub.pages.dev

View logs

Deployed on Goerli.

Test query:

{
  projects(first: 5) {
    id
    accounts {
      id
    }
    metaPtr {
      id
    }
    createdAt
    updatedAt
  }
}

Result:

{
  "data": {
    "projects": [
      {
        "id": "0x0",
        "accounts": [
          {
            "id": "FRHWWD9GyGpU1FWdyBXtiGdqarXvvEmkT6uo6RiFdh3p"
          }
        ],
        "metaPtr": {
          "id": "0x0"
        },
        "createdAt": "1661422452",
        "updatedAt": "1670934492"
      },
      {
        "id": "0x1",
        "accounts": [
          {
            "id": "CRUMfGX9LM57F2nPf6WSyqfUf1bZVcPNra3YxcwkasJx"
          }
        ],
        "metaPtr": {
          "id": "0x1"
        },
        "createdAt": "1661422704",
        "updatedAt": "1669655100"
      },
      {
        "id": "0x10",
        "accounts": [
          {
            "id": "ALbuwKU8PUNt992QwEV96GKXtBsWmhKbbNW127P5aU6j"
          }
        ],
        "metaPtr": {
          "id": "0x10"
        },
        "createdAt": "1663183452",
        "updatedAt": "1663183452"
      },
      {
        "id": "0x11",
        "accounts": [
          {
            "id": "Giv4DTjtJMCjhkfomnJfeD8KN3nd8vjLSX7ZCWUaMybh"
          }
        ],
        "metaPtr": {
          "id": "0x11"
        },
        "createdAt": "1663331076",
        "updatedAt": "1663331076"
      },
      {
        "id": "0x12",
        "accounts": [
          {
            "id": "F7XQYCUBunYRfXfKyGdgsYJVLdQdAZzdrCjFHyVXFQrt"
          }
        ],
        "metaPtr": {
          "id": "0x12"
        },
        "createdAt": "1663344576",
        "updatedAt": "1663344576"
      }
    ]
  }
}

DanieleSalatti avatar Dec 16 '22 18:12 DanieleSalatti

Deployed for all chains. I need to get some GRT to publish the new version on mainnet.

DanieleSalatti avatar Dec 16 '22 20:12 DanieleSalatti

I'm having issues publishing a new version. Technically it is deployed, but not published. Wrote on the graph's discord here.

DanieleSalatti avatar Dec 16 '22 21:12 DanieleSalatti

@DanieleSalatti are we still blocked here? if not can you merge it when it's ok for you please? /cc @michellema1208

gravityblast avatar Jan 20 '23 10:01 gravityblast

just pinging this @DanieleSalatti 🙌

codenamejason avatar Jan 31 '23 02:01 codenamejason