From 84b9365f502c3717c76864bc3dfbb281f49f9aad Mon Sep 17 00:00:00 2001 From: Ariel Elperin Date: Thu, 14 Nov 2024 08:18:17 +0200 Subject: [PATCH] add call on pending error --- api/starknet_ws_api.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/starknet_ws_api.json b/api/starknet_ws_api.json index d746037..90f9996 100644 --- a/api/starknet_ws_api.json +++ b/api/starknet_ws_api.json @@ -32,6 +32,9 @@ }, { "$ref": "./api/starknet_api_openrpc.json#/components/errors/BLOCK_NOT_FOUND" + }, + { + "$ref": "#/components/errors/CALL_ON_PENDING" } ] }, @@ -101,6 +104,9 @@ }, { "$ref": "./api/starknet_api_openrpc.json#/components/errors/BLOCK_NOT_FOUND" + }, + { + "$ref": "#/components/errors/CALL_ON_PENDING" } ] }, @@ -367,6 +373,10 @@ "TOO_MANY_BLOCKS_BACK": { "code": 68, "message": "Cannot go back more than 1024 blocks" + }, + "CALL_ON_PENDING": { + "code": 69, + "message": "This method does not support being called on the pending block" } } }