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_traceBlockTransactionsparametertrace_flagsis not optional (as required by the spec).- Starknet 0.14.2 blocks are now using the correct versioned constants.
Changed
- The
--ethereum.urloption now requires a WebSocket URL (ws://orwss://). 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 viastdin) to CASM (output tostdout).
Added
- Forwarding gateway HTTP error 413 when handling
starknet_addDeclareTransaction,starknet_addDeployAccountTransactionandstarknet_addInvokeTransaction. - Two new CLI options for the
nodesubcommand: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-intervalCLI option. starknet_getStorageAtnow returns the last update block (in addition to storage value) if theINCLUDE_LAST_UPDATE_BLOCKflag was set in its input.starknet_getStateUpdatenow supports an address filter.