Skip to content

Implement RPCv08-rc0 #623

@rianhughes

Description

@rianhughes

https://github.com/starkware-libs/starknet-specs/tree/v0.8.0-rc0

TODO:

  • merge v0.8.0 with main to pass CI tests, and then, merge some contributor's PR
  • make a PR to change code docs to include an extra space (e.g. // - asdf... to // - asdf.... This will make the doc to be rendered as a markdown list.
  • before merge 667, create a copy of main to be released as something like v.0.8.0:SNIP-12

New

Features

  • Implement websocket support

Methods

websocket methods

  • starknet_subscribeNewHeads
  • starknet_subscriptionNewHeads
  • starknet_subscribeEvents
  • starknet_subscriptionEvents
  • starknet_subscribeTransactionStatus
  • starknet_subscriptionTransactionsStatus
  • starknet_subscribePendingTransactions
  • starknet_subscriptionPendingTransactions
  • starknet_subscriptionReorg
  • starknet_unsubscribe

Components

  • EVENT_KEYS (no need to change the code, just a doc improvement from their side)
  • L1_TXN_HASH (no need to change the code, just a doc improvement from their side)
  • TXN_STATUS_RESULT
  • MERKLE_NODE
  • NODE_HASH_TO_NODE_MAPPING
  • CONTRACT_EXECUTION_ERROR
  • CASM_COMPILED_CONTRACT_CLASS
  • CASM_ENTRY_POINT
  • CellRef
  • Deref
  • DoubleDeref
  • Immediate
  • BinOp
  • ResOperand
  • HINT
  • DEPRECATED_HINT
  • CORE_HINT
  • STARKNET_HINT
  • NEW_TXN_STATUS
  • SUBSCRIPTION_ID
  • REORG_DATA

Errors

  • COMPILATION_ERROR
  • INVALID_SUBSCRIPTION_ID
  • TOO_MANY_ADDRESSES_IN_FILTER
  • TOO_MANY_BLOCKS_BACK
  • STORAGE_PROOF_NOT_SUPPORTED

Alterations

Methods

Components

  • EVENT_FILTER (no need to change the code, just a doc improvement from their side)
  • TXN_HASH (no need to change the code, just a doc improvement from their side)
  • BLOCK_HEADER
  • FEE_ESTIMATE
  • EXECUTION_RESOURCES

Errors

  • CONTRACT_ERROR
  • TRANSACTION_EXECUTION_ERROR

Remotions

Components

  • COMPUTATION_RESOURCES

Other changes

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions