Commit Graph
1037 Commits
Author SHA1 Message Date
Travis CI 38d2d06772 [CI Skip] 0.39.12 2019-01-16 09:59:36 +00:00
Jaco Greeff dfac7a4a5f Simple README change, trigger bump 2019-01-16 10:53:49 +01:00
Travis CI ea520bcab7 [CI Skip] 0.39.11 2019-01-16 09:11:25 +00:00
Jaco Greeff 695e4f2cad AccountId toString() with isEmpty (#592)
* AccountId toString() with isEmpty

* isEmpty is real isEmpty check
2019-01-16 10:05:46 +01:00
Travis CI af3d4b25ed [CI Skip] 0.39.10 2019-01-15 10:00:15 +00:00
Jaco Greeff c14d51a31b Bump deps (#586) 2019-01-15 10:54:18 +01:00
Travis CI 43228135e7 [CI Skip] 0.39.9 2019-01-14 13:50:30 +00:00
Jaco Greeff 0576375a2b Add isEmpty to AccountId (#583) 2019-01-14 14:42:51 +01:00
Travis CI c50289d15a [CI Skip] 0.39.8 2019-01-14 06:55:39 +00:00
Xiliang Chen 9a4973237e Fix Compact decode hex value (#582)
* decode header is broken

* Ignore length for Compact isHex check
2019-01-14 07:49:59 +01:00
Travis CI 57fe1478ae [CI Skip] 0.39.7 2019-01-12 15:10:39 +00:00
Jaco Greeff 8f698d7964 As gettters, as{ContainedType} to EnumType (convenience) (#579)
* As as{ContainedType} to EnumType (convenience)

* Use as inside phase filter

* asFinalised in SubmittableExtrinsic

* Cleanup imports (lint)

* Cleanup imports (linting)
2019-01-12 16:05:21 +01:00
Travis CI fa650277fe [CI Skip] 0.39.6 2019-01-12 08:27:48 +00:00
Jaco Greeff 1f401d6791 Add system_peers RPC endpoint (#577)
* Add system_peers RPC endpoint

* Don't double-up on error logs
2019-01-12 09:22:27 +01:00
Travis CI 9e38a25e90 [CI Skip] 0.39.5 2019-01-11 22:43:10 +00:00
Jaco Greeff 7393710951 Update README.md 2019-01-11 23:37:52 +01:00
Travis CI 7c542503c9 [CI Skip] 0.39.4 2019-01-11 22:27:57 +00:00
Jaco Greeff 13e2aa0b44 ApiPromise combinator return PromiseSubscription (#576)
* ApiPromise combinator return PromiseSubscription

* PromiseSubscription can return anything
2019-01-11 23:22:27 +01:00
Travis CI 64ec9e61f3 [CI Skip] 0.39.3 2019-01-11 16:33:54 +00:00
Jaco Greeff 2751491f6a Fix resolve before subscription is active (#575) 2019-01-11 17:28:24 +01:00
Travis CI 3305fea41c [CI Skip] 0.39.2 2019-01-11 16:05:28 +00:00
Jaco Greeff a2f176dca7 Construct Bytes via Array<number> (no prefix) (#573)
* Construct Bytes via Array<number> (no prefix)

* Remove unused imports

* Allow extrinsics with/without prefix
2019-01-11 16:59:34 +01:00
Travis CI 532dbe637a [CI Skip] 0.39.1 2019-01-11 15:51:22 +00:00
Jaco Greeff 54eada5d87 Allow handling of RPC errors, promise resolve/reject (#572)
* Allow handling of RPC errors, promise resolve/reject

* Revert doing too much, focus on api-promise only

* tap instead of map

* Bump version, CHANGELOG
2019-01-11 16:46:01 +01:00
Travis CI 4352f73c4c [CI Skip] 0.38.16 2019-01-11 13:22:13 +00:00
Jaco Greeff 132a8dd4ed Align fromHex in AbstractInt with toHex (and with actual BE JSON) (#571)
* Align fromHex in AbstractInt with toHex (and with actual BE JSON)

* Update test (hex input in BE)
2019-01-11 14:16:49 +01:00
Travis CI ee513f783c [CI Skip] 0.38.15 2019-01-11 11:12:15 +00:00
Jaco Greeff bb7a5ace55 Fix CI publish (#570) 2019-01-11 12:06:51 +01:00
Travis CI 7e9e2e87ba [CI Skip] 0.38.14 2019-01-11 07:18:36 +00:00
Jaco Greeff ed1ad05c5f Bump yarn version in README 2019-01-11 08:13:01 +01:00
Travis CI 2ce2916133 [CI Skip] 0.38.13 2019-01-11 07:05:06 +00:00
Jaco Greeff 1edf7a077e Use latest yarn on CI (#568) 2019-01-11 07:59:20 +01:00
Travis CI 0be476b94f [CI Skip] 0.38.12 2019-01-11 06:38:47 +00:00
Jaco Greeff 48cb2d039e Remove duplicated SubmittableSendResult types (#565) 2019-01-11 07:33:37 +01:00
Travis CI 9d7caed0ab [CI Skip] 0.38.11 2019-01-10 17:07:55 +00:00
Jaco Greeff a083a6bb38 signAndSend for SubmittableExtrinsic (#558)
* signAndSend for SubmittableExtrinsic

* signAndSend for ApiPromise

* Import odering
2019-01-10 18:02:39 +01:00
Travis CI 7b89e55f9a [CI Skip] 0.38.10 2019-01-10 16:44:46 +00:00
Amaury Martiny 2a2df9a1c3 Add derive functions (#564)
* Add drr

* Update headers

* Lint

* Copy other functions

* Account indexes

* accountIndexToId

* accountIdAndIndex

* Fees

* votingBalance

* votingBalances

* votingBalancesNominatorsFor

* validatingBalance

* validatingBalances

* bestNumberFinalised

* eraLength

* Add drr

* eraProgress

* votes

* referendumInfos

* referendumVotesFor

* referendums

* Clean code

* Add tests

* Fix lint

* Fix bug eraProgress

* Fix bug fees

* combineLatest without array

* Fix lint
2019-01-10 17:39:25 +01:00
Travis CI a93b2f70c7 [CI Skip] 0.38.9 2019-01-10 10:43:16 +00:00
Jaco Greeff 07d61397d5 Upgrade example with real wasm (via sudo now) (#562)
* Upgrade test with real wasm

* Update upgrade sample to use sudo
2019-01-10 11:37:51 +01:00
Travis CI 9f1457c286 [CI Skip] 0.38.8 2019-01-10 10:21:09 +00:00
Jaco Greeff 62723caf55 Always resolve ready when created, never reject (#563) 2019-01-10 11:16:02 +01:00
Travis CI 89a3c9647a [CI Skip] 0.38.7 2019-01-09 17:01:59 +00:00
Jaco Greeff f65563478e Update README.md 2019-01-09 17:56:10 +01:00
Travis CI 86adea2c1b [CI Skip] 0.38.6 2019-01-09 16:06:11 +00:00
Jaco Greeff e177727851 Add api-derive dep (#561) 2019-01-09 17:00:51 +01:00
Travis CI 20e8f66dc6 [CI Skip] 0.38.5 2019-01-09 15:10:15 +00:00
Jaco Greeff 6ddc9e408c Support and return default values (#547)
* Support and return default values

* e2e tests for queries, with and without defaults

* remove .only

* Remove unused Codec import

* Remove commented import

* Add default creation test

* Test creation with empty Bytes

* Default storage test

* Remove non-existent throw test
2019-01-09 16:04:56 +01:00
Jaco Greeff c17036b028 Change checking for re-sububscriptions (#555) 2019-01-09 16:04:23 +01:00
Travis CI de65a41bf0 [CI Skip] 0.38.4 2019-01-09 12:08:23 +00:00