Skip to content

Commit

Permalink
Merge pull request #1824 from eqlabs/mirko/v0.11.0
Browse files Browse the repository at this point in the history
feat: v0.11.0 preparation
  • Loading branch information
Mirko-von-Leipzig authored Feb 27, 2024
2 parents a4a41ae + df591d3 commit 3e4a208
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 21 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,28 @@ More expansive patch notes and explanations may be found in the specific [pathfi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [0.11.0] - 2024-02-27

### 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` and `rpc.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.

## [0.10.6] - 2024-02-03

### Added
Expand Down
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ codegen-units = 1
lto = true

[workspace.package]
version = "0.11.0-rc0"
version = "0.11.0"
edition = "2021"
license = "MIT OR Apache-2.0"
rust-version = "1.74"
Expand Down
2 changes: 1 addition & 1 deletion crates/pathfinder/src/bin/pathfinder/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Examples:
#[arg(
long = "rpc.root-version",
long_help = "Version of the JSON-RPC API to serve on the / (root) path",
default_value = "v05",
default_value = "v06",
env = "PATHFINDER_RPC_ROOT_VERSION"
)]
rpc_root_version: RpcVersion,
Expand Down

0 comments on commit 3e4a208

Please sign in to comment.