Skip to content

Commit

Permalink
fix: thor.yaml regex
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain committed Jan 29, 2024
1 parent 9f05c24 commit 2678e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/doc/thor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2149,7 +2149,7 @@ components:
example: '0x010709463c1f0c9aa66a31182fb36d1977d99bfb6526bae0564a0eac4006c31a/0/0'
required: true
nullable: false
pattern: '(0x)?[0-9a-fA-F]{64}\/(0x)?([0-9]+|[0-9a-fA-F]+|[a-fA-F]+)\/[0-9]+$'
pattern: '^0x[0-9a-fA-F]{64}\/(0x[0-9a-fA-F]{64}|\d+)\/[0-9]+$'
example:
target: '0x010709463c1f0c9aa66a31182fb36d1977d99bfb6526bae0564a0eac4006c31a/0/0'

Expand Down Expand Up @@ -2221,7 +2221,7 @@ components:
`blockID/(txIndex|txId)/clauseIndex`
required: true
nullable: false
pattern: '(0x)?[0-9a-fA-F]{64}\/(0x)?([0-9]+|[0-9a-fA-F]+|[a-fA-F]+)\/[0-9]+$'
pattern: '^0x[0-9a-fA-F]{64}\/(0x[0-9a-fA-F]{64}|\d+)\/[0-9]+$'

StorageRange:
type: object
Expand Down

0 comments on commit 2678e2a

Please sign in to comment.