Skip to content
Open
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: 2 additions & 2 deletions src/schemas/base-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading