Commit Graph
635 Commits
Author SHA1 Message Date
Travis CI e5b71a3020 [CI Skip] 0.31.55 2018-10-17 09:56:39 +00:00
Amaury Martiny 221bfac019 No from* (#309)
* Remove fromJSON/fromU8a

* Remove fromJSONx

* Remove unused import
2018-10-17 11:51:57 +02:00
Travis CI ed66239d33 [CI Skip] 0.31.54 2018-10-17 08:51:08 +00:00
Amaury Martiny 471bfce769 Rewrite Method (#308)
* Let Method extend Struct

* Fix Method

* Allow to pass array into Struct constructor

* Formatting

* Fix tests

* Add explicit function return type
2018-10-17 10:46:12 +02:00
Travis CI 30b1b4fcc8 [CI Skip] 0.31.53 2018-10-17 05:17:35 +00:00
Luke Schoen e8e92cd0d5 fix: Fixes #288. Alphabetical ordering for Sections and Methods of RPC, Storage, and Extrinsics (#291)
* fix: Manual alphabetical ordering for Storage Substrate methods

* fix: Fixes #288. Alphabetical ordering for Sections and Methds of RPC, Storage, Extrinsics

* refactor: Move alphabetical sorting of Methods in Extrinsics Section into separate function

* refactor: Use localeCompare to sort more concisely
2018-10-17 07:12:43 +02:00
Travis CI f530e1828f [CI Skip] 0.31.52 2018-10-16 10:40:20 +00:00
Amaury Martiny 106c59d341 Don't use fromJSON/fromU8a anywhere in code (#298)
* Don't use fromJSON/u8a anywhere

* Remove useless cast

* Nicer formatting
2018-10-16 12:35:40 +02:00
Travis CI 484ab9401c [CI Skip] 0.31.51 2018-10-16 10:03:29 +00:00
Jaco Greeff ef2b0b4eba Address from ss-58 AccountIndex (#307)
* Address from ss-58 AccountIndex

* Update Address.spec.js
2018-10-16 11:59:01 +02:00
Travis CI cb775c3a1c [CI Skip] 0.31.50 2018-10-16 08:35:49 +00:00
Jaco Greeff 6cfad070aa Properly calculate AccountIndex sets 2018-10-16 10:31:08 +02:00
Travis CI 261a2b2092 [CI Skip] 0.31.49 2018-10-16 08:05:14 +00:00
Jaco Greeff 4ff2b2dc8b Start enumSet lookup at 1 2018-10-16 10:00:30 +02:00
Travis CI a1871012e2 [CI Skip] 0.31.48 2018-10-16 07:31:15 +00:00
Jaco Greeff 7d303a9fe4 accountId -> accountIndex (#306)
* accountId -> accountIndex

* Lookup id & index in one
2018-10-16 09:26:09 +02:00
Travis CI 5a1492a921 [CI Skip] 0.31.47 2018-10-15 21:52:42 +00:00
Jaco Greeff f31c35e48e Return array from enumset (#305) 2018-10-15 23:48:00 +02:00
Travis CI 3f388a3474 [CI Skip] 0.31.46 2018-10-15 21:40:51 +00:00
Luke Schoen 99b9332dfb fix: Fixes #289. Add Anchor links to Sections on Node interface pages Rpc, Storage, Extrinsics (#302)
* fix: Fixes #289. Add Anchor links to Sections on Node interfaces pages RPC, Storage, Extrinsics

* refactor: Add reusable functions to generate section links/header. Add constants for back to top link/anchor

* Add function with switch to generate section links to section anchors.

* Add common function to generate section header.

* Reuse common Anchor/Link HTML with constants.

* refactor: Rename generateAnchors to generateSectionLinks. Add reusable function for section link text
2018-10-15 23:35:26 +02:00
Travis CI 7211030a14 [CI Skip] 0.31.45 2018-10-15 21:19:56 +00:00
Luke Schoen b2c512fc8c fix: Change Readme contents to reflect implementation (#287)
* fix: Change Readme contents to reflect implementation

* Update README.md
2018-10-15 23:15:19 +02:00
Travis CI b16d80e1da [CI Skip] 0.31.44 2018-10-15 20:59:02 +00:00
Jaco Greeff 1b7640fb9f Create AccountIndex from number (#304) 2018-10-15 22:54:16 +02:00
Travis CI 5638a0cd1f [CI Skip] 0.31.43 2018-10-15 19:39:33 +00:00
Jaco Greeff 8f35b763b3 AccountId <-> AccountIndex mappings (#301) 2018-10-15 21:32:41 +02:00
Travis CI a62c480c9e [CI Skip] 0.31.42 2018-10-15 18:20:13 +00:00
Jaco Greeff 256740ec3b accountIndex.toU8a(true) -> AccountIndexSet (#299)
* accountIndex.toU8a(true) -> AccountIndexSet

* Fix length check
2018-10-15 20:15:25 +02:00
Travis CI 53c1f3f78f [CI Skip] 0.31.41 2018-10-15 14:18:55 +00:00
Jaco Greeff 076e5528a1 Bump keyring dep (one/two pairs removed) (#297) 2018-10-15 16:11:59 +02:00
Travis CI 63007637a1 [CI Skip] 0.31.40 2018-10-15 12:34:01 +00:00
Amaury Martiny 8de9ea8878 Intelligent constructor (Part 3) (#294)
* Fix Metadata

* Fix metadata

* Use constructor type

* Fix EnumType

* Fix EnumType

* Fix Tuple

* Remove some froms

* Fix Struct

* Fix Bft test

* Remove some froms

* Small fixes

* Fix EnumType

* Add blank lines

* Struct allow jsonKey or without

* Add hack

* Update hack test

* Revert some stuff

* Revert to from again

* Fix tests
2018-10-15 14:29:20 +02:00
Travis CI b0d70b0435 [CI Skip] 0.31.39 2018-10-15 11:59:10 +00:00
Jaco Greeff 7a66258ba1 Expand SignedBlock tests (#296)
* Exapnd tests

* Cleanups
2018-10-15 13:54:15 +02:00
Travis CI 1f2562fb95 [CI Skip] 0.31.38 2018-10-15 11:07:39 +00:00
Jaco Greeff e8ca742838 SignedBlock extrinsic decoding (era) (#295) 2018-10-15 13:03:02 +02:00
Travis CI c0d9911637 [CI Skip] 0.31.37 2018-10-15 09:53:20 +00:00
Jaco Greeff 9644daf5eb Fix decoding with eras (#293)
* Fix decoding with eras

* Typo
2018-10-15 11:48:14 +02:00
Travis CI d449189b57 [CI Skip] 0.31.36 2018-10-14 07:37:22 +00:00
Luke Schoen 3e20e7b10d docs: Fixes #275. Update Readme package names and links (#286)
* docs: Fixes #275. Update Readme package names and links

* Update README.md
2018-10-14 09:32:51 +02:00
Travis CI 06be0b09c7 [CI Skip] 0.31.35 2018-10-13 19:58:11 +00:00
Jaco Greeff c240afb26e Bump deps (keyring) (#285) 2018-10-13 21:53:27 +02:00
Travis CI e4b6e3ef3d [CI Skip] 0.31.34 2018-10-13 19:07:03 +00:00
Jaco Greeff bb114bca86 Bump dependencies (#284) 2018-10-13 20:57:04 +02:00
Travis CI 249fc20742 [CI Skip] 0.31.33 2018-10-13 16:06:28 +00:00
Jaco Greeff 97b030100d Absolute logo url (#283) 2018-10-13 18:01:53 +02:00
Travis CI 49cbfa8c8b [CI Skip] 0.31.32 2018-10-13 15:55:21 +00:00
Jaco Greeff 3a7cdddee4 Fix statusCb check (#282)
* Fix statusCb check

* Tests for bugfix
2018-10-13 17:50:42 +02:00
Travis CI 3ab383f3ec [CI Skip] 0.31.31 2018-10-13 15:38:10 +00:00
Jaco Greeff 7bc8386806 AccountIndex encoding updates via util/keyring (#281)
* AccountIndex encoding updates via util/keyring

* Proper ss58 AccountIndex decoding from keyring

* Metadata allows both length and non-length prefixed

* Update doc logo size & relative URL
2018-10-13 17:33:40 +02:00