Commit Graph
1892 Commits
Author SHA1 Message Date
Travis CI bda0815411 [CI Skip] 0.82.0-beta.52 2019-07-12 14:00:12 +00:00
Jaco Greeff 271691a52a Switch mortal default to 5mins (defaults) (#1112)
* Switch mortal default to 5mins (defaults)

* Expose era on raw payload
2019-07-12 15:49:43 +02:00
Travis CI 4b0d727e56 [CI Skip] 0.82.0-beta.51 2019-07-12 11:13:07 +00:00
Jaco Greeff 6e42db3544 Proper JSON serialize/de-serialize for MortalEra (#1111) 2019-07-12 13:02:53 +02:00
Travis CI 5bc01d3930 [CI Skip] 0.82.0-beta.50 2019-07-12 10:00:40 +00:00
Jaco Greeff 7772caaa9d Bump metadata (#1108)
* Bump metadata

* Add Phantom type (grrr... don't like this in meta, but it is what it is)

* yarn test:one Metadata passes

* Update with new section indexes
2019-07-12 11:50:05 +02:00
Travis CI 8522d5943b [CI Skip] 0.82.0-beta.49 2019-07-12 09:32:29 +00:00
Jaco Greeff edea20dad8 Export storage prefix on StorageEntry (#1106) 2019-07-12 11:22:14 +02: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
Stefanie Doll eec4ca7f8d Add a docker compose file for e2e test environment (#1100)
* Add a docker compose file for e2e test environment

* Use new `test:all`

* Adjust ports

* small readme fixes

* renamed nodes

* Removed  user: ${CURRENT_UID}

* add websocket urls to jest config
2019-07-11 09:58:04 +02: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
Jaco Greeff 50a3a40cfd Auto-generate TS definitions from types (#1077)
* Basic ts generation from JSON (parachains)

* Basic enum jsdoc comments

* Add as<Type> enum getter

* Register types

* Expand with other Polkadot types

* Readability cleanups

* cc

* Remove extra Null check

* Combine Vector & VectorFixed

* cc

* Additional magic type comments

* Tuple has actual indexed types

* Tests for Enum asXyz and isXyz getters

* Dep-dupe imports setup

* Small textual adjustments

* DRY up with getTypeClassMap
2019-07-10 16:55:25 +02:00
Travis CI 618a622284 [CI Skip] 0.82.0-beta.42 2019-07-10 14:48:37 +00:00
Jaco Greeff 2f157cfb27 Extrinsics with version decoding handler (#1090) 2019-07-10 16:37:40 +02:00
Travis CI 7aae71d2d3 [CI Skip] 0.82.0-beta.41 2019-07-10 13:58:39 +00:00
Jaco Greeff 1a80bdef4b s/beforeAll/beforeEach/ (All connects to local, even skipped) (#1096)
* s/beforeAll/beforeEach/ (All connects to local, even skipped)

* Introduce test:all (incl. e2e, test now execludes)
2019-07-10 15:48:12 +02:00
Travis CI c29a0a4ac3 [CI Skip] 0.82.0-beta.40 2019-07-10 13:27:01 +00:00
Jaco Greeff f5f5830bc5 Add ValidatorId (#1098)
* Add ValidatorId

* Bump metadata
2019-07-10 15:15:05 +02: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
Jaco Greeff 71011cfdcc Cleanup SignaturePayload comment description (#1095) 2019-07-10 08:11:20 +02:00
Jaco Greeff 910d786a29 Switch off 'handling: xyz' RPC logs, adds no new info (#1087)
* Swicth off 'handling: xyz' RPC logs, adds no new info

* Whack.
2019-07-10 08:10:50 +02:00
Travis CI dd75e8a3dc [CI Skip] 0.82.0-beta.37 2019-07-09 14:06:53 +00:00
Jaco GreeffandAmaury Martiny 2eee6cfea7 Swap to Mortal transactions by default (#1081)
* Start of mortal tx

* Swap to Mortal transcations by default

* Update SubmittableExtrinsic.ts

* WIP (pre master merge)

* Remove eraLength, allow era to specify

* Oops, linting.... it happens in the best of families

* WIP debugging immortals

* Re-surrect with working meta, and e2e tests

* Update docs/examples/promise/07_make_transfer_with_allowed_block_permissions_only/index.js

Co-Authored-By: Amaury Martiny <amaury.martiny@protonmail.com>

* Update docs/examples/promise/07_make_transfer_with_allowed_block_permissions_only/index.js

Co-Authored-By: Amaury Martiny <amaury.martiny@protonmail.com>

* Remove useless birth/death calls
2019-07-09 15:56:10 +02:00
Travis CI be0139dfce [CI Skip] 0.82.0-beta.36 2019-07-09 13:54:39 +00:00
Jaco Greeff 70dadb8304 Multi doc usage with unsub (#1088)
* Multi doc usage with unsub

* Remove double multiUnsub()

* Typing for promise multi

* Missing await
2019-07-09 15:44:28 +02: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
Jaco Greeff 9c48e40780 signAndSend with options & callback (#1079)
* signAndSend with options & callback

* Remove extra Partial wrapper

* Remove more extra Partials

* One more
2019-07-08 20:32:13 +02:00
Travis CI dc1f79d015 [CI Skip] 0.82.0-beta.31 2019-07-08 16:01:44 +00:00
Jaco Greeff 2cacae12c3 Remove edgeware node from compat (#1080)
* Remove edgeware node from compat

* Update nodeCompat.ts
2019-07-08 17:50:04 +02:00
Travis CI f2a0f5382b [CI Skip] 0.82.0-beta.30 2019-07-08 12:47:09 +00:00
Jaco Greeff ca00dbd2f3 Bump deps (incl. Babel 7.5) (#1078) 2019-07-08 14:36:58 +02:00
Jaco Greeff 7ca589094b Example with basic at and multi queries (#1076)
* Example with at and basic multi queries

* 05
2019-07-08 14:02:00 +02:00
Travis CI 69640edb00 [CI Skip] 0.82.0-beta.29 2019-07-06 23:43:20 +00:00