Releases: eqlabs/pathfinder
v0.22.0-beta.3
Release highlights
This is a pre-release version of Pathfinder adding JSON-RPC version 0.10.1-rc.3 support.
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.
v0.22.0-beta.2
Release highlights
This is a pre-release version of Pathfinder fixing some JSON-RPC version 0.10.1-rc.2 incompatibilities.
Fixed
- JSON-RPC serialization of
INITIAL_READSis not compliant with the specification. Pathfinder returnsstorage_keyproperties for storage reads instead of thekeyproperty required by the spec. starknet_addInvokeTransactionis not forwardingproof_factsproperty to the Starknet gateway.
v0.22.0-beta.1
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 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_READSflag tostarknet_simulateTransactionsinput simulation flags.
Only supported if JSON-RPC version is 0.10.0 or higher. - Added a
trace_flagsfield tostarknet_traceBlockTransactionsinput. Currently the only available flag isRETURN_INITIAL_READS.
Only supported if JSON-RPC version is V10 or higher.
- Added
-
Preliminary support for JSON-RPC 0.10.1
proof_factsandprooftransaction properties.
Changed
-
starknet_simulateTransactionsnow has a different response format based on whether or not theRETURN_INITIAL_READSflag was set in the input:- If the flag was not set, the response is identical to previous RPC versions (an array of transaction simulations).
- 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_READSobject, containing an aggregate of all initial reads for the simulated transactions.
-
starknet_traceBlockTransactionsnow has a different response format based on whether or not theRETURN_INITIAL_READSflag was set in the input:- If the flag was not set, the response is identical to previous RPC versions (an array of transaction traces).
- 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_READSobject, containing an aggregate of all initial reads for the traced transactions.
-
starknet_getEventsandstarknet_subscribeEventsnow supports having multiple addresses (represented as an array) in the filter.
v0.21.5
Release highlights
This is a hotfix release that fixes a bug in our HTTP client that has been triggered when gzip compression was enabled on the feeder gateway.
Added
- Support for
deflate-compressed responses from the feeder gateway.
Fixed
- Pathfinder stops syncing on networks where response compression has been enabled on the feeder gateway.
v0.21.4
Release highlights
This is a hotfix release with some execution fixes (to fix the exact same issue Starknet mainnet was experiencing) and adding support for gzip-compressed HTTP responses to the feeder gateway client.
Added
- Support for gzip-compressed responses from the feeder gateway.
- The new
--rpc.native-execution-force-use-for-incompatible-classesCLI option can be used to force use of native execution even for pre-1.7.0 Sierra classes (where fee calculation is known to be inaccurate). Use this flag at your own risk.
Changed
blockifierhas been upgraded to 0.16.0-rc.3.
v0.21.3
Release highlights
This is a hotfix release with some execution fixes, a new JSON-RPC call metric to measure latencies, and JSON-RPC bug fixes.
Added
- The new histogram metric
rpc_method_calls_duration_millisecondshas been added to expose JSON-RPC method call latency data.
Changed
blockifierhas been upgraded to 0.16.0-rc.2.- Pathfinder no longer returns
event_commitmentandtransaction_commitmentvalues for Starknet blocks older than Starknet version 0.13.2.
Fixed
starknet_traceTransactiontimes out for some transactions because fetching transaction traces from the feeder gateway fails due to some unknown fields in the response.
v0.21.2
Release Highlights
This is a hotfix release adding support for the final JSON-RPC 0.10.0 specification.
Changed
- Pathfinder now serves the JSON-RPC 0.10.0 API on the
v0_10routes. - The size of the block trace cache is now configurable by the new
--rpc.block-trace-cache-sizeCLI argument.
v0.21.1
Release Highlights
This is a hotfix release fixing some issues that have been reported to us. In particular, it fixes trace generation for blocks with DECLARE transactions on Starknet 0.14.1 blocks.
Fixed
- Pathfinder exits after receiving an internal server error from the feeder gateway.
starknet_estimateFeeandstarknet_simulateTransactionsfails if one of the transactions is using a class that has been declared by a simulated DECLARE transaction in the batch.- Cairo Native is not working correctly with Docker images published on Docker Hub due to a linker error.
v0.21.0
Release Highlights
This release fixes some pre-confirmed block inconsistencies and adds support for the upcoming Starknet 0.14.1 version (including JSON-RPC 0.10.0-rc.1 support).
Added
- Support for Starknet 0.14.1 networks.
- Support for JSON-RPC 0.10.0-rc.1.
Fixed
- Inconsistent state updates when using "pre_confirmed" block identifier with
starknet_call,starknet_estimateFeeandstarknet_simulateTransactionsJSON-RPC methods.
v0.20.5
Release Highlights
This is a hotfix release fixing some issues that have been reported to us.
Fixed
starknet_estimateFeefails if the validate entry point runs ouf of gas during L2 fee binary search.- Pathfinder stops syncing for a minute after logging an "L2 sync process terminated with: Download block from sequencer" error.
starknet_simulateTransactionssometimes fails forDEPLOY_ACCOUNTtransactions if theSKIP_FEE_CHARGEsimulation flag is not set. This happens even though the account address has the sufficient funds to execute the transaction.