bitauth/chaingraph

Block accepted without accepting node mapped in multiple instances.

Opened this issue · 0 comments

2qx commented

It appears that block 834892 does not have an accepted_by node on neither the demo nor pat's instance.

 {
        "height": "834892",
        "timestamp": "1709263400",
        "accepted_by": []
      },

This is a simple query to get the offending block and the next

query GetBlockTimestamps() {
  block(
    where: {
      _and: [
        { height: { _gt: 834891 } }
        { height: { _lte: 834893 } }
      ]
    }
  ) {
    height
    timestamp
    accepted_by {
      node{name}
    }
  }
}