Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

v1.0.0 DB misses some transactions! #92

@vporton

Description

@vporton

I sent the same request to https://arweave.net/graphql and to my own v1.0.0 installation:

query {
  transactions(
    first: 2
    ids: [
      "qul1Elv7Xg6LtyTkPqDj0i5jNr38aOLvi9qsDMoO9Jg",
      "c3T92aWcYEt79uok96MkH6TyXuKageX-1cn1oW46v7s"
    ]
  ) {, 
    edges {
      node {
        block {
          id
          height
        }
        id
      }
    }
  }
}

arweave.net replies:

{
  "data": {
    "transactions": {
      "edges": [
        {
          "node": {
            "block": {
              "id": "ImTHSwo1yrcUM35-Kd5UiZs5mCXebgHueroxWuXq_yaYLE3CU6_1agcv44aSOhCG",
              "height": 132702
            },
            "id": "c3T92aWcYEt79uok96MkH6TyXuKageX-1cn1oW46v7s"
          }
        },
        {
          "node": {
            "block": {
              "id": "xbBn0jc4zrqAXmDqczhkzypG0G1b_Nj0XqJZ73UETsQNb0lIc3WIXaVvvv0YtOJS",
              "height": 97283
            },
            "id": "qul1Elv7Xg6LtyTkPqDj0i5jNr38aOLvi9qsDMoO9Jg"
          }
        }
      ]
    }
  }
}

but my installation replies:

{
  "data": {
    "transactions": {
      "edges": [
        {
          "node": {
            "block": {
              "id": "ImTHSwo1yrcUM35-Kd5UiZs5mCXebgHueroxWuXq_yaYLE3CU6_1agcv44aSOhCG",
              "height": 132702
            },
            "id": "c3T92aWcYEt79uok96MkH6TyXuKageX-1cn1oW46v7s"
          }
        }
      ]
    }
  }
}

You see that the transaction qul1Elv7Xg6LtyTkPqDj0i5jNr38aOLvi9qsDMoO9Jg is missing in my server.
Moreover:

select count(*) from transactions where id='c3T92aWcYEt79uok96MkH6TyXuKageX-1cn1oW46v7s';

returns 1.

select count(*) from transactions where id='qul1Elv7Xg6LtyTkPqDj0i5jNr38aOLvi9qsDMoO9Jg';

returns 0.

It could be explained by my server being partially synchronized, but my server does show a transaction of a higher block height. So, there is a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions