Skip to content

Commit 303cf1a

Browse files
committed
Use new data schemas
1 parent 7611fea commit 303cf1a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

schemas/bytecode/instruction.schema.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ properties:
1919
the offset from the start of the container, not the start of a particular
2020
code section within that container.
2121
oneOf:
22-
- type: number
23-
minimum: 0
24-
- type: string
25-
pattern: "^0x[0-9a-fA-F]{1,}$"
22+
- $ref: "schema:ethdebug/format/data/unsigned"
23+
- $ref: "schema:ethdebug/format/data/hex"
2624

2725
operation:
2826
title: Machine operation information

0 commit comments

Comments
 (0)