Skip to content

Commit

Permalink
Use template schema properly
Browse files Browse the repository at this point in the history
  • Loading branch information
gnidan committed Aug 30, 2024
1 parent 303cf1a commit dd71ace
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions schemas/bytecode.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,24 @@ properties:
additionalItems: false

types:
type: object
title: Types by name
description: |
A collection of types by name identifier. This field is optional and
**may** be used by compilers that wish to minimize the size of output
debugging data by de-duplicating type representations.
type: object
additionalProperties:
$ref: "schema:ethdebug/format/type"

pointers:
$ref: "schema:ethdebug/format/pointer/templates"
title: Pointers by name
description: |
A collection of pointer templates by name identifier. This field is
optional and **may** be used by compilers that wish to minimize the size
of output debugging data by de-duplicating type representations.
type: object
additionalProperties:
$ref: "schema:ethdebug/format/pointer/template"

required:
- instructions
Expand Down

0 comments on commit dd71ace

Please sign in to comment.