From 3c33c4f6a29f0b10f6f49ccd2e84546844fd5c41 Mon Sep 17 00:00:00 2001 From: Felix H Date: Tue, 19 May 2026 14:41:49 +0200 Subject: [PATCH] fix: `byte` and `uintDecimal` patterns fixed to match geth --- src/schemas/base-types.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schemas/base-types.yaml b/src/schemas/base-types.yaml index 237686f49..d5276a247 100644 --- a/src/schemas/base-types.yaml +++ b/src/schemas/base-types.yaml @@ -10,7 +10,7 @@ addresses: byte: title: hex encoded byte type: string - pattern: ^0x([0-9a-fA-F]?){1,2}$ + pattern: ^0x[0-9a-f]{1,2}$ bytes: title: hex encoded bytes type: string @@ -75,7 +75,7 @@ uint256: uintDecimal: title: decimal unsigned integer string type: string - pattern: ^[1-9][0-9]*$ + pattern: ^(0|[1-9][0-9]*)$ hash32: title: 32 byte hex value type: string