Skip to content

Commit

Permalink
chore: update thor.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain committed Jan 29, 2024
1 parent 63a9b32 commit 68a34b4
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions api/doc/thor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,8 @@ paths:
- Debug
summary: Retrieve storage range
description: |
of the account with given address
The endpoint retrieves storage entries related for a particular transaction clause and contract address. This
could be useful for inspecting or analyzing storage changes.
requestBody:
required: true
content:
Expand Down Expand Up @@ -2148,7 +2149,7 @@ components:
example: '0x010709463c1f0c9aa66a31182fb36d1977d99bfb6526bae0564a0eac4006c31a/0/0'
required: true
nullable: false
pattern: '^0x[0-9a-fA-F]{64}/[0-9]+/[0-9]+$'
pattern: '(0x)?[0-9a-fA-F]{64}\/(0x)?([0-9]+|[0-9a-fA-F]+|[a-fA-F]+)\/[0-9]+$'
example:
target: '0x010709463c1f0c9aa66a31182fb36d1977d99bfb6526bae0564a0eac4006c31a/0/0'

Expand Down Expand Up @@ -2213,9 +2214,14 @@ components:
target:
type: string
example: '0x010709463c1f0c9aa66a31182fb36d1977d99bfb6526bae0564a0eac4006c31a/0/0'
description: |
The unified path of the transaction clause.
Format:
`blockID/(txIndex|txId)/clauseIndex`
required: true
nullable: false
pattern: '^0x[0-9a-fA-F]{64}/[0-9]+/[0-9]+$'
pattern: '(0x)?[0-9a-fA-F]{64}\/(0x)?([0-9]+|[0-9a-fA-F]+|[a-fA-F]+)\/[0-9]+$'

StorageRange:
type: object
Expand Down

0 comments on commit 68a34b4

Please sign in to comment.