Skip to content

Releases: starkware-libs/starknet-specs

v0.6.0-rc3

27 Nov 14:48
Compare
Choose a tag to compare
v0.6.0-rc3 Pre-release
Pre-release

Changelog

  • Refactor traceTransactions and estimateFee, and rename STRK to FRI by @ArielElp in #174
    • use the name fri for $10^{-18}$ strk
    • added TRANSACTION_EXECUTION_ERROR
    • added the SKIP_VALIDATE flag to starknet_estimateFee
    • clarified semantics of simulate and estimate: simulateTransactions should provide traces whenever possible and reply with TRANSACTION_EXECUTION_ERROR in cases of validation failure or internal error. estimateFee however is expected to fail with TRANSACTION_EXECUTION_ERROR when a transaction reverts, in order to avoid a scenario where transactions that are known to revert are sent to the network by mistake.

Full Changelog: v0.6.0-rc2...v0.6.0-rc3

v0.6.0-rc2

22 Nov 23:02
237fe16
Compare
Choose a tag to compare
v0.6.0-rc2 Pre-release
Pre-release

Changelog

New Contributors

Full Changelog: v0.6.0-rc1...v0.6.0-rc2

v0.6.0-rc1

12 Nov 15:34
aae966a
Compare
Choose a tag to compare
v0.6.0-rc1 Pre-release
Pre-release

Changelog

  • Add v3 transactions additional fields by @ArielElp in #162
  • Bound numeric properties by FELT and make builtin resources optional by @ArielElp in #164
  • Add the segment arena builtin by @ArielElp in #165

Full Changelog: v0.6.0-rc0...v0.6.0-rc1

StarkNet JSON-RPC v0.5.1

08 Nov 13:29
Compare
Choose a tag to compare

This version covers all the information gaps between the feeder-gateway and the RPC, making the node's API more robust towards the feeder gateway deprecation.

Bugfixes in v0.5.1:

  • Added the DELEGATE call type
  • Added state_diff to L1_HANDLER_TXN_TRACE
  • Changed validate_invocation and fee_transfer_invocation to optional inside traces

Full Changelog: v0.5.0...v0.5.1

What's Changed

  • Extract broadcasted declare txn out of the declare txn by @yair-starkware in #122
  • Fixed references to other files by @ShahakShama in #126
  • Add "required" to the write-api results by @ShahakShama in #127
  • Pending block & pending block w hash schema fix by @nagmo-starkware in #129
  • Reintroduce broadcasted txn & allow query version by @ArielElp in #125
  • Add missing fields to receipts & block header by @ArielElp in #131
    ** Added the starknet_specVersion endpoint that returns the currently used spec version.
    ** Added type field to the transaction trace objects.
    ** Added the order field to events and messages within the transaction trace.
    ** Added the l1_gas_price and `starknet_version fields to the block header
    ** Splitted the transaction receipt objects by type and added the execution_resources field to all transaction receipts
  • Trace improvement: add state diffs and order to events/messages by @ArielElp in #138
  • Added string data to CONTRACT_ERROR by @ArielElp in #141
  • Added starknet_getTransactionStatus and remove starknet_pendingTransactions by @ArielElp in #140
  • Fixed PENDING_STATE_UPDATE schema by @OmriEshhar1 in #144
  • Added missing fields to broadcasted_declare_txn_v1 by @ArielElp in #142
  • Changed traceBlockTransaction error type by @ArielElp in #143
  • Added missing fields to the pending block header by @ArielElp in #145

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.6.0-rc0

07 Nov 08:31
f45c208
Compare
Choose a tag to compare
v0.6.0-rc0 Pre-release
Pre-release

The first release candidate for Starknet's JSON-RPC version that is compatible with Starknet v0.13.0.

Changelog

  • Change execution resource counters to integers by @OmriEshhar1 in #147
  • fix bug where all the schemas are vaild in the oneOf in PENDING_DEPLOY_TXN_RECEIPT by @ShahakShama in #150
  • Allow EMITTED_EVENT to contain events from the pending block by @ShahakShama in #151
  • Disallow block_hash/block_number/new_root in the PENDING_BLOCK_HEADER schema by @OmriEshhar1 in #154
  • Introduce v3 transactions by @ArielElp in #149
  • Add state_diff to L1_HANDLER and DELEGATE call type by @ArielElp in #161
  • Add resources to internal calls within a trace by @ArielElp in #160

Full Changelog: v0.5.0...v0.6.0-rc0

StarkNet JSON-RPC v0.5.0

09 Oct 08:46
c0980ed
Compare
Choose a tag to compare

This version covers all the information gaps between the feeder-gateway and the RPC, making the node's API more robust towards the feeder gateway deprecation.

What's Changed

  • Extract broadcasted declare txn out of the declare txn by @yair-starkware in #122
  • Fixed references to other files by @ShahakShama in #126
  • Add "required" to the write-api results by @ShahakShama in #127
  • Pending block & pending block w hash schema fix by @nagmo-starkware in #129
  • Reintroduce broadcasted txn & allow query version by @ArielElp in #125
  • Add missing fields to receipts & block header by @ArielElp in #131
    ** Added the starknet_specVersion endpoint that returns the currently used spec version.
    ** Added type field to the transaction trace objects.
    ** Added the order field to events and messages within the transaction trace.
    ** Added the l1_gas_price and `starknet_version fields to the block header
    ** Splitted the transaction receipt objects by type and added the execution_resources field to all transaction receipts
  • Trace improvement: add state diffs and order to events/messages by @ArielElp in #138
  • Added string data to CONTRACT_ERROR by @ArielElp in #141
  • Added starknet_getTransactionStatus and remove starknet_pendingTransactions by @ArielElp in #140
  • Fixed PENDING_STATE_UPDATE schema by @OmriEshhar1 in #144
  • Added missing fields to broadcasted_declare_txn_v1 by @ArielElp in #142
  • Changed traceBlockTransaction error type by @ArielElp in #143
  • Added missing fields to the pending block header by @ArielElp in #145

New Contributors

Full Changelog: v0.4.0...v0.5.0

Starknet JSON-RPC v0.5.0-rc1

21 Sep 11:21
59b838c
Compare
Choose a tag to compare
Pre-release

Changelog

Full Changelog: v0.5.0-rc0...v0.5.0-rc1

Starknet JSON-RPC v0.5.0-rc0

13 Sep 17:21
cddef47
Compare
Choose a tag to compare
Pre-release

The first release candidate for Starknet's JSON-RPC version that is compatible with Starknet v0.13.0. This version covers all information gaps between the feeder-gateway and the RPC, making the node's API more robust towards the feeder gateway deprecation.

Changelog

  • Extract broadcasted declare txn out of the declare txn by @yair-starkware in #122
  • fix references to other files by @ShahakShama in #126
  • added required to write api's results by @ShahakShama in #127
  • fix: pending block & pending block w hash schema fix by @nagmo-starkware in #129
  • reintroduce broadcasted txn & allow query version by @ArielElp in #125
  • add v3 transactions and missing fields to receipts & block header by @ArielElp in #131
    ** Introduced v3 transaction types that will be used in v0.13.0.
    ** Added the starknet_specVersion endpoint that returns the currently used version of the spec.
    ** Added type field to the transaction trace objects.
    ** Added the order field to events and messages within the transaction trace.
    ** Added the l1_gas_price and `starknet_version fields to the block header
    ** Split the transaction receipt objects by type and added the execution_resources field to all transaction receipts

New Contributors

Full Changelog: v0.4.0...v0.5.0-rc0

Starknet JSON-RPC v0.4.0

07 Aug 04:58
6fadca1
Compare
Choose a tag to compare

This version of the RPC is compatible with Starknet 0.12.1.

Changelog

  • The reverted transaction status has been introduced, and receipts have the optional revert_reason property #99 #106
  • Trace API: code hash is renamed to class hash & simulateTransaction is renamed to simulateTransactions #104
  • Split status into execution_status and finality_status #107
  • Invoke v0 transaction: remove nonce and rename sender_address to contract_address #108
  • Simulation flags: removed SKIP_EXECUTE and added SKIP_FEE_CHARGE #109
  • Added the starknet_estimateMessageFee endpoint #100 #115
  • Refactored errors: many unused error codes were removed, and error codes that correspond to potential gateway replies were added to the write API #113 #119
  • Flattened the transaction structures to make the spec more readable #114
  • Added Cairo v>=2.0.0 ABI specs #117
  • Reintroduced DECLARE_TXN_V0 since it may still be returned in historical blocks #120

v0.3.0

18 May 10:56
aaea417
Compare
Choose a tag to compare

StarkNet Node API v0.3.0

This is the 3rd release of the specification for full node API specification for Starknet nodes.

Changes

Changes since v0.3.0-rc1

  • removed unused errors: #80
  • add "required" to DECLARE_TXN_V2 and MSG_TO_L1: #82
  • added titles to support code generation: #84
  • added CLASS_ALREADY_DECLARED error: #85
  • added required fields to BROADCASTED_DECLARE_TXN_V2 error: #93
  • required "type" field in PENDING_COMMON_RECEIPT_PROPERTIES: #94
  • added "type" field to BROADCASTED_DECLARE_TXN_V1: #95
  • added the missing optional "stateMutability" field for deprecated classes ABI: #97

Full Changelog: v0.3.0-rc1...v0.3.0