Skip to content

Commit c56ee82

Browse files
committed
schemas: fixup based on pr comments
1 parent b6d9c44 commit c56ee82

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/schemas/execute.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
EthSimulatePayload:
22
title: Arguments for multi call
3+
required:
4+
- blockStateCalls
35
properties:
46
blockStateCalls:
57
title: Block State Calls
@@ -178,7 +180,6 @@ EthSimulateBlockResultSuccess:
178180
EthSimulateBlockResultSingleSuccess:
179181
title: Result of eth_simulate block-level, with array of calls
180182
type: object
181-
unevaluatedProperties: false
182183
allOf:
183184
- $ref: '#/components/schemas/Block'
184185
- type: object
@@ -240,7 +241,7 @@ CallResults:
240241
title: Results of multi call within block
241242
type: array
242243
items:
243-
anyOf:
244+
oneOf:
244245
- $ref: '#/components/schemas/CallResultFailure'
245246
- $ref: '#/components/schemas/CallResultSuccess'
246247
CallResultFailure:

src/schemas/transaction.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,6 @@ TransactionInfo:
467467
- from
468468
- hash
469469
- transactionIndex
470-
unevaluatedProperties: false
471470
properties:
472471
blockHash:
473472
title: block hash

tests/eth_simulateV1/ethSimulate-empty-ethSimulate.io

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)