From a4973c543015928170709b1249291a87783afa75 Mon Sep 17 00:00:00 2001 From: marioiordanov Date: Thu, 23 Nov 2023 10:28:18 +0200 Subject: [PATCH 1/3] fix typo --- api/starknet_api_openrpc.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index 91f92ac..69ac995 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -1403,7 +1403,7 @@ }, "l1_gas_price": { "title": "L1 gas price", - "descritpion": "The price of l1 gas in the block", + "description": "The price of l1 gas in the block", "$ref": "#/components/schemas/RESOURCE_PRICE" }, "starknet_version": { @@ -1445,7 +1445,7 @@ }, "l1_gas_price": { "title": "L1 gas price", - "descritpion": "The price of l1 gas in the block", + "description": "The price of l1 gas in the block", "$ref": "#/components/schemas/RESOURCE_PRICE" }, "starknet_version": { From a4fa65c9ffe78e18290faa6b345941cf3f2267b5 Mon Sep 17 00:00:00 2001 From: marioiordanov Date: Thu, 23 Nov 2023 10:42:40 +0200 Subject: [PATCH 2/3] added type: object to some components which were missing this property --- api/starknet_api_openrpc.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index 69ac995..e241a88 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -2227,6 +2227,7 @@ "DEPLOY_ACCOUNT_TXN_V1": { "title": "Deploy account transaction", "description": "Deploys an account contract, charges fee from the pre-funded account addresses", + "type": "object", "properties": { "type": { "title": "Deploy account", @@ -2290,6 +2291,7 @@ "DEPLOY_ACCOUNT_TXN_V3": { "title": "Deploy account transaction", "description": "Deploys an account contract, charges fee from the pre-funded account addresses", + "type": "object", "properties": { "type": { "title": "Deploy account", @@ -2429,6 +2431,7 @@ "INVOKE_TXN_V0": { "title": "Invoke transaction V0", "description": "invokes a specific function in the desired contract (not necessarily an account)", + "type": "object", "properties": { "type": { "title": "Type", From 9d73521d7813052065ea3a01e706d491d66f9662 Mon Sep 17 00:00:00 2001 From: marioiordanov Date: Thu, 23 Nov 2023 10:43:23 +0200 Subject: [PATCH 3/3] typo in amount --- api/starknet_api_openrpc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index e241a88..0a9e275 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -3661,7 +3661,7 @@ "type": "object", "properties": { "amount": { - "title": "Amunt", + "title": "Amount", "description": "amount paid", "$ref": "#/components/schemas/FELT" },