Commit Graph
60 Commits
Author SHA1 Message Date
Jaco Greeff 74737b6367 API formatting for inputs & outputs (#171)
* API formatting for inputs & outputs

* Shorten naming

* getStorage (signle key) operational

* Remove api-format (not used in api anymore)

* Cleanup creation logic

* Cleanup linting

* Cleanup storage creation

* e2e state test

* Add code test

* Add isBare flag to toU8a

* Uppercase... wtill wrong though

* Update metadata json

* We are creating keys properly

* Cleanup tslint

* Type splitting,m handling Tuple & Vector

* StorageChangeSet results in-place

* Update deps

* Allow Tuples to have array constructors

* Test for uncloded vec/tuple

* Update deps
2018-09-28 15:42:23 +02:00
Travis CI 8380455599 [CI Skip] 0.30.1 2018-09-27 11:17:47 +00:00
Jaco Greeff 170c33708b Bump version (new codec) (#170) 2018-09-27 13:12:58 +02:00
Jaco Greeff 773358195a Round out metadata types (#169)
* Fake Origin for compatibility

* Add Gas

* Add Moment

* Cleanups

* NewAccountOutcome

* Permill & Perbill

* PrendingExtrinsics -> PendingExtrinsics

* Extrinsics & PendingExtrinsics

* Alias String -> Text (as found in jsonrpc, expose it)

* MetaDate -> Metadata (compat)

* Add StorageData, StorageKey & ChangeSet

* Cleanup comments

* Comment update

* Comment typo

* Add ParachainId

* Add Tuple type

* Tuple tests

* Clenaup Tuple generics

* Expand comment

* Expose keys/values on struct

* Array-like at -> get

* Cleanup & simplify EnumType

* Use setValue internally to fromU8a

* Add RuntimeVersion

* Expose RuntimeVersion
2018-09-27 12:42:20 +02:00
Travis CI 79860b6b30 [CI Skip] 0.29.13 2018-09-27 10:31:56 +00:00
Travis CI b5a36c4eaa [CI Skip] 0.29.12 2018-09-26 12:38:06 +00:00
Travis CI 7eb2b29201 [CI Skip] 0.29.11 2018-09-26 05:30:33 +00:00
Travis CI bd6cf112b5 [CI Skip] 0.29.10 2018-09-25 16:28:02 +00:00
Travis CI b13486f9ab [CI Skip] 0.29.9 2018-09-25 11:38:51 +00:00
Travis CI 3a54bf18f6 [CI Skip] 0.29.8 2018-09-24 11:58:23 +00:00
Jaco Greeff d9b05cf9f2 Decode runtime metadata (#162)
* WIP

* Some output, still borken...

* Events decoded correctly

* WIP, metadata decoded

* String cleanups

* Expand with generics

* Add getters

* Start docs...

* Additional docs

* Extra whitespace on Compact

* CodecLength FIXME

* Remove FIXME (impl. takes care)

* Swap in LengthCompact encoding

* Extend docs, play with auto-type for struct

* Trim strings, add Type for type-specific String

* More string-type hackery

* Don't allow Type re-encoding

* Remove struct experiment

* Cleanup Option

* Remove extra type defs from CodecStruct usage

* Expand Storage function with map (and type returns)

* Description around BaseCodec

* Cleanup linting, add Metadata test

* Move to api-codec

* Extract uniq types

* Uniq updates

* Unwrap, ungeneric
2018-09-24 13:51:20 +02:00
Travis CI baaf394ccc [CI Skip] 0.29.7 2018-09-21 08:20:21 +00:00
Travis CI 120f3fd7d4 [CI Skip] 0.29.6 2018-09-19 15:04:54 +00:00
Travis CI b421322aa6 [CI Skip] 0.29.5 2018-09-19 14:20:03 +00:00
Jaco Greeff 4854379424 Gitbook rendering updates (#159)
* Add .nodoc for in-flux packages

* Start with clean-slate for re-generation

* Update with working (although manual) config
2018-09-19 16:14:37 +02:00
Travis CI ef78f2a024 [CI Skip] 0.29.4 2018-09-17 12:37:37 +00:00
Travis CI d9456dd843 [CI Skip] 0.29.3 2018-09-17 08:39:05 +00:00
Travis CI 5a513ac09e [CI Skip] 0.29.2 2018-09-15 07:17:46 +00:00
Travis CI 7fffcb3747 [CI Skip] 0.29.1 2018-09-14 15:37:29 +00:00
Jaco Greeff 35b4f9a095 Api & RxApi now created via new (#153)
* Api & RxApi now created via new

* Bump version
2018-09-14 17:32:58 +02:00
Travis CI d9ab009917 [CI Skip] 0.28.35 2018-09-13 11:39:52 +00:00
Travis CI 6ea874bec8 [CI Skip] 0.28.34 2018-09-13 10:10:19 +00:00
Travis CI 739a4afb6f [CI Skip] 0.28.33 2018-09-12 12:29:31 +00:00
Travis CI 2e9393bc43 [CI Skip] 0.28.32 2018-09-12 10:19:33 +00:00
Travis CI 18b02e91d8 [CI Skip] 0.28.31 2018-09-12 08:28:50 +00:00
Travis CI 08b1fe107f [CI Skip] 0.28.30 2018-09-11 13:46:15 +00:00
Travis CI a07e8941a1 [CI Skip] 0.28.29 2018-09-07 11:08:57 +00:00
Travis CI e646801c6f [CI Skip] 0.28.28 2018-09-07 09:48:16 +00:00
Travis CI 9c0d9b5832 [CI Skip] 0.28.27 2018-09-05 14:11:58 +00:00
Travis CI 6f1753a37e [CI Skip] 0.28.26 2018-09-05 12:34:07 +00:00
Travis CI cc331f7be1 [CI Skip] 0.28.25 2018-09-04 08:01:44 +00:00
Travis CI 87273e56d9 [CI Skip] 0.28.24 2018-08-29 10:06:15 +00:00
Travis CI 5120bd5e20 [CI Skip] 0.28.23 2018-08-28 12:56:18 +00:00
Travis CI 94adfa3e61 [CI Skip] 0.28.22 2018-08-24 12:02:17 +00:00
Travis CI f4dea2f4a4 [CI Skip] 0.28.21 2018-08-24 10:15:24 +00:00
Travis CI 31cbac81b4 [CI Skip] 0.28.20 2018-08-22 08:09:05 +00:00
Travis CI a8cf1ff143 [CI Skip] 0.28.19 2018-08-21 13:45:06 +00:00
Travis CI ae25ece90b [CI Skip] 0.28.18 2018-08-17 08:15:27 +00:00
Travis CI 809ea04796 [CI Skip] 0.28.17 2018-08-16 19:48:33 +00:00
Travis CI ae6b8ee4d5 [CI Skip] 0.28.16 2018-08-16 13:07:37 +00:00
Travis CI c17ba5c952 [CI Skip] 0.28.15 2018-08-16 11:29:35 +00:00
Jaco Greeff 6877262b22 Update dependencies 2018-08-16 13:10:42 +02:00
Travis CI 4bd46396b0 [CI Skip] 0.28.14 2018-08-15 15:12:51 +00:00
Travis CI a46774e2e9 [CI Skip] 0.28.13 2018-08-15 14:25:24 +00:00
Jaco Greeff bd2a1f54fc Track subscriptions per method (#134)
* Track subscriptions per method

* Update subscription tests

* Correct newHead un/subscribe methods
2018-08-15 16:20:45 +02:00
Travis CI 048befc39d [CI Skip] 0.28.12 2018-08-15 13:38:37 +00:00
Jaco Greeff a369c8804a Add chain_getBlock & author_pendingExtrinsics (#132)
* Add chain_getBlock & author_pendingExtrinsics

* Remove sample

* TSLint
2018-08-15 15:34:16 +02:00
Travis CI 5756a7a30d [CI Skip] 0.28.11 2018-08-15 07:46:05 +00:00
Travis CI b48b274507 [CI Skip] 0.28.10 2018-08-14 12:10:13 +00:00
Travis CI 14ac098bb4 [CI Skip] 0.28.9 2018-08-13 09:21:13 +00:00