From b1b67edc8a0a7bc940634a161a13c9bfb1a5aea6 Mon Sep 17 00:00:00 2001 From: stolab <144235139+stolab@users.noreply.github.com> Date: Fri, 26 Jan 2024 17:20:10 +0100 Subject: [PATCH] =?UTF-8?q?[Fixes=20514]=20update=20the=20doc=20of=20eth?= =?UTF-8?q?=5FgetBalance=20to=20put=20block=20as=20required=E2=80=A6=20(#5?= =?UTF-8?q?15)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [Fixes 514] update the doc of eth_getBalance to put block as required parameters * change the block parameters to true for the eth_getStorageAt * eth/state: block ident should be required for getTransactionCount and getCode --------- Co-authored-by: lightclient --- src/eth/state.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/eth/state.yaml b/src/eth/state.yaml index 4b62c1ee2..2684e0ffc 100644 --- a/src/eth/state.yaml +++ b/src/eth/state.yaml @@ -6,7 +6,7 @@ schema: $ref: '#/components/schemas/address' - name: Block - required: false + required: true schema: $ref: '#/components/schemas/BlockNumberOrTagOrHash' result: @@ -25,7 +25,7 @@ schema: $ref: '#/components/schemas/uint256' - name: Block - required: false + required: true schema: $ref: '#/components/schemas/BlockNumberOrTagOrHash' result: @@ -40,7 +40,7 @@ schema: $ref: '#/components/schemas/address' - name: Block - required: false + required: true schema: $ref: '#/components/schemas/BlockNumberOrTagOrHash' result: @@ -55,7 +55,7 @@ schema: $ref: '#/components/schemas/address' - name: Block - required: false + required: true schema: $ref: '#/components/schemas/BlockNumberOrTagOrHash' result: