This release includes support for starknet v0.12.0
. Also included are new metrics, starknet_estimateMessageFee
and several bug fixes.
Added
starknet_estimateMessageFee
for JSON-RPC v0.3.1 to estimate message fee from L1 handler.- sync-related metrics
current_block
: the currently sync'd block height of the nodehighest_block
: the height of the block chainblock_time
: timestamp difference between the current block and its parentblock_latency
: delay between current block being published and sync'd locallyblock_download
: time taken to download current block's data excluding classesblock_processing
: time taken to process and store the current block
- configuration for new block polling interval:
--sync.poll-interval <seconds>
- Starknet v0.12.0 support
- sierra v2.0.0 support
cairo-lang
upgraded to 0.12.0a0- pending transactions are now marked as L2 accepted
Fixed
- reorgs fail if a class declaration is included in the reorg
- this occurred on testnet2 on block
118690
- this occurred on testnet2 on block
- sync can fail if db connection pool are exhausted by rpc queries
- uses
finalized
(reorg-safe) L1 state instead oflatest
starknet_getEvents
times out for queries involving a large block range
Changed
- dropped upgrade support for pathfinder v0.4 and earlier
- separate db connection pools for rpc, sync and storage
- increased the number of rpc db connections
starknet_getEvents
returns an error if the query is too broad. This is to prevent the query from locking a database connection for too long even with the fix in place.