From 810ef5e77530706b1555f4a0be406c1a96031f5a Mon Sep 17 00:00:00 2001 From: Ariel Elperin Date: Sun, 12 Nov 2023 16:44:11 +0200 Subject: [PATCH 1/3] add segment_arena_builtin --- api/starknet_api_openrpc.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index ec7fc67..f41a98d 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -3802,10 +3802,12 @@ "keccak_builtin_applications": { "title": "Keccak applications", "description": "The number of KECCAK builtin instances", - "type": "integer", - "not": { - "const": 0 - } + "type": "integer" + }, + "segment_arena_builtin": { + "title": "Segment arena", + "description": "The number of accesses to the segment arena", + "type": "integer" } }, "required": [ From 6c9ca661b149d4eb0a84e38a69a6d2a34af73597 Mon Sep 17 00:00:00 2001 From: Ariel Elperin Date: Sun, 12 Nov 2023 17:12:13 +0200 Subject: [PATCH 2/3] add >0 constraint to segment_arena --- api/starknet_api_openrpc.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index f41a98d..6b5d262 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -3807,7 +3807,10 @@ "segment_arena_builtin": { "title": "Segment arena", "description": "The number of accesses to the segment arena", - "type": "integer" + "type": "integer", + "not": { + "const": 0 + } } }, "required": [ From d96957ec923268971aed31c2276a288bc822b1c8 Mon Sep 17 00:00:00 2001 From: Ariel Elperin Date: Sun, 12 Nov 2023 17:29:55 +0200 Subject: [PATCH 3/3] add keccak limit --- api/starknet_api_openrpc.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index 6b5d262..745895d 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -3802,7 +3802,10 @@ "keccak_builtin_applications": { "title": "Keccak applications", "description": "The number of KECCAK builtin instances", - "type": "integer" + "type": "integer", + "not": { + "const": 0 + } }, "segment_arena_builtin": { "title": "Segment arena",