paritytech/Nomidot

ReferendumStatus duplicated

Closed this issue · 1 comments

Tbaut commented

We need to check for others such as MotionStatus, ProposalStatus but I'm pretty sure they are duplicated as well.

query {
  referendums {
    referendumId
    referendumStatus {
      status
      blockNumber {
        number
      }
    }
  }
}
"referendums": [
      {
        "referendumId": 2,
        "referendumStatus": [
          {
            "status": "Started",
            "blockNumber": {
              "number": 66950
            }
          }
        ]
      },
      {
        "referendumId": 3,
        "referendumStatus": [
          {
            "status": "Started",
            "blockNumber": {
              "number": 69724
            }
          },
          {
            "status": "Passed",
            "blockNumber": {
              "number": 73624
            }
          },
          {
            "status": "Passed",
            "blockNumber": {
              "number": 73624
            }
          }
        ]
      },