Skip to content

Commit

Permalink
Ignore IBC and slashing state events.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Dec 21, 2023
1 parent 1cb52fb commit 3f8bc20
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/scripts/export/trace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,15 @@ const trace = async () => {
return
}

// Ignore ibc and slashing events. These get spammed during chain upgrades
// and waste memory, and none of our handlers use them.
if (
tracedEvent.metadata.store_name === 'ibc' ||
tracedEvent.metadata.store_name === 'slashing'
) {
return
}

traceQueue.push(tracedEvent)
processTraceQueue()
},
Expand Down

0 comments on commit 3f8bc20

Please sign in to comment.