From eb7fc7a9ff0427d22b6b31ea50533016c927e829 Mon Sep 17 00:00:00 2001 From: Ariel Elperin Date: Sun, 12 Jan 2025 13:21:28 +0200 Subject: [PATCH 1/2] add is_reverted to internal calls in the trace --- api/starknet_trace_api_openrpc.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api/starknet_trace_api_openrpc.json b/api/starknet_trace_api_openrpc.json index 6df705e..113af56 100644 --- a/api/starknet_trace_api_openrpc.json +++ b/api/starknet_trace_api_openrpc.json @@ -356,6 +356,11 @@ "title": "Execution resources", "description": "Resources consumed by the internal call", "$ref": "#/components/schemas/INNER_CALL_EXECUTION_RESOURCES" + }, + "is_reverted": { + "title": "Is Reverted", + "description": "true if this inner call panicked", + "type": "bool" } }, "required": [ @@ -367,7 +372,8 @@ "calls", "events", "messages", - "execution_resources" + "execution_resources", + "is_reverted" ] } ] From 6557e1a7a8359ca08275829e72f7b6bd06a90fad Mon Sep 17 00:00:00 2001 From: Ariel Elperin Date: Thu, 16 Jan 2025 15:49:32 +0200 Subject: [PATCH 2/2] fix type --- api/starknet_trace_api_openrpc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/starknet_trace_api_openrpc.json b/api/starknet_trace_api_openrpc.json index 113af56..cb3ffec 100644 --- a/api/starknet_trace_api_openrpc.json +++ b/api/starknet_trace_api_openrpc.json @@ -360,7 +360,7 @@ "is_reverted": { "title": "Is Reverted", "description": "true if this inner call panicked", - "type": "bool" + "type": "boolean" } }, "required": [