Skip to content

Commit

Permalink
fix indexing canceled
Browse files Browse the repository at this point in the history
  • Loading branch information
moodysalem committed Jun 19, 2024
1 parent ff69589 commit f531f62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/EVENT_PROCESSORS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ export const EVENT_PROCESSORS = [
parser: parseGovernorCreationThresholdBreached,
async handle(dao, { parsed, key }): Promise<void> {
logger.debug("GovernorCreationThresholdBreached", { parsed, key });
await dao.insertGovernorCreationThresholdBreachedEvent(parsed, key);
// just use the canceled table
await dao.insertGovernorCanceledEvent(parsed, key);
},
},
<EventProcessor<GovernorVotedEvent>>{
Expand Down

0 comments on commit f531f62

Please sign in to comment.