Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions schemas/program.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ properties:
description: |
The context known to exist prior to the execution of the first
instruction in the bytecode.

This field is **optional**. Omitting it is equivalent to specifying the
empty context value (`{}`).
$ref: "schema:ethdebug/format/program/context"
default: {}

instructions:
type: array
Expand Down
1 change: 0 additions & 1 deletion schemas/program/context.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ anyOf:
- $ref: "schema:ethdebug/format/program/context/variables"
- $ref: "schema:ethdebug/format/program/context/remark"

minProperties: 1
unevaluatedProperties: false

examples:
Expand Down
5 changes: 4 additions & 1 deletion schemas/program/instruction.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,14 @@ properties:
context:
description: |
The context known to exist following the execution of this instruction.

This field is **optional**. Omitting it is equivalent to specifying the
empty context value (`{}`).
$ref: "schema:ethdebug/format/program/context"
default: {}

required:
- offset
- context

examples:
- offset: 0
Expand Down