Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <[email protected]>
  • Loading branch information
libotony authored and jsvisa committed Dec 7, 2024
1 parent 06e8c76 commit 2bb8439
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions api/doc/thor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2104,11 +2104,12 @@ components:
The unified path of the target to be traced. Currently, only the clause is supported.
Format:
`blockID/(txIndex|txId)/clauseIndex`
`blockID/(txIndex|txId)/clauseIndex` or `txID/clauseIndex`
example: '0x010709463c1f0c9aa66a31182fb36d1977d99bfb6526bae0564a0eac4006c31a/0/0'
nullable: false
pattern: '^0x[0-9a-fA-F]{64}\/(0x[0-9a-fA-F]{64}|\d+)\/[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 @@ -2174,9 +2175,9 @@ components:
The unified path of the transaction clause.
Format:
`blockID/(txIndex|txId)/clauseIndex`
`blockID/(txIndex|txId)/clauseIndex` or `txID/clauseIndex`
nullable: false
pattern: '^0x[0-9a-fA-F]{64}\/(0x[0-9a-fA-F]{64}|\d+)\/[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 2bb8439

Please sign in to comment.