From 04642cc29d38ed55c1a1c3c85dab2fc930c86d11 Mon Sep 17 00:00:00 2001 From: Ariel Elperin Date: Wed, 1 Nov 2023 07:13:57 +0200 Subject: [PATCH] change version with to an enum and add query version --- api/starknet_api_openrpc.json | 57 +++++++++++++++++++++++++++-------- 1 file changed, 45 insertions(+), 12 deletions(-) diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index cfc1efb..e30fa6a 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -1678,7 +1678,8 @@ "description": "Version of the transaction scheme", "type": "string", "enum": [ - "0x0" + "0x0", + "0x100000000000000000000000000000000" ] }, "signature": { @@ -1732,7 +1733,8 @@ "description": "Version of the transaction scheme", "type": "string", "enum": [ - "0x1" + "0x0", + "0x100000000000000000000000000000001" ] }, "signature": { @@ -1796,7 +1798,8 @@ "description": "Version of the transaction scheme", "type": "string", "enum": [ - "0x2" + "0x2", + "0x100000000000000000000000000000002" ] }, "signature": { @@ -1856,7 +1859,8 @@ "description": "Version of the transaction scheme", "type": "string", "enum": [ - "0x3" + "0x3", + "0x100000000000000000000000000000003" ] }, "signature": { @@ -1956,7 +1960,11 @@ "version": { "title": "Version", "description": "Version of the transaction scheme", - "$ref": "#/components/schemas/NUM_AS_HEX" + "type": "string", + "enum": [ + "0x1", + "0x100000000000000000000000000000001" + ] }, "signature": { "title": "Signature", @@ -2017,7 +2025,11 @@ "version": { "title": "Version", "description": "Version of the transaction scheme", - "$ref": "#/components/schemas/NUM_AS_HEX" + "type": "string", + "enum": [ + "0x2", + "0x100000000000000000000000000000002" + ] }, "signature": { "title": "Signature", @@ -2074,7 +2086,11 @@ "version": { "title": "Version", "description": "Version of the transaction scheme", - "$ref": "#/components/schemas/NUM_AS_HEX" + "type": "string", + "enum": [ + "0x3", + "0x100000000000000000000000000000003" + ] }, "signature": { "title": "Signature", @@ -2141,7 +2157,11 @@ "version": { "title": "Version", "description": "Version of the transaction scheme", - "$ref": "#/components/schemas/NUM_AS_HEX" + "type": "string", + "enum": [ + "0x1", + "0x100000000000000000000000000000001" + ] }, "signature": { "title": "Signature", @@ -2195,7 +2215,11 @@ "version": { "title": "Version", "description": "Version of the transaction scheme", - "$ref": "#/components/schemas/NUM_AS_HEX" + "type": "string", + "enum": [ + "0x3", + "0x100000000000000000000000000000003" + ] }, "signature": { "title": "Signature", @@ -2310,7 +2334,8 @@ "description": "Version of the transaction scheme", "type": "string", "enum": [ - "0x0" + "0x0", + "0x100000000000000000000000000000000" ] }, "signature": { @@ -2378,7 +2403,11 @@ "version": { "title": "Version", "description": "Version of the transaction scheme", - "$ref": "#/components/schemas/NUM_AS_HEX" + "type": "string", + "enum": [ + "0x1", + "0x100000000000000000000000000000001" + ] }, "signature": { "title": "Signature", @@ -2430,7 +2459,11 @@ "version": { "title": "Version", "description": "Version of the transaction scheme", - "$ref": "#/components/schemas/NUM_AS_HEX" + "type": "string", + "enum": [ + "0x3", + "0x100000000000000000000000000000003" + ] }, "signature": { "title": "Signature",