Commit Graph
1183 Commits
Author SHA1 Message Date
Jaco Greeff e5cc6836eb BlockNumber, Nonce -> u32 (#1284)
* BlockNumber -> u32

* Interface types extend, not re-use

* Merge master, rebuild

* Merge typo

* Lazy create struct types (extended definitions)

* Cleanup tests for Nonce u32

* Remove polkadot u64 BlockNumber (substrate default)

* Warn on type dup & still clear

* Allow type overrides to work at any point
2019-08-11 15:07:00 +02:00
Jaco Greeff 1aa7899a7a Allow string types inputs into codec (#1292)
* Allow string types inputs into codec

* Linkage allows string constructors

* Import case

* Cleanup keyof imports

* Attempt linkage doc fix
2019-08-11 14:01:20 +02:00
Travis CI 29b1429c4d [CI Skip] 0.90.0-beta.38 2019-08-10 12:35:04 +00:00
Jaco Greeff b595428372 Lazily create registry types (also solves resolution order) (#1291)
* Lazily create registry types (also solves resolution order)

* Typo in comment

* Alphabetical definitions (ordering detected)

* Make fallback & SessionKeys work as expected

* Cleanup registration, user-types takes priority

* typo

* Api constructors only take options

* Cleanup typos

* Don't create classes while validating metadata

* Adjust badges... well, waiting for CI, so...

* typo
2019-08-10 14:24:04 +02:00
Travis CI 62ba9f9b95 [CI Skip] 0.90.0-beta.37 2019-08-10 08:01:56 +00:00
Jaco Greeff aa3de431ba Update VestingSchedule (#1289) 2019-08-10 09:50:26 +02:00
Travis CI 18379d0882 [CI Skip] 0.90.0-beta.36 2019-08-10 06:13:09 +00:00
Jaco Greeff 1c885a25b0 Update Polkadot session keys (#1287) 2019-08-10 08:02:16 +02:00
Travis CI 825f45e467 [CI Skip] 0.90.0-beta.35 2019-08-09 22:56:40 +00:00
Jaco Greeff 40cf70f415 Add polkadot attestations types (#1286)
* Add polkadot attestations types

* Config updates (misc, non-related)
2019-08-10 00:45:37 +02:00
Travis CI 641445e9c0 [CI Skip] 0.90.0-beta.34 2019-08-09 14:00:11 +00:00
Jaco Greeff 60148f2864 Bump deps (#1283)
* Bump deps

* jest --runInBand
2019-08-09 15:49:57 +02:00
Travis CI 98c821d7fb [CI Skip] 0.90.0-beta.33 2019-08-09 08:49:11 +00:00
Jaco Greeff debb1dc781 Bump deps (#1282) 2019-08-09 10:38:35 +02:00
Travis CI 018aa868b1 [CI Skip] 0.90.0-beta.32 2019-08-09 07:30:29 +00:00
Jaco Greeff 2e109ba2a5 Swap Keys to "Opaque" tuple definitions (#1281) 2019-08-09 09:19:47 +02:00
Travis CI 9c301551e0 [CI Skip] 0.90.0-beta.31 2019-08-08 11:08:47 +00:00
Travis CI a2ce630963 [CI Skip] 0.90.0-beta.30 2019-08-07 21:44:54 +00:00
Jaco Greeff 2ddc87c70f Extract abrs author (#1278)
* ABRS types

* Extrcat abrs author
2019-08-07 23:34:25 +02:00
Travis CI 47b456664c [CI Skip] 0.90.0-beta.29 2019-08-07 19:32:30 +00:00
Jaco Greeff b2102d9a2b Cater for key definitions rework (#1269)
* Keys structure update

* Bump metadata, pull new keys

* Update for latest

* Update tests for new values

* Polkador session keys override

* Cleanup tests (browserlist adjustments)

* Update metadata

* Bump deps
2019-08-07 21:21:45 +02:00
Travis CI 11e9ccba21 [CI Skip] 0.90.0-beta.28 2019-08-07 16:19:57 +00:00
Jaco Greeff 438c02def5 Add types for Polkadot claims module (#1277)
* Add types for Polkadot claims module

* ' instead of `

* Adjust types, `[u8; x]` workarounds

* One less import

* Map [u8; x] -> Uint8Array

* Fix Codec imports
2019-08-07 18:08:38 +02:00
Travis CI c7584a083d [CI Skip] 0.90.0-beta.27 2019-08-07 12:03:28 +00:00
Jaco Greeff 3d8fbcf107 Making interfaces less noisy (#1276)
* Making interfaces less noisy

* Wrap loose-standing parts into a main
2019-08-07 13:52:35 +02:00
Travis CI 294285ac4d [CI Skip] 0.90.0-beta.26 2019-08-07 10:53:07 +00:00
Travis CI 3f427483f8 [CI Skip] 0.90.0-beta.25 2019-08-06 14:45:20 +00:00
Travis CI 55cc2625c8 [CI Skip] 0.90.0-beta.24 2019-08-06 09:20:20 +00:00
Jaco Greeff 1b94f0ca7f Vote decoding tweaks (#1270) 2019-08-06 11:09:58 +02:00
Travis CI 7ab0871e0c [CI Skip] 0.90.0-beta.23 2019-08-05 16:24:47 +00:00
Travis CI 73f33d0168 [CI Skip] 0.90.0-beta.22 2019-08-04 05:44:31 +00:00
Travis CI 96aa8ae660 [CI Skip] 0.90.0-beta.21 2019-08-03 18:16:49 +00:00
Travis CI 273fdfe5a8 [CI Skip] 0.90.0-beta.20 2019-08-03 07:50:34 +00:00
Jaco Greeff 21e2d2843e AuthorityIndex -> u32 (#1261)
* AuthorityIndex -> u32

* Interface update

* Run build:interfaces as part of build command
2019-08-03 09:38:47 +02:00
Travis CI f7c49906e4 [CI Skip] 0.90.0-beta.19 2019-08-02 19:32:53 +00:00
Jaco Greeff 981a839b4a Bump deps (#1259)
* Bump deps

* Bump common
2019-08-02 21:22:01 +02:00
Travis CI 658cdbbb10 [CI Skip] 0.90.0-beta.18 2019-08-02 13:40:57 +00:00
Travis CI e949d89acb [CI Skip] 0.90.0-beta.17 2019-08-02 12:47:03 +00:00
Jaco Greeff 782f4f1f54 Support new v3 extrinsic (payload with genesisHash) (#1248)
* Make a start, copy stuff

* Payload adjusted

* Linting

* Small cleanups after testing

* Some duplication cleanups (yes... this needs work)

* Slightly less duplication (still not great)

* Typo in getter
2019-08-02 14:36:08 +02:00
Travis CI add04b1908 [CI Skip] 0.90.0-beta.16 2019-08-02 12:31:06 +00:00
Travis CI c3c88c0ea4 [CI Skip] 0.90.0-beta.15 2019-08-02 05:26:38 +00:00
Travis CI caaeea101b [CI Skip] 0.90.0-beta.14 2019-08-01 15:28:25 +00:00
Travis CI b885b8681e [CI Skip] 0.90.0-beta.13 2019-08-01 08:56:42 +00:00
Amaury Martiny 92044d471c Make api.rpc.*.* typed (#1237)
* Generate correctly

* Fix rpc-core

* Flexible types

* Make types work!

* Lint

* Fix grumble

* Re generate

* Fix lint

* Fix small bugs

* Maybe really fix lint?

* Fix lint again

* Fix lint

* Small ordering & formatting  changes while playing...
2019-08-01 10:46:28 +02:00
Travis CI 3290f14a75 [CI Skip] 0.90.0-beta.12 2019-07-31 20:25:39 +00:00
Travis CI d1cbf0b450 [CI Skip] 0.90.0-beta.11 2019-07-31 14:58:49 +00:00
Travis CI dc5d71c16a [CI Skip] 0.90.0-beta.10 2019-07-31 13:11:38 +00:00
Jaco Greeff 6999f8c71f Fix doc generation for DoubleMap (#1245)
* Fix doc generation for DoubleMap

* Add ; - VSCode, why are you failing me? ...
2019-07-31 15:01:21 +02:00
Travis CI dea3f79c84 [CI Skip] 0.90.0-beta.9 2019-07-31 07:19:24 +00:00
Jaco Greeff ddc46ed237 Re-add StorageData from 0.82.0-beta.96 (not an alias) (#1240) 2019-07-31 09:07:44 +02:00