From 73e6bff3632aa25a660ff7f24f4be64bf7be11da Mon Sep 17 00:00:00 2001 From: Ariel Elperin Date: Sun, 24 Mar 2024 09:41:58 +0200 Subject: [PATCH] add execution resources to l1 handler traces --- api/starknet_trace_api_openrpc.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/api/starknet_trace_api_openrpc.json b/api/starknet_trace_api_openrpc.json index 39eba0b..3fcada1 100644 --- a/api/starknet_trace_api_openrpc.json +++ b/api/starknet_trace_api_openrpc.json @@ -292,6 +292,11 @@ "description": "the state diffs induced by the transaction", "$ref": "#/components/schemas/STATE_DIFF" }, + "execution_resources": { + "title": "Execution resources", + "description": "the resources consumed by the transaction, includes both computation and data", + "$ref": "#/components/schemas/EXECUTION_RESOURCES" + }, "type": { "title": "Type", "type": "string", @@ -302,7 +307,8 @@ }, "required": [ "type", - "function_invocation" + "function_invocation", + "execution_resources" ] } ] @@ -510,4 +516,4 @@ } } } -} +} \ No newline at end of file