Add Types from RPC (and more tests) (#165)

* Tests for Array for proper coverage

* Expand tests

* Add PropIndex :(

* Add RawAddress

* Index -> Nonce

* Disable test for alias code (commented)

* Block & Extrinsic (base)

* String -> Text, Array -> Vector

* Remove Codec* prefixes

* Unsigned -> Long

* import renames

* Values for structures

* Export classes from Metadata

* Long -> UInt

* Alias vec<u8> -> Bytes
This commit is contained in:
Jaco Greeff
2018-09-25 18:22:25 +02:00
committed by GitHub
parent b13486f9ab
commit 964bf84b83
39 changed files with 588 additions and 291 deletions
+10
View File
@@ -0,0 +1,10 @@
// Copyright 2017-2018 @polkadot/api-codec authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
import Address from './Address';
// Wrapper for a RawAddress.
// NOTE Not 100% on the differences between this and Address in the runtime
export default class RawAddress extends Address {
}