Skip to content

Commit b3b761d

Browse files
authored
archive: Use camelCase for waitingForContinue event (#93)
Signed-off-by: Alexandru Vasile <[email protected]>
1 parent b521e1e commit b3b761d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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)