add index to event.emitter_addr

This commit is contained in:
i-norden 2023-11-30 13:03:36 -06:00 committed by jonathan@vulcanize.io
parent 75c7f16765
commit 1735a6f308

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