vsc-eco / vsc-node

Node software powering the next generation smart contract L2 on the HIVE blockchain
https://vsc.eco
GNU General Public License v3.0
11 stars 5 forks source link

Add missing TransactionStatus enum #7

Closed techcoderx closed 1 year ago

techcoderx commented 1 year ago

Adds the PROCESSED status in the GraphQL schema.

Fixes the GraphQL query error:

{
  "errors": [
    {
      "message": "Enum \"TransactionStatus\" cannot represent value: \"PROCESSED\"",
      "locations": [
        {
          "line": 6,
          "column": 5
        }
      ],
      "path": [
        "findTransaction",
        "status"
      ]
    }
  ],
  "data": {
    "findTransaction": {
      "id": "bafyreihk3phucbu7xud3xwdf4i3wjnhmz5frevvlywoxdtkmuxsdxuxd7y",
      "status": null,
      "op": "call_contract",
      "included_in": "bafyreib4kwwhmxs2g3ni6i4cpiizto3gzhrxbq276nan2hnhb7esztpv5a",
      "executed_in": null
    }
  }
}