Commit Graph
913 Commits
Author SHA1 Message Date
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
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
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
Jaco Greeff 91ae98c9e6 createType allows for [u8; <length>] definitions (#976) 2019-06-07 12:13:53 +02:00
Jaco Greeff e295c4d5bf Support more consensus engines with digest info (#974)
* Support more consensus engines with digest info

* Tested against both v1 & v2

* Skip e2e

* Apply map suggestion (more effective as well)
2019-06-07 12:13:30 +02:00
Travis CI 00f4a95a7a [CI Skip] 0.81.0-beta.1 2019-06-07 06:33:39 +00:00
Jaco Greeff c366ede99f Expose {method,section}Name on Method class (#975)
* Expose {method,module}Name on Method class

* moduleName -> sectionName to align
2019-06-07 08:24:16 +02:00
Travis CI b2b2a2cdde [CI Skip] 0.81.0-beta.0 2019-06-06 11:56:56 +00:00
Jaco GreeffandAmaury Martiny 3227ce20a2 Support for new inherent digests (#973)
* Support for new inherent digests

* Latest metadata

* Pull in new council & democracy types

* Update tests for new digest

* Digest logsWith/Without

* Round-up e2e tests

* Remove stray debugging log

* Update CHANGELOG.md

Co-Authored-By: Amaury Martiny <amaury.martiny@protonmail.com>
2019-06-06 13:47:52 +02:00
Travis CI b1e7a0e045 [CI Skip] 0.80.1 2019-06-04 11:14:01 +00:00
Jaco Greeff ca8da1ff96 0.80 (#969) 2019-06-04 13:05:06 +02:00
Travis CI 3edc2d4fa0 [CI Skip] 0.80.0-beta.18 2019-06-04 10:35:56 +00:00
Jaco Greeff 35a59ec469 Basic IKeyringInterface (address encoding/decoding still used) (#968) 2019-06-04 12:26:53 +02:00
Travis CI a518f833a8 [CI Skip] 0.80.0-beta.17 2019-06-04 09:54:37 +00:00
Jaco Greeff 447b7c447d Construct toRawType using internal types (#966)
* Construct toRawType using internal types

* typo

* Struct test for with + toRawType

* Tuple tests for toRawType

* Remove extra empty check, already handled

* EnumType with sane toRawType

* Sane toRawType representation for Set

* Use JSON.stringify inside Struct toRawType

* Extrinsic toRawType yields Extrinsic (like a primitive)

* Block toRawType test
2019-06-04 11:45:56 +02:00
Travis CI f0cd24e6d0 [CI Skip] 0.80.0-beta.16 2019-06-04 09:32:11 +00:00
Jaco Greeff b37eb31b60 Add SignaturePayloadRaw (#967) 2019-06-04 11:23:41 +02:00
Travis CI b4a675c378 [CI Skip] 0.80.0-beta.15 2019-05-31 12:01:43 +00:00
Jaco Greeff 90fad538be Bump deps (#964) 2019-05-31 13:52:35 +02:00
Travis CI 11b2de830d [CI Skip] 0.80.0-beta.14 2019-05-30 11:36:05 +00:00
Travis CI 177296346f [CI Skip] 0.80.0-beta.13 2019-05-29 20:41:59 +00:00
Jaco Greeff 55cb55aeb1 Bump deps, TS 3.5.1 (#962) 2019-05-29 22:32:25 +02:00
Travis CI b6eb427a47 [CI Skip] 0.80.0-beta.12 2019-05-29 15:32:40 +00:00
Jaco Greeff 543fdc034f Update for latest substrate master metadata (#958)
* Update for latest substrate master metadata

* Add ContractStorageKey type

* Update schedule
2019-05-29 17:23:06 +02:00
Travis CI 67337dc986 [CI Skip] 0.80.0-beta.11 2019-05-29 15:15:40 +00:00
Travis CI 570fa13ffd [CI Skip] 0.80.0-beta.10 2019-05-29 14:25:03 +00:00
Alex Wang a7f16064a9 update signature of doublemap storage function, add e2e test cases (#957)
* update signature of doublemap storage function

* add test cases

* update doublemap implementation

* update implementation

* remove duplicate test case

* update test cases
2019-05-29 16:14:42 +02:00
Travis CI e1a54f2b42 [CI Skip] 0.80.0-beta.9 2019-05-29 12:48:32 +00:00
Travis CI d350c2b711 [CI Skip] 0.80.0-beta.8 2019-05-29 11:45:21 +00:00
Jaco Greeff f9e8aedd22 Bump common & dev to latest (#961) 2019-05-29 13:36:24 +02:00
Travis CI 1b03d1e64f [CI Skip] 0.80.0-beta.7 2019-05-29 09:48:01 +00:00
Travis CI 761682373d [CI Skip] 0.80.0-beta.6 2019-05-27 21:12:07 +00:00
Travis CI 407570c4ea [CI Skip] 0.80.0-beta.5 2019-05-27 15:17:05 +00:00
Stefanie DollandAmaury Martiny c01ade86a6 Convert tests to ts and fix existing (#936)
* Add jest watch option to package.json

* convert promise-alex-spec to ts & add types

* convert ./api tests from JS to TS

* convert ./api tests from JS to TS pt. 2

* More convert tests from JS to TS

* rpc-provider convert tests from js to ts

* rpc-provider tests js => ts

* rpc-provider tests js => ts

* linting issues

* tslint fixes

* 101 => 68 typescript errors

* WIP

* connect() e2e tests

* more fixes

* Fix linting errors of new ERA tests after merge

* test for listeners in connect

* formatting

* getting there...

* re-add skips

* test refactoring & codeclimate fixes

* more fixed tests

* mock.body workaround

* Fixed wrong test description

* ApiPromiseInterface => Api

* ws polyfill / send

* bring back isZero() test

* .then().catch() => .catch()

* Removed leftover body

* Type ProviderInterface => Http

* Fixed polyfill tests

* trailing whitespce

* (mock.body as any)['test_body'] and Balance

* Fix autoconnect in WsProvider

* Fixed part of linting errors in ERA tests

* call unused const unsubscribe

* added ts-ignores for testing private properties/ methods of Provider

* Archive node test

* Fixed linting for ERA tests

* Further changes

* Update packages/rpc-provider/src/ws/polyfill.spec.ts

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

* relative paths for imports inside module & reordering of imports pt. 1

* relative paths for imports inside module & reordering of imports pt. 2

* added skip back to e2e transactions

* Fix some more tests in TS (#952)

* Fix some more tests in ts

* Add more constructor

* More typing in ./api

* .skip

* <SubmittableResult>'s

* .catch() -> return()

* Extrinsics tests

* Left TODO's for extrinsic e2e tests

* Workaround for failing Type Extrinsic tests
2019-05-27 17:08:06 +02:00