Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/schemas/block.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Block:
- size
- transactions
- uncles
additionalProperties: false
properties:
hash:
title: Hash
Expand Down
28 changes: 20 additions & 8 deletions src/schemas/execute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Withdrawals:
description: This array can have a maximum length of 16.
type: array
items:
- $ref: '#/components/schemas/Withdrawal'
$ref: '#/components/schemas/Withdrawal'
Withdrawal:
title: A withdrawal made by a validator
type: object
Expand All @@ -168,7 +168,7 @@ Withdrawal:
$ref: '#/components/schemas/uint64'
EthSimulateResult:
title: Full results of multi call
type: object
type: array
oneOf:
- $ref: '#/components/schemas/EthSimulateBlockResultInvalid'
- $ref: '#/components/schemas/EthSimulateBlockResultSuccess'
Expand All @@ -182,7 +182,8 @@ EthSimulateBlockResultSingleSuccess:
type: object
allOf:
- $ref: '#/components/schemas/Block'
- title: Eth Simulate call results
- type: object
title: Eth Simulate call results
required:
- calls
properties:
Expand Down Expand Up @@ -265,10 +266,21 @@ CallResultFailure:
$ref: '#/components/schemas/uint64'
error:
oneOf:
- code: -32000
message: 'Execution reverted'
- code: -32015
message: 'VM execution error'
- type: object
properties:
code:
const: -32000
message:
type: string
pattern: "^execution reverted.*"
required: [code, message]
- type: object
properties:
code:
const: -32015
message:
type: string
pattern: "^vm execution error.*"
CallResultSuccess:
title: Result of call success
type: object
Expand Down Expand Up @@ -298,7 +310,7 @@ CallResultLog:
type: object
required:
- logIndex
- blockhash
- blockHash
- blockNumber
- transactionHash
- transactionIndex
Expand Down
1 change: 0 additions & 1 deletion src/schemas/transaction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,6 @@ TransactionInfo:
- from
- hash
- transactionIndex
unevaluatedProperties: false
properties:
blockHash:
title: block hash
Expand Down
3 changes: 0 additions & 3 deletions tests/eth_simulateV1/ethSimulate-empty-ethSimulate.io

This file was deleted.