Skip to content

Commit e7783ff

Browse files
chore: subgraph refactor
1 parent 8c48d81 commit e7783ff

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

subgraph/schema.graphql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,9 @@ type Dispute @entity {
154154
currentRuling: BigInt!
155155
tied: Boolean!
156156
overridden: Boolean!
157-
periodDeadline: BigInt! # uint256j
157+
periodDeadline: BigInt!
158158
periodNotificationIndex: BigInt!
159159
lastPeriodChangeTs: BigInt!
160-
lastPeriodChangeBlock: BigInt!
161160
lastPeriodChangeBlockNumber: BigInt!
162161
rounds: [Round!]! @derivedFrom(field: "dispute")
163162
currentRound: Round!

subgraph/src/entities/Dispute.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export function createDisputeFromEvent(event: DisputeCreation): void {
1818
dispute.tied = true;
1919
dispute.overridden = false;
2020
dispute.lastPeriodChangeTs = event.block.timestamp;
21-
dispute.lastPeriodChangeBlock = event.block.timestamp;
2221
dispute.lastPeriodChangeBlockNumber = event.block.number;
2322
let counter = PeriodIndexCounter.load("evidence");
2423
if (!counter) {

0 commit comments

Comments
 (0)