File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -80,13 +80,13 @@ type User @entity {
80
80
totalResolvedDisputes : BigInt !
81
81
totalDisputes : BigInt !
82
82
totalAppealingDisputes : BigInt !
83
+ totalCoherentVotes : BigInt !
84
+ totalResolvedVotes : BigInt !
85
+ coherenceScore : BigInt !
83
86
votes : [Vote ! ]! @derivedFrom (field : " juror" )
84
87
contributions : [Contribution ! ]! @derivedFrom (field : " contributor" )
85
88
evidences : [Evidence ! ]! @derivedFrom (field : " sender" )
86
89
penalties : [Penalty ! ]! @derivedFrom (field : " juror" )
87
- totalCoherentVotes : BigInt !
88
- totalResolvedVotes : BigInt !
89
- coherenceScore : BigInt !
90
90
}
91
91
92
92
type Penalty @entity {
Original file line number Diff line number Diff line change @@ -137,8 +137,8 @@ export function handleNewPeriod(event: NewPeriod): void {
137
137
const draw = Draw . load ( draws [ j ] . id ) ;
138
138
if ( ! draw ) continue ;
139
139
140
- // This will only work for Classic DisputeKit ("1- ").
141
- const vote = ClassicVote . load ( `1 -${ draw . id } ` ) ;
140
+ // Since this is a ClassicVote entity, this will only work for the Classic DisputeKit (which has ID "1 ").
141
+ const vote = ClassicVote . load ( `${ round . disputeKit } -${ draw . id } ` ) ;
142
142
143
143
if ( ! vote ) continue ;
144
144
You can’t perform that action at this time.
0 commit comments