diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index 6769000..12ece3d 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -3577,24 +3577,7 @@ ] }, "EXECUTION_RESOURCES": { - "type": "object", - "properties": { - "vm_resources": { - "title": "vm resources", - "$ref": "#/components/schemas/VM_RESOURCES" - }, - "syscall_counters": { - "title": "syscall counter", - "$ref": "#/components/schemas/SYSCALL_COUNTERS" - } - }, - "required": [ - "vm_resources", - "syscall_counters" - ] - }, - "VM_RESOURCES": { - "title": "VM resources", + "title": "Execution resources", "description": "The resources consumed by the VM", "type": "object", "properties": { @@ -3654,51 +3637,6 @@ "bitwise_builtin_applications", "keccak_builtin_applications" ] - }, - "SYSCALL_COUNTERS": { - "type": "object", - "propertyNames": { - "$ref": "#/components/schemas/SYSCALLS" - }, - "additionalProperties": { - "type": "integer" - } - }, - "SYSCALLS": { - "type": "string", - "enum": [ - "CallContract", - "DelegateCall", - "DelegateL1Handler", - "Deploy", - "EmitEvent", - "GetBlockHash", - "GetBlockNumber", - "GetBlockTimestamp", - "GetCallerAddress", - "GetContractAddress", - "GetExecutionInfo", - "GetSequencerAddress", - "GetTxInfo", - "GetTxSignature", - "Keccak", - "LibraryCall", - "LibraryCallL1Handler", - "ReplaceClass", - "Secp256k1Add", - "Secp256k1GetPointFromX", - "Secp256k1GetXy", - "Secp256k1Mul", - "Secp256k1New", - "Secp256r1Add", - "Secp256r1GetPointFromX", - "Secp256r1GetXy", - "Secp256r1Mul", - "Secp256r1New", - "SendMessageToL1", - "StorageRead", - "StorageWrite" - ] } }, "errors": { diff --git a/api/starknet_trace_api_openrpc.json b/api/starknet_trace_api_openrpc.json index c2a1dfa..b943088 100644 --- a/api/starknet_trace_api_openrpc.json +++ b/api/starknet_trace_api_openrpc.json @@ -360,10 +360,10 @@ "$ref": "#/components/schemas/ORDERED_MESSAGE" } }, - "vm_resources": { + "execution_resources": { "title": "Execution resources", - "description": "Resources consumed by the transaction", - "$ref": "#/components/schemas/VM_RESOURCES" + "description": "Resources consumed by the internal call", + "$ref": "#/components/schemas/EXECUTION_RESOURCES" } }, "required": [ @@ -375,7 +375,7 @@ "calls", "events", "messages", - "vm_resources" + "execution_resources" ] } ] @@ -459,8 +459,8 @@ "STATE_DIFF": { "$ref": "./api/starknet_api_openrpc.json#/components/schemas/STATE_DIFF" }, - "VM_RESOURCES": { - "$ref": "./api/starknet_api_openrpc.json#/components/schemas/VM_RESOURCES" + "EXECUTION_RESOURCES": { + "$ref": "./api/starknet_api_openrpc.json#/components/schemas/EXECUTION_RESOURCES" } }, "errors": {