Skip to content

Commit 5ead8bc

Browse files
authored
Merge pull request #1598 from eqlabs/krisztian/rpc-0.6.0-update-spec-to-rc4
chore(rpc): update spec version to 0.6.0-rc4
2 parents c1f9e13 + 63cd08b commit 5ead8bc

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Added
1313

14-
- 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.
14+
- 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.
1515
- 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.
1616
- `rpc.enable` configuration option to enable/disable the RPC server. Defaults to enabled.
1717
- `sync.enable` configuration option to enable/disable the sync process. Defaults to enabled.

crates/rpc/src/v06.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub fn register_routes() -> RpcRouterBuilder {
4040
.register("starknet_getBlockWithTxs" , method::get_block_with_txs)
4141
.register("starknet_getTransactionReceipt" , method::get_transaction_receipt)
4242
.register("starknet_simulateTransactions" , method::simulate_transactions)
43-
.register("starknet_specVersion" , || "0.6.0-rc3")
43+
.register("starknet_specVersion" , || "0.6.0-rc4")
4444
.register("starknet_traceBlockTransactions" , method::trace_block_transactions)
4545
.register("starknet_traceTransaction" , method::trace_transaction)
4646

doc/rpc/v06/starknet_api_openrpc.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@
600600
{
601601
"name": "simulation_flags",
602602
"description": "describes what parts of the transaction should be executed",
603-
"required": false,
603+
"required": true,
604604
"schema": {
605605
"type": "array",
606606
"items": {
@@ -2232,6 +2232,7 @@
22322232
"DEPLOY_ACCOUNT_TXN_V1": {
22332233
"title": "Deploy account transaction",
22342234
"description": "Deploys an account contract, charges fee from the pre-funded account addresses",
2235+
"type": "object",
22352236
"properties": {
22362237
"type": {
22372238
"title": "Deploy account",
@@ -2295,6 +2296,7 @@
22952296
"DEPLOY_ACCOUNT_TXN_V3": {
22962297
"title": "Deploy account transaction",
22972298
"description": "Deploys an account contract, charges fee from the pre-funded account addresses",
2299+
"type": "object",
22982300
"properties": {
22992301
"type": {
23002302
"title": "Deploy account",
@@ -2434,6 +2436,7 @@
24342436
"INVOKE_TXN_V0": {
24352437
"title": "Invoke transaction V0",
24362438
"description": "invokes a specific function in the desired contract (not necessarily an account)",
2439+
"type": "object",
24372440
"properties": {
24382441
"type": {
24392442
"title": "Type",
@@ -3939,4 +3942,4 @@
39393942
}
39403943
}
39413944
}
3942-
}
3945+
}

0 commit comments

Comments
 (0)