Support new versioned metadata format (#632)

* Start something...

* Parsing via proxy (everything still all-ok)

* Imp[ort order (minor)

* WIP expanding the structure

* Adjust V1 structure

* Parsing seems to do the trick...

* Add CodeHash and Schedule types

* //v0/ -> /v0/

* Update Extrinsic.ts

* Updated with compact outerDispatch, non-throw construction

* v1 to V0 conversion

* Bubble non-magic errors in constructor

* Update e2e after testing them

* Bump version with CHANGELOG  (potentially breaking change)
This commit is contained in:
Jaco Greeff
2019-01-26 16:27:00 +01:00
committed by GitHub
parent f32404b1e4
commit fd93fbc4a6
55 changed files with 6081 additions and 240 deletions
+4
View File
@@ -1,3 +1,7 @@
# 0.41.1
- Support the V1 metadata specification from Substrate in addition to the currently testnet-active V0 version
# 0.40.1
- The API interfaces now require a WS-compatible provider, e.g. subscription support is a must. Previously the HTTPProvider could be use (although it was very limited in the interactions).