You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/api/chainHead_unstable_follow.md
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -178,7 +178,6 @@ The format of the `finalizedBlockRuntime` and `newRuntime` fields can be one of:
178
178
"spec": {
179
179
"specName": ...,
180
180
"implName": ...,
181
-
"authoringVersion": ...,
182
181
"specVersion": ...,
183
182
"implVersion": ...,
184
183
"transactionVersion": ...,
@@ -195,8 +194,6 @@ The fields of `spec` are:
195
194
196
195
-`implName`: Opaque string indicating the name of the implementation of the chain.
197
196
198
-
-`authoringVersion`: Opaque integer. Used by the internals of validator nodes that use a native executor in order to be sure that their native executor matches the WebAssembly code.
199
-
200
197
-`specVersion`: Opaque integer. The JSON-RPC client can assume that the call to `Metadata_metadata` will always produce the same output as long as the `specVersion` is the same.
201
198
202
199
-`implVersion`: Opaque integer. Whenever the runtime code changes in a backwards-compatible way, the `implVersion` is modified while the `specVersion` is left untouched.
@@ -205,17 +202,18 @@ The fields of `spec` are:
205
202
206
203
-`apis`: Object containing a list of "entry point APIs" supported by the runtime. Each key is an opaque string indicating the API, and each value is an integer version number. Before making a runtime call (using `chainHead_unstable_call`), you should make sure that this list contains the entry point API corresponding to the call and with a known version number.
207
204
208
-
**Note**: In Substrate, the key contains the hexadecimal-encoded 8-bytes blake2 hash of the name of the API. For example, the `TaggedTransactionQueue` API is `0xd2bc9897eed08f15`.
205
+
**Note**: In Substrate, the keys in the `apis` field consists of the hexadecimal-encoded 8-bytes blake2 hash of the name of the API. For example, the `TaggedTransactionQueue` API is `0xd2bc9897eed08f15`.
209
206
210
207
**Note**: The format of `apis` is not the same as in the legacy JSON-RPC API.
211
208
209
+
**Note**: The list of fields is only a subset of the list of so-called "runtime specification" found in the runtime. The fields that aren't useful from a JSON-RPC client perspective are intentionally not included.
0 commit comments