From 292c02a86e8a07d0bbfb16bbd45a1d124da9c257 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 28 Nov 2023 14:01:08 -0600 Subject: [PATCH 1/2] fix add-ethereum-chain params spec --- openrpc.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openrpc.json b/openrpc.json index 5bd2eca..f26e603 100644 --- a/openrpc.json +++ b/openrpc.json @@ -1013,7 +1013,10 @@ "title": "AddEthereumChainParameter", "type": "object", "required": [ - "chainId" + "chainId", + "chainName", + "rpcUrls", + "nativeCurrency" ], "properties": { "chainId": { From f1d52358943714c58441d068f8089e82b2764247 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 29 Nov 2023 09:55:29 -0600 Subject: [PATCH 2/2] address feedback --- openrpc.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openrpc.json b/openrpc.json index f26e603..5e41954 100644 --- a/openrpc.json +++ b/openrpc.json @@ -1015,8 +1015,8 @@ "required": [ "chainId", "chainName", - "rpcUrls", - "nativeCurrency" + "nativeCurrency", + "rpcUrls" ], "properties": { "chainId": { @@ -1048,7 +1048,9 @@ "rpcUrls": { "description": "One or more URLs pointing to RPC endpoints that can be used to communicate with the chain. At least one item is required, and only the first item is used.", "type": "array", + "minItems": 1, "items": { + "format": "uri", "type": "string" } }