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
@@ -175,7 +175,6 @@ The format of the `finalizedBlockRuntime` and `newRuntime` fields can be one of:
175
175
"spec": {
176
176
"specName": ...,
177
177
"implName": ...,
178
-
"authoringVersion": ...,
179
178
"specVersion": ...,
180
179
"implVersion": ...,
181
180
"transactionVersion": ...,
@@ -192,8 +191,6 @@ The fields of `spec` are:
192
191
193
192
-`implName`: Opaque string indicating the name of the implementation of the chain.
194
193
195
-
-`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.
196
-
197
194
-`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.
198
195
199
196
-`implVersion`: Opaque integer. Whenever the runtime code changes in a backwards-compatible way, the `implVersion` is modified while the `specVersion` is left untouched.
@@ -202,17 +199,18 @@ The fields of `spec` are:
202
199
203
200
-`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.
204
201
205
-
**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`.
202
+
**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`.
206
203
207
204
**Note**: The format of `apis` is not the same as in the legacy JSON-RPC API.
208
205
206
+
**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