Skip to content

Commit

Permalink
Merge pull request #16 from tomaka/fix-5
Browse files Browse the repository at this point in the history
Fix #5
  • Loading branch information
tomaka authored Aug 15, 2022
2 parents 2eba344 + 3b8d2ba commit 78b3679
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/api/chainHead_unstable_storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,23 @@ The `inaccessible` event indicates that the storage value has failed to be retri

No more event will be generated with this `subscription`.

### error

```json
{
"event": "error",
"error": "..."
}
```

The `error` event indicates a problem during the storage access, such as failing to parse the block header to obtain the state root hash.

Contrary to the `inaccessible` event, querying the same storage value again in the future will not succeed.

`error` is a human-readable error message indicating why the call has failed. This string isn't meant to be shown to end users, but is for developers to understand the problem.

No more event will be generated with this `subscription`.

### disjoint

```json
Expand Down

0 comments on commit 78b3679

Please sign in to comment.