This pre-release reworks event storage, resulting in a ~25% smaller database. This rework is destructive and one cannot roll-back to a previous pathfinder version. We consider the event storage rework fairly robust and it should give consistent performance for starknet_getEvents
queries.
An additional breaking change is the removal of RPC v0.4 support; however at this stage no-one should be using this.
Changed
starknet_getEvents
implementation is now using a much simpler implementation that no longer relies on SQLite queries. In general this leads to more consistent query times and a roughly 20% smaller database.- The migration step involves computing Bloom filters for all blocks and dropping database tables no longer needed. This takes more than one hour for a mainnet database.
- The new
storage.event-bloom-filter-cache-size
,rpc.get-events-max-blocks-to-scan
andrpc.get-events-max-bloom-filters-to-load
arguments control some aspects of the algorithm.
Fixed
UNEXPECTED_ERROR
's data format now matches other node implementations
Removed
- Support for RPC v0.4