add index to event.emitter_addr

This commit is contained in:
i-norden authored and jonathan@vulcanize.io committed 2024-03-28 02:10:00 +00:00
1 parent 75c7f16765
commit 1735a6f308
1 file changed
+1 -1
+1 -1
View File
@@ -326,7 +326,7 @@ func NewEventIndex(ctx context.Context, path string, chainStore *store.ChainStor
} }
if version == 2 { if version == 2 {
log.Infof("upgrading event index from version 1 to version 2") log.Infof("upgrading event index from version 2 to version 3")
// to upgrade to version 3 we only need to create an index on the event_entry.key column // 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 // and on the event.emitter_addr column