Commit Graph
1973 Commits
Author SHA1 Message Date
Jaco Greeff 2accd13bb6 0.94 (#1456) 2019-10-07 16:52:30 +02:00
Travis CI eaa9dd00c7 [CI Skip] 0.94.0-beta.19 2019-10-07 14:02:41 +00:00
Jaco Greeff fb7e067737 Update Enum .eq to be more exhaustive (#1455)
* Update Enum .eq to be more exhaustive

* Add basic compare test
2019-10-07 15:31:05 +02:00
Travis CI cd7767d39a [CI Skip] 0.94.0-beta.18 2019-10-07 11:58:10 +00:00
Jaco Greeff cf07d4f743 Add Result type (#1451)
* Add Result class

* Allow createType to operate on Result

* Formatting of Result type in interfaces (incl. use)

* Tests for Result

* Linting & createType seems to work, any final round of gaps?

* Bump metadata containing Result<Null,DispatchError>

* extractTypes handles Result (validation)

* Remove any from creation params

* Ok, give up trying to make `with` sane... it stays enum-like :(

* Move Enum protected decode member to file-level
2019-10-07 13:41:26 +02:00
Travis CI 525b6bf4ad [CI Skip] 0.94.0-beta.17 2019-10-07 11:29:30 +00:00
Travis CI 56d20ceb41 [CI Skip] 0.94.0-beta.16 2019-10-06 12:08:32 +00:00
Jaco Greeff 25d1a1195e Expose api.createType (#1450) 2019-10-06 13:51:19 +02:00
Travis CI db593d2303 [CI Skip] 0.94.0-beta.15 2019-10-05 08:00:48 +00:00
Jaco Greeff e17572d845 Latest metadata (srml/utility) (#1448)
* Latest metadata (srml/utility)

* Move types to utility

* Add sample Kusama test

* Wrap in describeE2E

* Linting

* DispatchResult only in utility srml

* Fixup some tests (types at least)

* api-metadata tests
2019-10-05 09:42:45 +02:00
Travis CI 73704b68ab [CI Skip] 0.94.0-beta.14 2019-10-04 12:30:15 +00:00
Jaco Greeff d594149ed1 Fix derive heartbeats to query via index (#1446) 2019-10-04 14:13:06 +02:00
Travis CI 6b0e2fe919 [CI Skip] 0.94.0-beta.13 2019-10-04 10:04:33 +00:00
Travis CI 29922c2bef [CI Skip] 0.94.0-beta.12 2019-10-04 07:52:35 +00:00
Travis CI c28df79c3b [CI Skip] 0.94.0-beta.11 2019-10-03 21:03:46 +00:00
Jaco Greeff f145fe7c8b Fix isGenesisSlot (only on Babe) (#1443) 2019-10-03 22:46:31 +02:00
Travis CI a03a303b8f [CI Skip] 0.94.0-beta.10 2019-10-02 21:19:17 +00:00
Travis CI 44d89ed204 [CI Skip] 0.94.0-beta.9 2019-10-02 19:40:33 +00:00
Jaco Greeff d632f25a9b Cloned API should filter RPCs (#1437) 2019-10-02 21:22:50 +02:00
Travis CI 2f6a397484 [CI Skip] 0.94.0-beta.8 2019-10-02 11:49:28 +00:00
Jaco Greeff a54286c98b Allow string (ss58) address input for approvalsOfAt (#1435)
* Allos string (ss58) address input for approvalsOfAt

* Rework deps
2019-10-02 13:31:04 +02:00
Travis CI ddd21c691f [CI Skip] 0.94.0-beta.7 2019-10-02 10:59:03 +00:00
Jaco Greeff d0f9114fda Don't decode and re-encode storage queries, single pass (#1433)
* Don't decode and re-encode storage queries, single pass

* Remove old SorageData <-> Bytes HACK tests

* Add non-empty check to isPendantic
2019-10-02 12:38:16 +02:00
Travis CI 275593b6fb [CI Skip] 0.94.0-beta.6 2019-10-02 10:32:50 +00:00
Jaco Greeff 17a10fbffe Allow approvalsOf to take string as "who" input (#1434)
* Allow approvalsOf to take string as "who" input

* Re-add <SetIndex> (build fails)
2019-10-02 12:15:50 +02:00
Travis CI afff880c20 [CI Skip] 0.94.0-beta.5 2019-10-01 20:39:36 +00:00
Travis CI 5fc8e3975b [CI Skip] 0.94.0-beta.4 2019-10-01 12:48:33 +00:00
Amaury Martiny fadb1ffdd8 Make derive types work, and a bit more readable (#1430)
* Fix typings for derive

* Fix typings

* Spacing
2019-10-01 14:30:53 +02:00
Travis CI bddb48f452 [CI Skip] 0.94.0-beta.3 2019-09-30 13:05:11 +00:00
Travis CI 7b2cf6dcb0 [CI Skip] 0.94.0-beta.2 2019-09-30 12:41:49 +00:00
Amaury Martiny 9807ff70fa Fix api.derive missing typings (#1428)
* Use @polkadot/types imports everywhere

* use t for all interfaces

* Add comment
2019-09-30 14:24:01 +02:00
Travis CI d30bd0dd86 [CI Skip] 0.94.0-beta.1 2019-09-28 08:00:59 +00:00
Jaco Greeff 25f78a7354 Stringify error data structs (#1426) 2019-09-28 09:44:35 +02:00
Travis CI 0bc0ef6110 [CI Skip] 0.94.0-beta.0 2019-09-27 14:48:55 +00:00
Stefanie Doll b231b7b8cb Rename types in docs to match exports (#1424) 2019-09-27 16:32:11 +02:00
Travis CI 8b0ef159c0 [CI Skip] 0.93.1 2019-09-26 10:13:03 +00:00
Jaco Greeff 96937666d1 0.93 (#1423) 2019-09-26 11:55:41 +02:00
Travis CI da6cd98e6a [CI Skip] 0.93.0-beta.20 2019-09-25 15:37:21 +00:00
Jaco Greeff ad4a6e63ce Use rpc.account.nextIndex in submittables (#1422) 2019-09-25 17:20:46 +02:00
Travis CI c0a804332b [CI Skip] 0.93.0-beta.19 2019-09-25 11:48:04 +00:00
Jaco Greeff 32c4aa3bfe Bump polkadot meta (#1419) 2019-09-25 13:29:47 +02:00
Jaco Greeff 8293f4b585 Bumps & 0.93 CHANGELOG (#1420)
* Bumps & 0.93 CHANGELOG

* Linting
2019-09-25 13:29:07 +02:00
Travis CI 4d2dfb43b8 [CI Skip] 0.93.0-beta.18 2019-09-25 08:42:51 +00:00
Jaco Greeff a0b8619093 Author-only Babe compat over CC1 & latest (#1418) 2019-09-25 10:26:32 +02:00
Travis CI c1396bc23a [CI Skip] 0.93.0-beta.17 2019-09-24 16:06:35 +00:00
Jaco Greeff 692c208b20 Update of Babe Pre Digest from master (#1416) 2019-09-24 17:50:08 +02:00
Travis CI 498e3a1481 [CI Skip] 0.93.0-beta.16 2019-09-24 15:04:07 +00:00
Jaco Greeff 8de45cb09e Update metadata (Babe updates) (#1410)
* Update metadata (Babe updates)

* Bump with latest master

* Use genesisSlot as opposed to epochStartSlot (wrongly)

* Calculate session from genesis start

* Re-create after master merge

* Kusama CC1 chain type overrides
2019-09-24 16:47:04 +02:00
Travis CI 539b26ed87 [CI Skip] 0.93.0-beta.15 2019-09-24 13:11:55 +00:00
Travis CI 1573185bf8 [CI Skip] 0.93.0-beta.14 2019-09-23 16:23:10 +00:00