Commit Graph
456 Commits
Author SHA1 Message Date
Travis CI 970f689309 [CI Skip] 0.82.0-beta.65 2019-07-16 14:15:16 +00:00
Stefanie Doll d57dca53f4 Reorganize test setup (#1132)
* Moved all e2e tests to 'api' folder

* Moved metadata test

* fix imports

* Add jest options for testing the different endpoint types separately

* Add check for empty test suites and return empt test to prevent jest from throwing an error

* Fix import paths

* Fix const tests for polkadot chains

* Update to latest Substrate 2.0 image

* Move contract files for e2e testing to e2e tesing folder

* reorder & fix promise query tests for all test nodes

* final fixes for promise query

* eslint fixes

* removed trailing space

* fix linting errors

* Address codeclimate "Function getWsEndpoints has a Cognitive Complexity of 7 (exceeds 5 allowed)."

* Fix contract ABI import paths

* linter endpoint types

* replace alice with alice_stash

* split off promise-queries file

* Remove apiType, smaller cleanups, added local to only: [] tests suites

* relative paths changed to `@polkadot` import

* moved contract wasm & abi's back to `api-contract`
2019-07-16 16:03:53 +02:00
Travis CI 25e9805622 [CI Skip] 0.82.0-beta.64 2019-07-16 14:00:55 +00:00
Travis CI e56a3dd373 [CI Skip] 0.82.0-beta.63 2019-07-16 12:58:07 +00:00
Travis CI c274076c23 [CI Skip] 0.82.0-beta.62 2019-07-16 10:22:53 +00:00
Travis CI c34ca9c36f [CI Skip] 0.82.0-beta.61 2019-07-15 16:08:59 +00:00
Travis CI 77932dccab [CI Skip] 0.82.0-beta.60 2019-07-15 13:12:44 +00:00
Jaco Greeff 3b339a2bae Remove some as any as Observable from derives (#1129) 2019-07-15 15:01:54 +02:00
Jaco Greeff ee27e31275 SessionId extraction for 2.x (#1127)
* SessionId extraction for 2.x

* Run through e2e & update
2019-07-15 15:01:36 +02:00
Travis CI 283f0c0d64 [CI Skip] 0.82.0-beta.59 2019-07-15 10:03:09 +00:00
Travis CI 9cf0b3462d [CI Skip] 0.82.0-beta.58 2019-07-15 09:25:02 +00:00
Travis CI 1653b3598b [CI Skip] 0.82.0-beta.57 2019-07-14 16:35:20 +00:00
Travis CI a091464172 [CI Skip] 0.82.0-beta.56 2019-07-14 12:17:06 +00:00
Jaco Greeff f95fb6d186 Bump common 2019-07-14 14:06:20 +02:00
Travis CI df88326979 [CI Skip] 0.82.0-beta.55 2019-07-14 11:10:34 +00:00
Jaco Greeff c331cd5b09 Bump deps (incl. sec fixes) (#1123)
* Bump deps (incl. sec fixes)

* rm -rf tslint.json
2019-07-14 12:59:27 +02:00
Travis CI 660f30a8d3 [CI Skip] 0.82.0-beta.54 2019-07-14 10:25:59 +00:00
Jaco Greeff 71c5920b1f eslint rules (#1099)
* Off to the races - 3760 problems (1794 errors, 1966 warnings)

* Convert Array<T> -> T[] (not all correct, eg. extends)

* () => { -> (): void  => {

* get is/as -> public get is/as

* public for getters, constructors & base Codec

* Some cleanups from previous overzealous search & replace

* Under 2k, 1874 problems (649 errors, 1225 warnings)

* ^^^ check that commit for details ;)

* Minor.

* rm config header

* Minor cleanups

* Default to tslint, eslint as option

* Trigger

* Update jsonrpc

* 1494 problems (433 errors, 1061 warnings)

* 1103 problems (135 errors, 968 warnings)

* 899 problems (9 errors, 890 warnings)

* 483 problems (9 errors, 474 warnings) (ignore any... for now)

* 366 problems (9 errors, 357 warnings)

* 336 problems (9 errors, 327 warnings)

* 148 problems (9 errors, 139 warnings)

* 31 problems (8 errors, 23 warnings)

* 0, 0
2019-07-14 12:15:14 +02:00
Travis CI f770fb973f [CI Skip] 0.82.0-beta.53 2019-07-12 15:45:03 +00:00
Travis CI bda0815411 [CI Skip] 0.82.0-beta.52 2019-07-12 14:00:12 +00:00
Travis CI 4b0d727e56 [CI Skip] 0.82.0-beta.51 2019-07-12 11:13:07 +00:00
Travis CI 5bc01d3930 [CI Skip] 0.82.0-beta.50 2019-07-12 10:00:40 +00:00
Travis CI 8522d5943b [CI Skip] 0.82.0-beta.49 2019-07-12 09:32:29 +00:00
Travis CI fcd706e9f4 [CI Skip] 0.82.0-beta.48 2019-07-11 20:37:34 +00:00
Jaco Greeff 6b0ad95fc8 Bump deps (incl. sec fixes) (#1107) 2019-07-11 22:27:02 +02:00
Travis CI 039c12a5bd [CI Skip] 0.82.0-beta.47 2019-07-11 08:08:37 +00:00
Travis CI 2157f3112b [CI Skip] 0.82.0-beta.46 2019-07-10 19:38:05 +00:00
Jaco Greeff 51a7263b7c Bump common (#1105) 2019-07-10 21:27:50 +02:00
Travis CI 989797c8d0 [CI Skip] 0.82.0-beta.45 2019-07-10 17:19:27 +00:00
Stefanie Doll 8ca4b5aa3b belated naming fix (#1104) 2019-07-10 19:09:03 +02:00
Travis CI 692bec1fca [CI Skip] 0.82.0-beta.44 2019-07-10 16:53:10 +00:00
Jaco Greeff 557699e389 Bump deps (#1102) 2019-07-10 18:26:22 +02:00
Travis CI 157e8ccb45 [CI Skip] 0.82.0-beta.43 2019-07-10 15:06:15 +00:00
Stefanie Doll 1393c8c5cf Include api.consts in api.derive methods (#1084)
* Bring back derive changes

* Fix fees tests

* contract fees for v1.0

* Contract fees v1.0 test

* Bring back console.logs

* Uase api.consts instead

* linter fixes

* more linter nits

* Fixed staking & session

* .skip()

* Formatting nits
2019-07-10 16:56:11 +02:00
Travis CI 618a622284 [CI Skip] 0.82.0-beta.42 2019-07-10 14:48:37 +00:00
Travis CI 7aae71d2d3 [CI Skip] 0.82.0-beta.41 2019-07-10 13:58:39 +00:00
Travis CI c29a0a4ac3 [CI Skip] 0.82.0-beta.40 2019-07-10 13:27:01 +00:00
Travis CI c3aed06a89 [CI Skip] 0.82.0-beta.39 2019-07-10 11:19:17 +00:00
Amaury Martiny a3ce8672af Fix staking.info (#1091)
* Frankenstein

* Remove console.log

* Fix lint

* Remove console

* Fix tests

* Put back old version

* Add comment

* Store changeset data (filling in the blanks) (#1094)

* Store changeset data (filling in the blanks)

* Option(StorageData, null) when not available

* Make test pass
2019-07-10 13:08:32 +02:00
Travis CI 7dfdab7bcc [CI Skip] 0.82.0-beta.38 2019-07-10 06:22:30 +00:00
Travis CI dd75e8a3dc [CI Skip] 0.82.0-beta.37 2019-07-09 14:06:53 +00:00
Travis CI be0139dfce [CI Skip] 0.82.0-beta.36 2019-07-09 13:54:39 +00:00
Travis CI efeedf09af [CI Skip] 0.82.0-beta.35 2019-07-09 09:55:02 +00:00
Jaco Greeff 01eaef246c Bump deps (#1085) 2019-07-09 11:44:38 +02:00
Travis CI 8ce4f66266 [CI Skip] 0.82.0-beta.34 2019-07-09 07:04:29 +00:00
Axel Chalon 9abbaab991 Pull parameter_types! from metadata (#1066)
* @polkadot/{extrinsics,storage} moved to @polkadot/metadata

* Fix previous commit

* Fix previous commit

* Expose parameter types using api.consts

* Grumbles; update v6 static metadata; add UncleEntryItem (fix #1067)

* Update api.query.* to api.consts.* where changed

* Update tests and stray api.query.staking.sessionsPerEra

* Grumbles

* Grumbles

* Revert updates to api-derive (taken care of by #1068)

* Grumbles; fix UncleEntryItem

* Rename "@polkadot/metadata" => "@polkadot/api-metadata"

* Skip derive test

* Grumbles

* Grumbles

* Grumbles

* Cleanup merge, ensure metadata is latest

* Move api-metadata to actual api-metadata folder

* README api-metadata description (& folder link)

* Remove stray type-extrinsics package.json
2019-07-09 08:54:28 +02:00
Travis CI 4984002111 [CI Skip] 0.82.0-beta.33 2019-07-09 05:10:32 +00:00
Jaco Greeff e7eeeae5d3 Update with latest modules (all indexes are off) (#1082) 2019-07-09 06:59:58 +02:00
Travis CI f19554e8d0 [CI Skip] 0.82.0-beta.32 2019-07-08 18:42:37 +00:00
Travis CI dc1f79d015 [CI Skip] 0.82.0-beta.31 2019-07-08 16:01:44 +00:00