github eqlabs/pathfinder v0.22.0-beta.3

pre-release2 hours ago

Release highlights

This is a pre-release version of Pathfinder adding JSON-RPC version 0.10.1-rc.3 support.

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

Fixed

  • starknet_traceBlockTransactions parameter trace_flags is not optional (as required by the spec).
  • Starknet 0.14.2 blocks are now using the correct versioned constants.

Changed

  • The --ethereum.url option now requires a WebSocket URL (ws:// or wss://). HTTP/HTTPS URLs are no longer automatically converted to WebSocket and will result in an error.
  • The Pathfinder binary now has two subcommands:
    • node - runs the Pathfinder node as before, serving JSON-RPC and syncing with the network.
      This is the default subcommand and will run if no subcommand is passed.
    • compile - compile a Sierra class (passed via stdin) to CASM (output to stdout).

Added

  • Forwarding gateway HTTP error 413 when handling starknet_addDeclareTransaction, starknet_addDeployAccountTransaction and starknet_addInvokeTransaction.
  • Two new CLI options for the node subcommand:
    • compiler.max-memory-usage-mib - maximum memory usage for the compiler process, in MiB.
    • compiler.max-cpu-time-secs - maximum (active) CPU time for the compiler process, in seconds.
  • Pathfinder is now polling for DNS changes for the feeder gateway and gateway host name. By default the host names are resolved every 60s and the HTTP client connection pool is re-created to force reconnecting to the new address. The interval is configurable with the new --gateway.check-for-dns-updates-interval CLI option.
  • starknet_getStorageAt now returns the last update block (in addition to storage value) if the INCLUDE_LAST_UPDATE_BLOCK flag was set in its input.
  • starknet_getStateUpdate now supports an address filter.

Don't miss a new pathfinder release

NewReleases is sending notifications on new releases.