v0.11.0
Mirko-von-Leipzig
released this
27 Feb 13:25
·
1515 commits
to main
since this release
This release adds support for Starknet v0.13.1 and RPC v0.7.0-rc2.
The default RPC version has been changed to v0.6. A reminder that this is configurable.
⚠️ We will be removing support for RPC v0.4 and v0.5 soon. Please update to RPC v0.6 or v0.7.
This release includes a rework of how we store event data on disk, resulting in a 20% smaller database. Note that the database won't release this extra space, so you won't see an immediete saving after upgrading. Rather the database will reuse this extra space over time.
If you need the extra disk space you will need to resync or use one of our snapshots.
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. - The memory allocator used by pathfinder has been changed to jemalloc, leading to improved JSON-RPC performance.
- Improved poseidon hash performance.
- Default RPC version changed to v0.6.
Added
- Support for Starknet v0.13.1.
- Support for RPC v0.7.
- The request timeout for gateway and feeder-gateway queries is now configurable using
gateway.request-timeout
("PATHFINDER_GATEWAY_REQUEST_TIMEOUT"
).
Fixed
- Websocket control frames aren't handled.