From 303cf1a21f14bcd6c503f0836c1675c584b5328c Mon Sep 17 00:00:00 2001 From: "g. nicholas d'andrea" Date: Thu, 29 Aug 2024 17:48:54 +0200 Subject: [PATCH] Use new data schemas --- schemas/bytecode/instruction.schema.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/schemas/bytecode/instruction.schema.yaml b/schemas/bytecode/instruction.schema.yaml index dda77afd..4b391ba7 100644 --- a/schemas/bytecode/instruction.schema.yaml +++ b/schemas/bytecode/instruction.schema.yaml @@ -19,10 +19,8 @@ properties: the offset from the start of the container, not the start of a particular code section within that container. oneOf: - - type: number - minimum: 0 - - type: string - pattern: "^0x[0-9a-fA-F]{1,}$" + - $ref: "schema:ethdebug/format/data/unsigned" + - $ref: "schema:ethdebug/format/data/hex" operation: title: Machine operation information