This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Events should be chucked #5466
Labels
I9-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
J2-unconfirmed
Issue might be valid, but it’s not yet known.
All events are stored under a single key. retrieving this potentially huge blob of data for cases such as account creation in genesis, or other potentially blocks that are bloated with lots of events, is a rocksdb killer; events should be chucked into smaller maps of vectors. See the
elections
pallet for a reference of this.The text was updated successfully, but these errors were encountered: