Skip to content

Commit

Permalink
Merge pull request #160 from starkware-libs/update_execution_resources
Browse files Browse the repository at this point in the history
Add syscall counters and resources to internal calls within a trace (#160)
  • Loading branch information
ArielElp authored Nov 7, 2023
2 parents a08d7ca + 6a415c3 commit f45c208
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3578,7 +3578,7 @@
},
"EXECUTION_RESOURCES": {
"title": "Execution resources",
"description": "The resources consumed by the transaction",
"description": "The resources consumed by the VM",
"type": "object",
"properties": {
"steps": {
Expand Down
11 changes: 10 additions & 1 deletion api/starknet_trace_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,11 @@
"items": {
"$ref": "#/components/schemas/ORDERED_MESSAGE"
}
},
"execution_resources": {
"title": "Execution resources",
"description": "Resources consumed by the internal call",
"$ref": "#/components/schemas/EXECUTION_RESOURCES"
}
},
"required": [
Expand All @@ -375,7 +380,8 @@
"result",
"calls",
"events",
"messages"
"messages",
"execution_resources"
]
}
]
Expand Down Expand Up @@ -459,6 +465,9 @@
},
"STATE_DIFF": {
"$ref": "./api/starknet_api_openrpc.json#/components/schemas/STATE_DIFF"
},
"EXECUTION_RESOURCES": {
"$ref": "./api/starknet_api_openrpc.json#/components/schemas/EXECUTION_RESOURCES"
}
},
"errors": {
Expand Down

0 comments on commit f45c208

Please sign in to comment.