Custom extrinsic formats (docs) (#1429)

* Custom extrinsic formats (docs)

* Typos

* Typos (other docs)
This commit is contained in:
Jaco Greeff
2019-09-30 14:42:06 +02:00
committed by GitHub
parent 7b2cf6dcb0
commit af682bc23b
12 changed files with 181 additions and 22 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ Additionally the metadata also provides information on [events](../substrate/eve
## Types
The metadata defiends the calls with all the type names used in the various interfaces. At the moment (this is undergoing investigations and could improve in future versions of metadata), this also means that the types between the API and the node need to be aligned. For instance, by default Substrate defines a `BlockNumber` type as a `u32` and the API follows the Substrate defaults - if a chain has a different definitions, the API needs to be aware of this so it can actually decode (and encode) the type.
The metadata defines the calls with all the type names used in the various interfaces. At the moment (this is undergoing investigations and could improve in future versions of metadata), this also means that the types between the API and the node need to be aligned. For instance, by default Substrate defines a `BlockNumber` type as a `u32` and the API follows the Substrate defaults - if a chain has a different definitions, the API needs to be aware of this so it can actually decode (and encode) the type.
At this point just be aware of it, we will touch on types, custom chains and their impacts in a later section.