We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2904eaa + 9c035f6 commit ddedb04Copy full SHA for ddedb04
root/schema.graphql
@@ -7,6 +7,7 @@ type Checkpoint @entity {
7
start: BigInt!
8
end: BigInt!
9
root: Bytes!
10
+ logIndex: String!
11
transactionHash: Bytes!
12
timestamp: BigInt!
13
}
root/src/mappings/checkpoint.ts
@@ -18,6 +18,7 @@ export function handleNewHeaderBlock(event: NewHeaderBlock): void {
18
entity.start = event.params.start
19
entity.end = event.params.end
20
entity.root = event.params.root
21
+ entity.logIndex = event.logIndex.toString()
22
23
entity.transactionHash = event.transaction.hash
24
entity.timestamp = event.block.timestamp
0 commit comments