Compare commits

..
2 Commits
Author SHA1 Message Date
Ian Norden 0c3e6feeaa Merge pull request #4 from vulcanize/ian_update
Add indexes to `event.emitter_addr` and `event_entry.key`
2023-12-01 10:03:15 -06:00
i-norden f1017b18d8 add index to event.emitter_addr 2023-11-30 13:03:36 -06:00
+1 -1
View File
@@ -326,7 +326,7 @@ func NewEventIndex(ctx context.Context, path string, chainStore *store.ChainStor
}
if version == 2 {
log.Infof("upgrading event index from version 2 to version 3")
log.Infof("upgrading event index from version 1 to version 2")
// to upgrade to version 3 we only need to create an index on the event_entry.key column
// and on the event.emitter_addr column