Skip to content

Voting tab: number of jurors who votes is incorrect when a juror is drawn several times #1095

@jaybuidl

Description

@jaybuidl

I have been drawn 2 times out 3 on this case but the frontend says that only 1 juror has voted.

The castVote() transaction shows that 2 votes have indeed been cast.

https://deploy-preview-1057--kleros-v2.netlify.app/#/cases/86/voting

image

It looks like this is returning the wrong value

: localRounds.at(currentTab)?.totalVoted + " jurors voted out of " + rounds.at(currentTab)?.nbVotes}

Seems the subgraph is returning the wrong result
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions