Skip to content

Commit

Permalink
ignore syscalls
Browse files Browse the repository at this point in the history
  • Loading branch information
ArielElp committed Nov 6, 2023
1 parent 15f3e15 commit 6a415c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 69 deletions.
64 changes: 1 addition & 63 deletions api/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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": {
Expand Down
12 changes: 6 additions & 6 deletions api/starknet_trace_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -375,7 +375,7 @@
"calls",
"events",
"messages",
"vm_resources"
"execution_resources"
]
}
]
Expand Down Expand Up @@ -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": {
Expand Down

0 comments on commit 6a415c3

Please sign in to comment.