Skip to content

Commit b6d9c44

Browse files
committed
eth: add back err message for call status
1 parent f3b589f commit b6d9c44

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/schemas/execute.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ EthSimulateBlockResultSuccess:
178178
EthSimulateBlockResultSingleSuccess:
179179
title: Result of eth_simulate block-level, with array of calls
180180
type: object
181+
unevaluatedProperties: false
181182
allOf:
182183
- $ref: '#/components/schemas/Block'
183184
- type: object
@@ -270,13 +271,15 @@ CallResultFailure:
270271
const: -32000
271272
message:
272273
type: string
274+
pattern: "^execution reverted.*"
273275
required: [code, message]
274276
- type: object
275277
properties:
276278
code:
277279
const: -32015
278280
message:
279281
type: string
282+
pattern: "^vm execution error.*"
280283
CallResultSuccess:
281284
title: Result of call success
282285
type: object

0 commit comments

Comments
 (0)