Commit Graph
1641 Commits
Author SHA1 Message Date
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
Jaco Greeff 7023214581 s/contract/contracts/ (#1036)
* s/contract/contracts/

* Derive rename
2019-06-19 21:12:16 +02:00
Amaury Martiny 7b461e7f21 toJSON returns the correct type (#1038)
* Introduce AnyJson

* Other small fixes
2019-06-19 21:11:32 +02:00
Travis CI fb357dc455 [CI Skip] 0.82.0-beta.12 2019-06-18 17:02:25 +00:00
Stefanie Doll 53e5a0ce9b Fix typescript errors in recently added tests (#1032)
* type header

* Fix typescript errors in recently added tests

* Fix HeaderExtended type
2019-06-18 18:52:23 +02:00
Travis CI b9d631a04b [CI Skip] 0.82.0-beta.11 2019-06-18 16:10:11 +00:00
Stefanie Doll c3216a524e Add child_storage and getKeys methods (#1012)
* Add childStorageKeyPrefix to type-storage package

* WIP

* fix failing build

* wrap StorageKey

* no new line

* Added childStoragePrefix param

* Add childStorageKey param

* Tests for child methods

* Finalized tests

* linting

* Changed get_keys test to :code

* Alphabetical imports

* store hex values in consts

* follow substrate order & empty line fixes

* alphabetical export

* Correct hex value for :child_storage:
2019-06-18 17:58:50 +02:00
Travis CI 59182ca294 [CI Skip] 0.82.0-beta.10 2019-06-18 15:10:56 +00:00
Stefanie Doll 33fa3c6237 Removed auth storage keys (#1030)
* removed auth storage keys

* removed changes on autogenerated files

* re-add deprecated storage methods

* linting

* linting
2019-06-18 16:59:14 +02:00
Travis CI 79361eb398 [CI Skip] 0.82.0-beta.9 2019-06-18 04:31:21 +00:00
Jaco Greeff 8e60f9dfc7 Bump deps (incl. TS 3.5.2) (#1029)
* Bump deps (incl. TS 3.5.2)

* typescript-plugin-markdown 2.0.4
2019-06-18 06:21:22 +02:00
Travis CI f93ef348a3 [CI Skip] 0.82.0-beta.8 2019-06-17 12:52:03 +00:00
Jaco Greeff 6f3c8f7862 Update EventRecord tests (#1028)
* Update EventRecord tests

* Update metadata with system events exposed

* Align new EventRecord and fallback tests
2019-06-17 14:42:35 +02:00
Travis CI 69b29e6499 [CI Skip] 0.82.0-beta.7 2019-06-17 08:51:58 +00:00
Jaco Greeff 9d00dce569 SubmittableResult does not extend Struct (#1023) 2019-06-17 10:42:28 +02:00
Jaco Greeff 993bc05892 USize is now non-constructable (#1022)
* USize is now unconstructable

* usize CHANGELOG entry
2019-06-17 10:41:57 +02:00
Jaco Greeff 22bf06e6e0 Remove derive {Struct,Vector}Any (new typing magic) (#1019)
* Remove derive {Struct,Vector}Any (new typing magic)

* Import ordering

* Small lint fix
2019-06-17 10:41:32 +02:00
Jaco Greeff 683ed396c2 Allow Text to construct from hex (#1018)
* Allow Text to construct from hex

* Simplify decodeText
2019-06-17 10:40:59 +02:00
Travis CI a9e3b88cdd [CI Skip] 0.82.0-beta.6 2019-06-15 21:47:10 +00:00