Commit Graph
1659 Commits
Author SHA1 Message Date
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
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
YJ 917168ab81 CHANGELOG: Add breaking change to changelog (#1065)
* fix add breaking change to changelog

* Update CHANGELOG.md
2019-07-02 14:37:27 +02:00
Travis CI 0c52c6cee5 [CI Skip] 0.82.0-beta.25 2019-07-02 09:57:20 +00:00
YJ 7229a5fdfb feat: Metadata V6 with module constants (#1059)
* feat: metadata v6, minus static and test

* fix: update v5 to v6 everywhere

* fix: lint and testUtil

* fix typo

* fix: match final metadata. constants no longer optional, StorageFunctionMetadata renamed to StorageEntryMetadata.

* fix: constants constructor

* fix: unit tests pass

* fix: linting and renaming, make tests pass

* fix: skip e2e

remove console log

* fix: formatting test

* fix api e2e tests

* fix: put the skip back

* feat: yarn test:skip-e2e

* fix: grumbles, add fresh flipper wasm

* fix: grumbles, add fresh flipper wasm

* fix: changelog

* fix ci
2019-07-02 11:48:40 +02:00
Travis CI 2e890b6908 [CI Skip] 0.82.0-beta.24 2019-07-01 13:22:59 +00:00
JesseAbram ffe1c71172 added 07 Example showing how to make a transfer with allowed block permissions folder in docs (#1062)
* added 07 folder in docs

* spelling and formatting
2019-07-01 15:09:14 +02:00
Travis CI 9763883393 [CI Skip] 0.82.0-beta.23 2019-06-25 14:06:42 +00:00
Stefanie Doll 66d96d3172 Add breaking change to release notes (#1057) 2019-06-25 15:54:59 +02:00
Travis CI 7e6e609f2a [CI Skip] 0.82.0-beta.22 2019-06-25 12:41:22 +00:00
Jaco Greeff 68b07eb19b cameCase storage section (as in extrinsics) (#1056) 2019-06-25 14:30:36 +02:00
Travis CI 88164a64b9 [CI Skip] 0.82.0-beta.21 2019-06-25 11:35:05 +00:00
Amaury Martiny 8f89b9d40c Expose module name instead of prefix (#1055) 2019-06-25 13:24:44 +02:00
Travis CI 1ccc0a6876 [CI Skip] 0.82.0-beta.20 2019-06-22 20:15:42 +00:00
Jaco Greeff b51761376b Fix StorageData checks, fix Option toHex 00/01 (#1052)
* Option.toHex should not add 00/01 (implied)

* Option tests

* We have a failing test, finally

* Adapt createType to cater for storage with length
2019-06-22 22:05:36 +02:00
Travis CI b5b4ec5737 [CI Skip] 0.82.0-beta.19 2019-06-22 16:39:12 +00:00
Jaco Greeff ed19ba91e1 Latest polkadot metadata (#1050)
* Latest polkadot metadata

* The first bunch of Polkadot types... WinningData is an issue...

* VectorFixed, allowing for [<Type>; <length>]

* Add WinningData
2019-06-22 18:28:59 +02:00
Travis CI 9d6f9662cc [CI Skip] 0.82.0-beta.18 2019-06-21 14:59:54 +00:00
Jaco Greeff 3b8db2ed3d Rename SessionKeys fields (#1046)
* Rename SessionKeys fields

* Shorten
2019-06-21 16:49:20 +02:00
Jaco Greeff f30c516099 More ergonomic contracts interfaces (RxJs only initial) (#1015)
* More ergnomic contracts interfaces

* extend SubmittableResult

* Allow creation of contract from blueprint

* "decorate" Contract (just playing with interfaces)

* Make actual messages calls

* Rename to Rx{Blueprint, Cond, Contract}

* Add exports

* Support contract & contracts endpoints

* Remove unneeded ApiType generics (may return)

* Comment 2.x/1.x detection
2019-06-21 16:48:00 +02:00
Travis CI 5e5bb9984b [CI Skip] 0.82.0-beta.17 2019-06-21 07:15:50 +00:00
Jaco Greeff d027eb0c47 Bump deps (#1044) 2019-06-21 09:04:23 +02:00
Travis CI 8c91d4b50e [CI Skip] 0.82.0-beta.16 2019-06-20 12:15:24 +00:00
Jaco Greeff d4c408d28b Explicity contract encoding tests (non e2e) (#1040) 2019-06-20 14:06:10 +02:00
Travis CI 52fc98f1ef [CI Skip] 0.82.0-beta.15 2019-06-20 10:47:53 +00:00
Amaury Martiny 88008e2d44 Add rpc-core in api (#1041) 2019-06-20 12:38:34 +02:00
Travis CI 43b76e14ec [CI Skip] 0.82.0-beta.14 2019-06-20 09:16:08 +00:00
Amaury Martiny fe16c09f01 refactor: Remove rpc-rx (#1037)
* Remove rpc-rx

* Make some stuff work

* Fix tests

* Update Base

* Change some stuff

* Remove rpc-rx mentions

* Add correct tests

* Make cache work

* Fix little bugs

* Rename to spec

* Fix lint

* Fix little bugs

* Add comment

* Add correct test

* Update header

* Add test

* Add comments

* Indentation
2019-06-20 11:06:13 +02:00
Travis CI 49d7668534 [CI Skip] 0.82.0-beta.13 2019-06-19 19:24:50 +00:00