From e7ed7f0ca185817c60ffe14846c3b403a4032b86 Mon Sep 17 00:00:00 2001 From: ArielElp Date: Thu, 30 Mar 2023 08:50:58 +0300 Subject: [PATCH] add required to declarev2 & add from_address to messages --- api/starknet_api_openrpc.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index 6bd8bb7..330c548 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -1406,7 +1406,10 @@ "description": "The hash of the Cairo assembly resulting from the Sierra compilation", "$ref": "#/components/schemas/FELT" } - } + }, + "required": [ + "compiled_class_hash" + ] } ] }, @@ -1972,6 +1975,10 @@ "MSG_TO_L1": { "type": "object", "properties": { + "from_address": { + "description": "The address of the L2 contract sending the message", + "$ref": "#/components/schemas/FELT" + }, "to_address": { "description": "The target L1 address the message is sent to", "$ref": "#/components/schemas/FELT" @@ -1985,6 +1992,7 @@ } }, "required": [ + "from_address", "to_address", "payload" ]