Joystream / Joystream/joystream

Query Node: Council term numbering causing issues (`electedCouncilId`)

Open
#4,805 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

## Problem
When using the query node with the following query:
```query MyQuery { electionRounds { id isFinished referendumStageVoting { id startedAtBlock } referendumStageRevealing { id startedAtBlock } endedAtBlock electedCouncilId electedCouncil { electedAtBlock endedAtBlock id } cycleId } }```

there is a problem with `electedCouncilId` in that for the first few elections it returns normal numbers but upon reaching 9 switches to `0000000a`, `0000000b`, `0000000c` and so on.

I do not understand why it does this but it has caused problems with Dapplooker.com (the dashboard team that builds us dashboards which shows view of council spending etc)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.