Skip to content

Commit

Permalink
[Fixes 514] update the doc of eth_getBalance to put block as required… (
Browse files Browse the repository at this point in the history
#515)

* [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 <[email protected]>
  • Loading branch information
stolab and lightclient authored Jan 26, 2024
1 parent cea7eeb commit b1b67ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/eth/state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
schema:
$ref: '#/components/schemas/address'
- name: Block
required: false
required: true
schema:
$ref: '#/components/schemas/BlockNumberOrTagOrHash'
result:
Expand All @@ -25,7 +25,7 @@
schema:
$ref: '#/components/schemas/uint256'
- name: Block
required: false
required: true
schema:
$ref: '#/components/schemas/BlockNumberOrTagOrHash'
result:
Expand All @@ -40,7 +40,7 @@
schema:
$ref: '#/components/schemas/address'
- name: Block
required: false
required: true
schema:
$ref: '#/components/schemas/BlockNumberOrTagOrHash'
result:
Expand All @@ -55,7 +55,7 @@
schema:
$ref: '#/components/schemas/address'
- name: Block
required: false
required: true
schema:
$ref: '#/components/schemas/BlockNumberOrTagOrHash'
result:
Expand Down

0 comments on commit b1b67ed

Please sign in to comment.