Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(rpc): update spec version to 0.6.0-rc4 #1598

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Support for RPC v0.6.0-rc3 via the `/rpc/v0_6` endpoint. Note that this does not include the `/rpc/v0.6` endpoint as the underscore is now the standard across node implementations.
- Support for RPC v0.6.0-rc4 via the `/rpc/v0_6` endpoint. Note that this does not include the `/rpc/v0.6` endpoint as the underscore is now the standard across node implementations.
- Configuration options to selectively enable/disable parts of the node. This can be useful to run tests or benchmarks with isolated components e.g. test RPC methods without the sync process updating the database.
- `rpc.enable` configuration option to enable/disable the RPC server. Defaults to enabled.
- `sync.enable` configuration option to enable/disable the sync process. Defaults to enabled.
Expand Down
2 changes: 1 addition & 1 deletion crates/rpc/src/v06.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub fn register_routes() -> RpcRouterBuilder {
.register("starknet_getBlockWithTxs" , method::get_block_with_txs)
.register("starknet_getTransactionReceipt" , method::get_transaction_receipt)
.register("starknet_simulateTransactions" , method::simulate_transactions)
.register("starknet_specVersion" , || "0.6.0-rc3")
.register("starknet_specVersion" , || "0.6.0-rc4")
.register("starknet_traceBlockTransactions" , method::trace_block_transactions)
.register("starknet_traceTransaction" , method::trace_transaction)

Expand Down
7 changes: 5 additions & 2 deletions doc/rpc/v06/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@
{
"name": "simulation_flags",
"description": "describes what parts of the transaction should be executed",
"required": false,
"required": true,
"schema": {
"type": "array",
"items": {
Expand Down Expand Up @@ -2232,6 +2232,7 @@
"DEPLOY_ACCOUNT_TXN_V1": {
"title": "Deploy account transaction",
"description": "Deploys an account contract, charges fee from the pre-funded account addresses",
"type": "object",
"properties": {
"type": {
"title": "Deploy account",
Expand Down Expand Up @@ -2295,6 +2296,7 @@
"DEPLOY_ACCOUNT_TXN_V3": {
"title": "Deploy account transaction",
"description": "Deploys an account contract, charges fee from the pre-funded account addresses",
"type": "object",
"properties": {
"type": {
"title": "Deploy account",
Expand Down Expand Up @@ -2434,6 +2436,7 @@
"INVOKE_TXN_V0": {
"title": "Invoke transaction V0",
"description": "invokes a specific function in the desired contract (not necessarily an account)",
"type": "object",
"properties": {
"type": {
"title": "Type",
Expand Down Expand Up @@ -3939,4 +3942,4 @@
}
}
}
}
}
Loading