Skip to content

Commit bb68af1

Browse files
committed
Merge remote-tracking branch 'origin/main' into lexnv/archive_body
Signed-off-by: Alexandru Vasile <[email protected]>
2 parents 3d91e51 + 7de90b1 commit bb68af1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/api/archive_unstable_finalizedHeight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Parameters**: *none*
44

5-
**Return value**: String containing the hexadecimal-encoded height of the current finalized block of the chain.
5+
**Return value**: An integer height of the current finalized block of the chain.
66

77
The value returned by this function must only ever increase over time. In other words, if calling this function returns `N`, then calling it again later must return a value superior or equal to `N`.
88

src/api/archive_unstable_hashByHeight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Parameters**:
44

5-
- `height`: String containing a hexadecimal-encoded integer.
5+
- `height`: Integer representing the height of the block.
66

77
**Return value**: Array (possibly empty) of strings containing a hexadecimal-encoded hash of a block header.
88

src/api/archive_unstable_storageContinue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
**Return value**: *null*
88

9-
Resumes a storage fetch started with `archive_unstable_storage` after it has generated a `waiting-for-continue` event.
9+
Resumes a storage fetch started with `archive_unstable_storage` after it has generated a `waitingForContinue` event.
1010

1111
Has no effect if the `subscription` is invalid or refers to a subscription that has emitted a `{"event": "stop"}` event.
1212

1313
## Possible errors
1414

15-
- A JSON-RPC error is generated if the `subscription` is valid but hasn't generated a `waiting-for-continue` event.
15+
- A JSON-RPC error is generated if the `subscription` is valid but hasn't generated a `waitingForContinue` event.

src/api/chainHead_unstable_follow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ The `closestDescendantMerkleValue` field is set if this item corresponds to one
213213

214214
`operationId` is a string returned by `chainHead_unstable_storage`.
215215

216-
The `waiting-for-continue` event is generated after at least one `"operationStorageItems"` event has been generated, and indicates that the JSON-RPC client must call `chainHead_unstable_continue` before more events are generated.
216+
The `waitingForContinue` event is generated after at least one `"operationStorageItems"` event has been generated, and indicates that the JSON-RPC client must call `chainHead_unstable_continue` before more events are generated.
217217

218218
This event only ever happens if the `type` of one of the `items` provided as a parameter to `chainHead_unstable_storage` was `descendantsValues` or `descendantsHashes`.
219219

0 commit comments

Comments
 (0)