Skip to content

v0.8.1

Compare
Choose a tag to compare
@kkovaacs kkovaacs released this 07 Sep 14:46
· 2955 commits to main since this release
4180d5c

This release massively improves the performance of execution related calls. You can expect a 10-40x improvement. This affects the following RPC methods (for all RPC versions):

  • starknet_call
  • starknet_estimateFee
  • starknet_simulateTransactions

The performance improvement comes from swopping our execution engine from the python based cairo-lang, to the Rust Blockifier. This release contains no other changes so that in the event of an incompatibility or bug in the new engine you can switch back by downgrading to pathfinder v0.8.0 again.

The new rpc.execution-concurrency command-line argument provides a way to configure how many Cairo VMs can be executed concurrently. It defaults to the number of CPU cores available but you might need to fine-tune the value to suit your needs.

Fixed

  • JSON-RPC requests with unknown parameters are rejected (unknown params were previously ignored)

Changed

  • Execution is backed by a Rust-based VM improving performance. We no longer depend on Python code in pathfinder.