From 780386feee3d046e052012767754aedf87568700 Mon Sep 17 00:00:00 2001 From: Fiiranek Date: Wed, 30 Oct 2024 16:57:24 +0100 Subject: [PATCH 1/2] Fix indentation of `bytecode_segment_lengths`; Fix Immediate title --- api/starknet_executables.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/api/starknet_executables.json b/api/starknet_executables.json index 9dbff16..a52b6ab 100644 --- a/api/starknet_executables.json +++ b/api/starknet_executables.json @@ -110,13 +110,13 @@ "minItems": 2, "maxItems": 2 } - } - }, - "bytecode_segment_lengths": { - "type": "array", - "description": "a list of sizes of segments in the bytecode, each segment is hashed invidually when computing the bytecode hash", - "items": { - "type": "integer" + }, + "bytecode_segment_lengths": { + "type": "array", + "description": "a list of sizes of segments in the bytecode, each segment is hashed invidually when computing the bytecode hash", + "items": { + "type": "integer" + } } }, "required": [ @@ -202,7 +202,7 @@ ] }, "Immediate": { - "title": "Imeediate", + "title": "Immediate", "type": "object", "properties": { "Immediate": { From 2a2cabd5fd0d0550dda20d0fe2bb22df9d7ca40f Mon Sep 17 00:00:00 2001 From: Fiiranek Date: Thu, 31 Oct 2024 13:43:33 +0100 Subject: [PATCH 2/2] Fix `BinOp` --- api/starknet_executables.json | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/api/starknet_executables.json b/api/starknet_executables.json index a52b6ab..595a178 100644 --- a/api/starknet_executables.json +++ b/api/starknet_executables.json @@ -213,11 +213,13 @@ "Immediate" ] }, - "BinOp": { + "BinOp":{ "title": "BinOperand", "type": "object", - "properties": { + "properties":{ "BinOp": { + "type": "object", + "properties": { "op": { "type": "string", "enum": [ @@ -238,12 +240,16 @@ } ] } + }, + "required":[ + "op", + "a", + "b" + ] } }, - "required": [ - "BinOp", - "a", - "b" + "required":[ + "BinOp" ] }, "ResOperand": {