Commit Graph
1741 Commits
Author SHA1 Message Date
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
Jaco Greeff 724c4b8263 Return sessionIds & nextSessionIds in staking.info (#1272)
* Return sessionIds & nextSessionIds in staking.info

* Simplify
2019-08-06 16:34:11 +02: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
kwingram25 09ee77d0bc Pass online/offline status indicators with staking accounts (#1265)
* staking online status

* restrict onlineStatus.online to validators

* get onlineStatus for stash/validator only

* tests

* fixes

* Add offline

* Revert stash, change to stashId, linting

* Heartbeat signature

* Make CodeClimate (slightly) happier

* keep compatibility

* change status type

* rv null possible

* cleanup
2019-08-05 16:13:42 +00:00
Travis CI 73f33d0168 [CI Skip] 0.90.0-beta.22 2019-08-04 05:44:31 +00:00
Jaco Greeff 8da526132d Retrieve nextKeys, only deal with stash (#1266)
* Retrieve nextKeys, only deal with stash

* Split long function

* Allow 1.x operation

* Make CodeClimate happier

* Define result type

* Cleanups
2019-08-04 07:33:31 +02: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
Jaco Greeff 82a1c25f17 Tests for approvalFlagToBool (#1251)
* Tests for approvalFlagToBool

* Merge master
2019-08-02 20:44:25 +02:00
Travis CI 658cdbbb10 [CI Skip] 0.90.0-beta.18 2019-08-02 13:40:57 +00:00
Jaco Greeff 9bd5c09c39 Expose api.sign, create signRaw interface for signer (#1256)
* Expose api.sign, create signRaw interface for signer

* SigneAccountSigner signRaw

* Tests for api.sign interface
2019-08-02 15:30:17 +02: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
Jaco Greeff 17063093bf Fixup cache for multiple values (real length check now) (#1257) 2019-08-02 14:18:54 +02:00
Travis CI c3c88c0ea4 [CI Skip] 0.90.0-beta.15 2019-08-02 05:26:38 +00:00
Ian He afa4b2b601 fix missing Metadata import (#1255) 2019-08-02 07:16:33 +02:00
Travis CI caaeea101b [CI Skip] 0.90.0-beta.14 2019-08-01 15:28:25 +00:00
Jake Naviasky 58993042c1 Fixing approvalFlagsToBools. (#1250) 2019-08-01 17:18:18 +02: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
Jaco Greeff 19c3e4b510 Don't apply value-caching on single-value subs (#1246) 2019-07-31 22:15:08 +02:00
Travis CI d1cbf0b450 [CI Skip] 0.90.0-beta.11 2019-07-31 14:58:49 +00:00
Stefanie Doll 7a08b37ec3 Fix & convert e2e tests (#1167)
* split off rx-query tests

* Split off promise-rx tests

* use funded bob_stash for alex

* Fixed transfer e2e tests pt. 1

* wip era tx

* split derive promises

* delete outdated e2e metadata tests

* add randomAsHex test files

* WIP

* tslint

* add index file to e2e util

* rx-tx tests

* eslint types

* linting

* contract ? storage tests

* promise-contract tests

* fix lint errors after merge

* re-implement lost merge changes

* Only support recent ink versions

* child-storage tests

* Add e2e tests for storage input type

* All tests passing for rpc-core

* linting

* wrong file path

* remove old contract files & change folder name

* added larger random as hex files
2019-07-31 16:47:12 +02: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 891a34292b Update DoubleMap e2e test for net setKeys (#1243) 2019-07-31 09:09:26 +02: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
Travis CI 73a0596fd9 [CI Skip] 0.90.0-beta.8 2019-07-30 12:34:45 +00:00
Jaco Greeff 14f018d57f Fix session/era calculations for Babe (#1235) 2019-07-30 14:24:41 +02:00
Travis CI 25fb24ce45 [CI Skip] 0.90.0-beta.7 2019-07-30 11:27:46 +00:00
Jaco Greeff e70f26d957 Align const method names (#1234) 2019-07-30 13:17:00 +02:00
Jaco Greeff 03581355be Add author_removeExtrinsic RPC (#1233) 2019-07-30 13:16:20 +02:00
Travis CI b347f8f13f [CI Skip] 0.90.0-beta.6 2019-07-30 06:25:38 +00:00
Jaco Greeff c90a4ba69d Bump metadata (#1231) 2019-07-30 08:14:50 +02:00
Travis CI 44202ceceb [CI Skip] 0.90.0-beta.5 2019-07-30 05:20:40 +00:00
Jaco Greeff 54e9a81f5f MemberCount is u32 (#1230)
* MemberCount is u32

* Generate, add interfaces to ignore

* Marge master
2019-07-30 07:09:55 +02:00