Skip to content

Commit

Permalink
Add index on event's inExtrinsic field
Browse files Browse the repository at this point in the history
  • Loading branch information
Lezek123 committed Feb 22, 2023
1 parent a0d2161 commit 646d3d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion schema/events.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type Event @entity {
inBlock: Int!

"Hash of the extrinsic the event was emitted in"
inExtrinsic: String
inExtrinsic: String @index

"Index of event in block from which it was emitted."
indexInBlock: Int!
Expand Down

0 comments on commit 646d3d4

Please sign in to comment.