github eqlabs/pathfinder v0.22.0-beta.1

pre-release6 hours ago

Release highlights

This is a pre-release version of Pathfinder adding preliminary support for JSON-RPC version 0.10.1-rc.2 and client-side proofs.

⚠️ This release is for testing purposes only. Please do not upgrade your node in a production environment. ⚠️

❗ This release includes a database migration. ❗ The migration step is pretty much instantaneous, but will prevent older Pathfinder releases from starting up with the upgraded database. If you expect to roll back to a previous version, consider backing up your database before upgrading.

Added

  • Added support for the "return initial reads" feature introduced in JSON-RPC version 0.10.1:

    • Added RETURN_INITIAL_READS flag to starknet_simulateTransactions input simulation flags.
      Only supported if JSON-RPC version is 0.10.0 or higher.
    • Added a trace_flags field to starknet_traceBlockTransactions input. Currently the only available flag is RETURN_INITIAL_READS.
      Only supported if JSON-RPC version is V10 or higher.
  • Preliminary support for JSON-RPC 0.10.1 proof_facts and proof transaction properties.

Changed

  • starknet_simulateTransactions now has a different response format based on whether or not the RETURN_INITIAL_READS flag was set in the input:

    1. If the flag was not set, the response is identical to previous RPC versions (an array of transaction simulations).
    2. If the flag was set, the response is an object with two fields:
      • "simulated_transactions" - an array of transaction simulations (previous RPC version output).
      • "initial_reads" - an INITIAL_READS object, containing an aggregate of all initial reads for the simulated transactions.
  • starknet_traceBlockTransactions now has a different response format based on whether or not the RETURN_INITIAL_READS flag was set in the input:

    1. If the flag was not set, the response is identical to previous RPC versions (an array of transaction traces).
    2. If the flag was set, the response is an object with two fields:
      • "traces" - an array of transaction traces (previous RPC version output).
      • "initial_reads" - an INITIAL_READS object, containing an aggregate of all initial reads for the traced transactions.
  • starknet_getEvents and starknet_subscribeEvents now supports having multiple addresses (represented as an array) in the filter.

Don't miss a new pathfinder release

NewReleases is sending notifications on new releases.