Commit Graph
1560 Commits
Author SHA1 Message Date
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
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
Travis CI 69640edb00 [CI Skip] 0.82.0-beta.29 2019-07-06 23:43:20 +00:00
kwingram25 5a1c79a471 initialize Votes with value (#1074) 2019-07-07 00:33:07 +01:00
Travis CI 277b041c6f [CI Skip] 0.82.0-beta.28 2019-07-05 17:07:43 +00:00
Stefanie Doll c47ed58fb5 Switch from existentialDeposit to SessionIndex (#1072)
* Switch from existentialDeposit to SessionIndex

* re-added .skip()

* Fix test to also pass during first Session
2019-07-05 18:57:31 +02:00
Travis CI 2937a234c3 [CI Skip] 0.82.0-beta.27 2019-07-04 13:56:36 +00:00
YJ 8c4320c0f3 feat: Vote interface as U8a (#1061)
* feat: Vote interface as Bytes

* fix: decode v1 values

* fix: decode v2 vote

* duplicate decode struct

* use struct

* fix: encodes as Bytes

* as u8a

* fix: encode as u8a

* fix: encode as u8a

* fix paddig bug

* decode from bits

* fix lint

* fix grumbles

* fix lint

* fix grumbles, remove toNumber

* fix grumbles

* remov only

* Update CHANGELOG.md

* Update CHANGELOG.md
2019-07-04 15:46:36 +02:00
Travis CI 36b60aaf7a [CI Skip] 0.82.0-beta.26 2019-07-02 12:47:46 +00:00
Travis CI 0c52c6cee5 [CI Skip] 0.82.0-beta.25 2019-07-02 09:57:20 +00:00