Commit Graph
1442 Commits
Author SHA1 Message Date
Travis CI d4288e28fa [CI Skip] 0.79.0-beta.17 2019-05-15 11:15:07 +00:00
Jaco Greeff 63222cf525 Add node-template override (#912) 2019-05-15 13:04:01 +02:00
Travis CI 320758e434 [CI Skip] 0.79.0-beta.16 2019-05-15 10:01:06 +00:00
Stefanie Doll c30d3a80e8 Added derive e2e tests and documentation (#898)
* export IExtrinsic

* Switch to localhos & enable tests in promise.spec

* Derive.accounts docs (copy from my other branch) + code examples

* Fixed existing accounts tests and added tests for all accounts.derive methods

* e2e tests and docs/ examples for balances.all and balances.fees

* Removed emty lines below jsdoc info

* tests & documentation dor derive.chain

* Addressed comments from former PR https://github.com/polkadot-js/api/pull/869

* Removed unused import

* obseralbe -> observable

* undo keith' commit

* use correct jsdocs syntax

* Re-enable skip
2019-05-15 11:50:28 +02:00
Travis CI 4da52c8d76 [CI Skip] 0.79.0-beta.15 2019-05-15 08:52:53 +00:00
Jaco Greeff 3557657034 Expose queryMulti on api (#909)
* Expose queryMulti on api

* Convert contract fees to queryMulti
2019-05-15 10:41:48 +02:00
Travis CI bd22da687e [CI Skip] 0.79.0-beta.14 2019-05-15 06:18:25 +00:00
Jaco Greeff 7b04ea0bfe new EventRecord with topics (#902)
* new EventRecord with topics

* Add additional decoding checks (from #612)

* Slightly rework storage parsing (future checks)

* Split storage result formatting (set vs data)

* Allow v3 event parsing

* Max Vector length check

* assert during Event parsing

* Well, HACK-y fallback

* Revert "Well, HACK-y fallback"

This reverts commit edbf61b99da2753bec3a535126660e71bdcd9861.

* Node overrides...

* Add implVersion

* Register types

* Update with polkadot as well

* inject compatibility types

* EventRecord77 in testing

* Conversion with DoubleMap

* E2E tested against v3 & v4

* Filter with some

* Split archive/remove alex tests

* beforeAll -> beforeEach

* Remove .only

* EventRecordV0 -> 77
2019-05-15 08:07:23 +02:00
Travis CI 3df5672159 [CI Skip] 0.79.0-beta.13 2019-05-14 19:38:28 +00:00
Stefanie Doll db78aeb225 Fix for RPC bugs caused by uk spelling (#904)
* Replaced UK with US spelling

* -ised to -ized

* UK -> US spelling in chain rpc methods

* Tests for RPC chain methods on Alex
2019-05-14 21:27:16 +02:00
Travis CI ce2bbadf82 [CI Skip] 0.79.0-beta.12 2019-05-14 14:36:52 +00:00
Jaco Greeff 57715c50c0 Revert "Update extrinsics FromMetadata. Drop storages with doublemap type when converting v3 to v2 (#888)" (#903)
This reverts commit 97032e7e86.
2019-05-14 16:21:32 +02:00
Travis CI 5ac7841fd9 [CI Skip] 0.79.0-beta.11 2019-05-14 10:42:53 +00:00
Travis CI 8502396168 [CI Skip] 0.79.0-beta.10 2019-05-14 10:31:59 +00:00
satellitex 06a5dc61a2 Add traits replace rules. for invalid cases ::<type> and <type>::. (#885)
* add replace rules

* fix replace grep
2019-05-14 12:21:08 +02:00
Jaco Greeff 27934f7bd9 Metadata update for latest master (#901)
* Latest metadata, add EventIndex type

* Add parsed metadata

* Create empty DoubleMap type
2019-05-14 12:15:34 +02:00
Travis CI 0ad62b4fb6 [CI Skip] 0.79.0-beta.9 2019-05-13 14:09:05 +00:00
Jaco Greeff 7fb1944aa2 Bump RxJS to 6.5.2 (#897)
* Bump RxJS to 6.5.2

* Re-create yarn.lock
2019-05-13 15:57:10 +02:00
Travis CI 2a3fe0060d [CI Skip] 0.79.0-beta.8 2019-05-13 10:04:28 +00:00
Xiliang Chen 46fee3125d Start supporting double map (#843)
* double map fix

* update metadata to prevent error using double map
2019-05-13 11:53:46 +02:00
Travis CI e1ec95a2f3 [CI Skip] 0.79.0-beta.7 2019-05-13 09:00:48 +00:00
Alex Wang 97032e7e86 Update extrinsics FromMetadata. Drop storages with doublemap type when converting v3 to v2 (#888)
* update extrinsics fromMetadata

* drop storages with doublemap when convert v3 to v2

* update Event.injectMetadata
2019-05-13 10:49:29 +02:00
Travis CI 777a73f7c2 [CI Skip] 0.79.0-beta.6 2019-05-10 10:16:54 +00:00
Jaco Greeff 4378ed4bb8 Remove combineLatest where multi is used (#895)
* Remove combineLatest where multi is used

* Add e2e test for derive.controllers
2019-05-10 12:06:02 +02:00
Travis CI 52bae20ef4 [CI Skip] 0.79.0-beta.5 2019-05-09 18:24:32 +00:00
kwingram25 168b12d98f Check array before running bnMax (#893)
* Updated with derive.balances.all

* add new keys to votingBalance

* remove multi test

* vestedBalance > 0

* bestNumber bug

* Check balances.all > 0

* Check balances.all > 0

* Check balances.all > 0

* check locks array

* check locks array
2019-05-09 20:13:31 +02:00
Travis CI 970a114751 [CI Skip] 0.79.0-beta.4 2019-05-09 16:31:26 +00:00
Jaco Greeff a037caba4a Bump util (#892) 2019-05-09 18:20:23 +02:00
Travis CI 4e7f4d7318 [CI Skip] 0.79.0-beta.3 2019-05-09 15:31:02 +00:00
kwingram25 b8fabfeade Fix error causing balances.all = undefined (#891)
* Updated with derive.balances.all

* add new keys to votingBalance

* remove multi test

* vestedBalance > 0

* bestNumber bug

* Check balances.all > 0

* Check balances.all > 0

* Check balances.all > 0
2019-05-09 17:20:30 +02:00
Travis CI 8d9f7a4d46 [CI Skip] 0.79.0-beta.2 2019-05-09 14:47:55 +00:00
Jaco Greeff edbae32063 Bump common (#890) 2019-05-09 16:37:30 +02:00
Travis CI d746815ad7 [CI Skip] 0.79.0-beta.1 2019-05-09 10:49:49 +00:00
kwingram25 c2ccf35c5c Replace votingBalance -> derive.balances.all (#883)
* Updated with derive.balances.all

* add new keys to votingBalance

* remove multi test

* vestedBalance > 0
2019-05-09 12:38:56 +02:00
Travis CI c957bf8d64 [CI Skip] 0.79.0-beta.0 2019-05-09 08:04:29 +00:00
Stefanie Doll adec070434 multi calls for democracy.votes and staking.controllers (#887)
* .multi for democracy.votes & stating.controllers

* Removed leftover comment from https://github.com/polkadot-js/api/pull/875

* no new line at the end
2019-05-09 09:53:15 +02:00
Travis CI 04c401f777 [CI Skip] 0.78.1 2019-05-08 15:53:07 +00:00
Jaco Greeff f7bd071013 0.78.1 (#884)
* update CHANGELOG

* Bump common

* Bump to 0.78
2019-05-08 17:41:48 +02:00
Travis CI d98857af26 [CI Skip] 0.78.0-beta.14 2019-05-08 15:21:32 +00:00
Amaury Martiny 865e480a1e Linked map in v0 (#886) 2019-05-08 17:10:16 +02:00
Travis CI 427ce14ade [CI Skip] 0.78.0-beta.13 2019-05-08 10:18:35 +00:00
Jaco Greeff 516e116ba4 Bump common (#882) 2019-05-08 12:08:06 +02:00
Travis CI dc60f363c3 [CI Skip] 0.78.0-beta.12 2019-05-07 16:46:07 +00:00
Jaco Greeff 3e7dc01bd5 Bump common (bn min/max) (#881) 2019-05-07 18:34:54 +02:00
Travis CI deb78a63d6 [CI Skip] 0.78.0-beta.11 2019-05-07 14:59:46 +00:00
Jaco Greeff 3e755b926b Fix bug in metadata conversion (return converted) (#880)
* Fix bug in metadata conversion (return converted)

* v2 -> v3
2019-05-07 16:48:35 +02:00
Travis CI be7864c08f [CI Skip] 0.78.0-beta.10 2019-05-07 14:12:36 +00:00
Jaco Greeff 28399544cb assert type on all asXxx getters (#879)
* assert type on all asXxx getters

* Convert via built-in asVx

* Implicit index

* Re-add V0 (not dropped here, but dropped somewhere)

* MetadataDeprectated -> MetadataDeprecated
2019-05-07 16:01:35 +02:00
Jaco Greeff 07792ff54a Add contract fees (#875) 2019-05-07 15:53:40 +02:00
Travis CI 140bb88bea [CI Skip] 0.78.0-beta.9 2019-05-07 13:46:00 +00:00