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_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.