Releases: starkware-libs/starknet-specs
v0.6.0-rc3
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 withTRANSACTION_EXECUTION_ERROR
in cases of validation failure or internal error.estimateFee
however is expected to fail withTRANSACTION_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.
- use the name
Full Changelog: v0.6.0-rc2...v0.6.0-rc3
v0.6.0-rc2
Changelog
- add stricter restrictions on v3 fields by @ArielElp in #169
- fix DECLARE_TXN_V1 version by @tabaktoni in #170
- Make trace fields optional (as in 0.5.1) by @ArielElp in #172
New Contributors
- @tabaktoni made their first contribution in #170
Full Changelog: v0.6.0-rc1...v0.6.0-rc2
v0.6.0-rc1
StarkNet JSON-RPC v0.5.1
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
- @yair-starkware made their first contribution in #122
Full Changelog: v0.4.0...v0.5.0
v0.6.0-rc0
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
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
- @yair-starkware made their first contribution in #122
Full Changelog: v0.4.0...v0.5.0
Starknet JSON-RPC v0.5.0-rc1
Changelog
- fix: typo fix by @OmriEshhar1 in #136
- Remove v3 transcations by @ArielElp in #139
- Trace improvement: add state diffs and order to events/messages by @ArielElp in #138
- add string data to CONTRACT_ERROR by @ArielElp in #141
- add starknet_getTransactionStatus and remove starknet_pendingTransactions by @ArielElp in #140
Full Changelog: v0.5.0-rc0...v0.5.0-rc1
Starknet JSON-RPC v0.5.0-rc0
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 thestarknet_specVersion
endpoint that returns the currently used version of the spec.
** Addedtype
field to the transaction trace objects.
** Added theorder
field to events and messages within the transaction trace.
** Added thel1_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
- @yair-starkware made their first contribution in #122
Full Changelog: v0.4.0...v0.5.0-rc0
Starknet JSON-RPC v0.4.0
This version of the RPC is compatible with Starknet 0.12.1.
Changelog
- The
reverted
transaction status has been introduced, and receipts have the optionalrevert_reason
property #99 #106 - Trace API: code hash is renamed to class hash & simulateTransaction is renamed to simulateTransactions #104
- Split
status
intoexecution_status
andfinality_status
#107 - Invoke v0 transaction: remove nonce and rename
sender_address
tocontract_address
#108 - Simulation flags: removed
SKIP_EXECUTE
and addedSKIP_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
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