Commit Graph
1586 Commits
Author SHA1 Message Date
Travis CI 364b442eb7 [CI Skip] 0.82.0-beta.3 2019-06-15 09:37:40 +00:00
Jaco Greeff d38ccd11af Export StorageFunctionPromise (actually used in apps) (#1020) 2019-06-15 11:26:25 +02:00
Travis CI e69136f3e3 [CI Skip] 0.82.0-beta.2 2019-06-14 15:23:57 +00:00
Hyungsuk Kang 0d12b082b6 Update fees.ts (#1014) 2019-06-14 17:14:15 +02:00
Travis CI 1a7b3f4ca6 [CI Skip] 0.82.0-beta.1 2019-06-14 11:58:07 +00:00
Jaco Greeff 4cba24c134 Create api-contract (baseline for useful interactions) (#1007)
* Create api-contract (baseline for useful interactions)

* Add CHANGELOG entry (breaking)
2019-06-14 13:48:53 +02:00
Travis CI 6e7a126f4d [CI Skip] 0.82.0-beta.0 2019-06-14 10:22:31 +00:00
Amaury Martiny 63846ac367 Remove onCall, use decorateMethod (#987)
* update signature of doublemap storage function

* add test cases

* update doublemap implementation

* update implementation

* remove duplicate test case

* update test cases

* Add hkt

* Fix derive types

* Make derive work

* Fix some bugs

* Fix some bugs

* More stuff

* Make some more stuff work

* Fix types in derive

* Fix all tests in derive

* Change back ApiType

* Remove vscode

* Fix Submittables

* Fix some errors

* Fix some bugs

* Change some stuff

* Fix merge conflict

* Fix types

* Add console.log

* Add console.log

* Re-add decorateMethod

* Fix tests

* Skip e2e

* Small fixes

* Fix signAndSend

* Fix typings in test

* Fix lint

* Add comments

* One line

* Remove useless

* URI->ApiType

* Indentation
2019-06-14 12:12:53 +02:00
Travis CI ce310decf0 [CI Skip] 0.81.1 2019-06-14 08:50:24 +00:00
Jaco Greeff 6d5f297c32 0.81 (#1010) 2019-06-14 10:41:23 +02:00
Travis CI 8df15c2d89 [CI Skip] 0.81.0-beta.19 2019-06-14 08:09:19 +00:00
Jaco Greeff 6d9699a090 Apply fallback on non-sub storage (e.g. at) (#1004)
* Apply fallback on non-sub storage (e.g. at)

* Fallback test in rpc-code (getStorage)
2019-06-14 09:59:59 +02:00
Travis CI 732936280a [CI Skip] 0.81.0-beta.18 2019-06-14 07:26:02 +00:00
Jaco Greeff 4f9aecc207 Merge branch 'master' of github.com:polkadot-js/api 2019-06-14 09:11:08 +02:00
Jaco Greeff c2b3716c33 Revert "Move contracts into api-contract" (#1005)
This reverts commit af0e8cf07a.
2019-06-14 09:09:08 +02:00
Jaco Greeff 7bdf0fbbe5 Revert "Move contracts into api-contract"
This reverts commit af0e8cf07a.
2019-06-14 09:06:57 +02:00
Jaco Greeff af0e8cf07a Move contracts into api-contract 2019-06-14 09:05:21 +02:00
Travis CI 9bf765be08 [CI Skip] 0.81.0-beta.17 2019-06-13 19:47:27 +00:00
Axel Chalon b3f2a11e1e KeyValue now extends Tuple instead of Struct (#1001) 2019-06-13 21:37:57 +02:00
Travis CI c17d8a7c80 [CI Skip] 0.81.0-beta.16 2019-06-13 16:44:31 +00:00
Axel Chalon 5533b1b961 Add .off method to ApiBase (#999)
* Add .off method to ApiBase

* Update CHANGELOG
2019-06-13 18:34:47 +02:00
Travis CI ac7acc9254 [CI Skip] 0.81.0-beta.15 2019-06-13 16:15:50 +00:00
Amaury Martiny 4a22a43d37 fix: signAndSend and new Keyring (#1000)
* fix: signAndSend and new Keyring

* Fix identation
2019-06-13 18:06:23 +02:00
Travis CI b26a8e284b [CI Skip] 0.81.0-beta.14 2019-06-13 14:08:05 +00:00
Jaco Greeff 29805f7366 Common bumps to latest (#998) 2019-06-13 15:58:02 +02:00
Jaco Greeff 5ca32863d0 Allow for contract Vec, Option and Tuple arg/return (#997)
* Allow for contract Vec & Option arg/return

* Support nesting, fixed vecs and tuples

* Support Result

* Update CHANGELOG

* Add additional types added to CHANGELOG (& re-order)

* Add metadata entry (ready to go)
2019-06-13 15:46:47 +02:00
Travis CI b1022919c1 [CI Skip] 0.81.0-beta.13 2019-06-13 12:52:11 +00:00
Stefanie DollandAmaury Martiny e4a97d4efd Update to Metadata v5 (#991)
* add v5 folder

* Fixed typo in README

* Updated tests to v5

* added v5 methods to MetadataVersioned

* Added toV5 conversion file to v4 folder

* change from v4 to v5

* Bump up version

* Update imports in type-storage package

* Switch to v5 imports in type-extrinsics, rpc-core and rpc-provider

* 0.81.0 => 0.82.0

* Updating dependencies to 0.82.0

* update comments

* Undo version bump

* Remove release notes

* v4 to v5 conversion

* WIP tests

* Addresses Amaurys comments

* re-added conversion function

* removed unused imports

* Re-add string to HasherInput type

* addresses failing derive tests

* Fixed broken derive e2e tests

* v5 tests

* Update packages/types/src/Metadata/MetadataVersioned.ts

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

* v3->v4

* trigger hung up travis build
2019-06-13 14:42:44 +02:00
Travis CI 7bd2fcd7f9 [CI Skip] 0.81.0-beta.12 2019-06-13 08:53:37 +00:00
Axel Chalon 3ab581119d Adapt to new @polkadot/keyring KeyPair interface (#994)
* Adapt to new @polkadot/keyring KeyPair interface

* Pull in common 0.93.0-beta.4
2019-06-13 10:44:47 +02:00
Travis CI c43378beb2 [CI Skip] 0.81.0-beta.11 2019-06-12 17:53:12 +00:00
Stefanie Doll 6771f9948b Added types for ApprovalFlag, SetIndex, VoterInfo (#996)
* Added types for ApprovalFlag, SetIndex, VoterInfo

* Delete VoterInfo

* Fixed typo ApprovalIndex  => ApprovalFlag

* Added VoterInfo

* newline & whitespace
2019-06-12 19:43:40 +02:00
Travis CI e6aacffd76 [CI Skip] 0.81.0-beta.10 2019-06-12 16:02:36 +00:00
Jaco Greeff 6ee5799777 Remove extra error logs, bubble trace via Error (#995)
* Remove extra error logs, bubble trace via Error

* Add change to CHANGELOG

* Fix MagicNumber assertion check
2019-06-12 17:50:44 +02:00
Travis CI 24b66278dc [CI Skip] 0.81.0-beta.9 2019-06-12 14:30:47 +00:00
Jaco Greeff ea6ce4eb83 Bump deps (#992)
* Bump deps

* Uopdate CHANGELOG while waiting for CI...

* Bump with latest common
2019-06-12 16:18:26 +02:00
Travis CI acd0c7a1eb [CI Skip] 0.81.0-beta.8 2019-06-12 10:13:16 +00:00
Chevdor 2768306bce Add doc about subscribing to balance changes for several accounts (#982)
* Add doc about subscribing to balance changes for several accounts

* Fix typo
2019-06-12 12:04:02 +02:00
Travis CI 27df0731e2 [CI Skip] 0.81.0-beta.7 2019-06-11 14:08:42 +00:00
kwingram25 8f088c38bb Storage Size u32 (#986)
* lastWrite

* storage size u32
2019-06-11 15:59:10 +02:00
Travis CI 2077a90356 [CI Skip] 0.81.0-beta.6 2019-06-11 12:39:24 +00:00
kwingram25 25af4b449e lastWrite (#985) 2019-06-11 14:28:23 +02:00
Travis CI 2cd10913d4 [CI Skip] 0.81.0-beta.5 2019-06-11 08:52:46 +00:00
Alex Wang 98fd991bd5 fix issue that creates duplicate providers (#983) 2019-06-11 10:42:23 +02:00
Travis CI 0b66f27a8c [CI Skip] 0.81.0-beta.4 2019-06-08 06:54:58 +00:00
Jaco Greeff a2b038e2b9 Bump deps (#979) 2019-06-08 08:45:25 +02:00
Travis CI 2da6d88954 [CI Skip] 0.81.0-beta.3 2019-06-07 12:40:42 +00:00
Jaco Greeff 07ef3beb32 Bump deps (#978) 2019-06-07 14:30:33 +02:00
Travis CI 094b418684 [CI Skip] 0.81.0-beta.2 2019-06-07 10:23:11 +00:00
Thibaut Sardan 5f43da0623 Add rewardDestination to derive.staking.info (#977)
* rewardDestination in staking.info

* squash a couple lines together to please CodeClimate
2019-06-07 12:14:14 +02:00