Skip to content

Fix eth_simulate type specification and rename "multi" -> "eth_simulate" #670

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all 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
19 changes: 12 additions & 7 deletions src/schemas/execute.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
EthSimulatePayload:
title: Arguments for multi call
title: Arguments for eth_simulate call
required:
- blockStateCalls
properties:
Expand Down Expand Up @@ -167,16 +167,21 @@ Withdrawal:
title: Amount
$ref: '#/components/schemas/uint64'
EthSimulateResult:
title: Full results of multi call
title: Full results of eth_simulate call
type: object
oneOf:
- $ref: '#/components/schemas/EthSimulateBlockResultInvalid'
- $ref: '#/components/schemas/EthSimulateBlockResultSuccess'
EthSimulateBlockResultSuccess:
title: Full results of multi call
type: array
items:
$ref: '#/components/schemas/EthSimulateBlockResultSingleSuccess'
title: Full results of a successful eth_simulate call
type: object
required:
- result
properties:
result:
type: array
items:
- $ref: '#/components/schemas/EthSimulateBlockResultSingleSuccess'
EthSimulateBlockResultSingleSuccess:
title: Result of eth_simulate block-level, with array of calls
type: object
Expand Down Expand Up @@ -237,7 +242,7 @@ EthSimulateBlockResultInvalid:
- code: -38026
message: Client adjustable limit exceeded
CallResults:
title: Results of multi call within block
title: Results of eth_simulate call within block
type: array
items:
oneOf:
Expand Down
Loading