Commit Graph
1953 Commits
Author SHA1 Message Date
Travis CI 16fe47ebb4 [CI Skip] 0.90.0-beta.67 2019-08-19 18:17:36 +00:00
Jaco Greeff 6fee15b138 Update ValidatorPrefx for 2.x (#1325) 2019-08-19 20:05:50 +02:00
Travis CI 477be58184 [CI Skip] 0.90.0-beta.66 2019-08-19 07:40:04 +00:00
Jaco Greeff a9746b3641 Add specVersion to SignedExtra payload (#1324)
* Add specVersion to SignedExtra payload

* Update ExtrinsicPayload.ts

* Cleanup linting & tests (code-only)

* Update after e2e testing in apps

* Check and fix tests

* Grrr... case sensitivity

* Use interfaces where available

* Case sensitive fixes
2019-08-19 09:28:52 +02:00
Travis CI c2b29eff7f [CI Skip] 0.90.0-beta.65 2019-08-18 16:40:11 +00:00
Jaco Greeff b8d8b7e633 Rework EventRecord detection (along with BlockNumber/Index) (#1323) 2019-08-18 18:28:24 +02:00
Travis CI 7465d6f679 [CI Skip] 0.90.0-beta.64 2019-08-18 14:53:53 +00:00
Jaco Greeff 71d4a7e7f2 Decoding cleanups (#1321)
* Decoding cleanups

* Split extractDef

* Extract struct types to string mapping
2019-08-18 16:42:17 +02:00
Travis CI 41a013371a [CI Skip] 0.90.0-beta.63 2019-08-18 13:12:59 +00:00
Jaco Greeff c7c76f6edb Rework uniqTypes without duplication (#1316)
* Rework uniqTypes without  duplication

* Extra info for vX -> v7 conversion

* Add vX to naming

* Rework unwrap return

* Ignore gathering unique for v0

* Fix getUniq for V0 (well, def. throw-away, but anyway...)

* compareMap cleanup

* Cleanup author extraction

* Add modules via Struct.with (Metadata)

* Revert "Add modules via Struct.with (Metadata)"

This reverts commit 0666c3014cf840fb4ab26a5231cdf67dbe977bd7.

* Consistency in injected vs defined classes (Metadata)

* Add isTrue/isFalse to Bool

* Meta PlainType/MapType in registry

* Fix wrong v6 imports

* Extract storage modifier

* Split additional Metadata classes into interfaces

* Minor cleanups in type naming

* Static json renames

* Convert most V0 classes to interfaces

* Additional meta classes to interfaces

* No classes for Metadata V0 & V1 anymore

* Rename json imports

* Base cleanups

* Add polkadot static
2019-08-18 15:01:21 +02:00
Travis CI b685b29e8c [CI Skip] 0.90.0-beta.62 2019-08-17 11:25:11 +00:00
Jaco Greeff 908e9a8522 Cater for Kusama session key overrides (generic) (#1319) 2019-08-17 13:14:04 +02:00
Travis CI 11adbc0699 [CI Skip] 0.90.0-beta.61 2019-08-17 08:56:36 +00:00
Jaco Greeff 35a296037a Update types for offences (#1317)
* Update static (doc) metadata

* Offences types (definitions & generated)

* Optional recentlyOffline
2019-08-17 10:45:18 +02:00
Travis CI 9f2785ad8a [CI Skip] 0.90.0-beta.60 2019-08-16 13:02:40 +00:00
Jaco Greeff f30354ead4 Remove deprecated Metadata getters (#1315)
* Remove deprecated Metadata getters

* Start metadata with som injected types

* Cleanup V0 somewhat with injected types

* Re-generate interfaces

* Extract some Storage type definitions

* Remove unneeded Calls & Constants files in metadata
2019-08-16 14:51:14 +02:00
Travis CI facdd27117 [CI Skip] 0.90.0-beta.59 2019-08-16 12:18:47 +00:00
Jaco Greeff 8922bbf328 Cater for Babe & Aura combo authors (#1305)
* Cater for Babe & Aura combo authors

* Re-add BabeWeight (until metadata updated)

* BabeWeight to registry

* Remove abrs definitions

* Bump metadata static
2019-08-16 14:07:23 +02:00
Travis CI 41c8222469 [CI Skip] 0.90.0-beta.58 2019-08-16 09:37:00 +00:00
Jaco Greeff 51d589e26b Readability on Metadata & ExtrinsicSignature (#1314)
* Readbility on Metadata & ExtrinsicSignature

* Version  payload

* Adjust versioning

* De-dup asVx
2019-08-16 11:25:38 +02:00
Travis CI 139c13d0c8 [CI Skip] 0.90.0-beta.57 2019-08-15 22:57:07 +00:00
Jaco Greeff fbac330e10 Minor readability enhancements (#1313)
* Minor readability enhancements

* Split unwieldly ApiBase

* Fix import case

* Some movements, init in root

* Simplify overloaded functions

* Some more reworks

* Hoist non-class functions

* Flatten

* Split decorate and init

* Split meta from chain

* getNext cleanup
2019-08-16 00:42:54 +02:00
Travis CI 149403ec72 [CI Skip] 0.90.0-beta.56 2019-08-15 08:11:02 +00:00
Jaco Greeff 411d432193 Small readability/typing fixes on metadata (#1312)
* Small readability/typing fixes on metadata

* Object destructuring

* Alphabetical ordering
2019-08-15 09:59:15 +02:00
Travis CI 88f707fa12 [CI Skip] 0.90.0-beta.55 2019-08-14 19:35:13 +00:00
Jaco Greeff c790cb59bb Expand toJSON for storage fn (used in memoizee) (#1311) 2019-08-14 21:23:48 +02:00
Travis CI ad5455cb52 [CI Skip] 0.90.0-beta.54 2019-08-14 18:36:21 +00:00
Jaco Greeff 9954477de3 Some small complexity/readability improvements (#1309)
* Some small complexity/readability improvements

* Bump allowed returns to 5

* Revert override (as limiting as it seems)
2019-08-14 20:25:20 +02:00
Travis CI c36173c0bb [CI Skip] 0.90.0-beta.53 2019-08-14 13:16:33 +00:00
Jaco Greeff a39caccedc Minor cleanups, no functionality (#1308)
* Minor cleanups, no functionality

* Shared fee parsing
2019-08-14 15:04:58 +02:00
Travis CI fd962327b6 [CI Skip] 0.90.0-beta.52 2019-08-14 12:17:47 +00:00
Jaco Greeff 4115b8a4cc Cleanup & split createType (#1307)
* Cleanup & split createType

* createType import

* Reduce complexity somewhat

* Simplify wrapper check

* Revert "Simplify wrapper check"

This reverts commit e072c7e05e30e68994152af0b5d7b624dc38bba1.

* de-dup getTypeClass

* Explicit extraction, cleanup getTypeDef

* De-dup subType extraction

* createType move
2019-08-14 14:06:45 +02:00
Travis CI 2cdf2923d1 [CI Skip] 0.90.0-beta.51 2019-08-14 07:49:04 +00:00
Jaco Greeff 53256fe0b2 Cleanup hasher complexity (#1306) 2019-08-14 09:37:35 +02:00
Travis CI 230898ca04 [CI Skip] 0.90.0-beta.50 2019-08-14 05:48:42 +00:00
Jaco Greeff a9c752a8d4 Complexity cleanups (#1303)
* Complexity cleanups

* Revert spread

* Sig wrapping

* Use InterfaceTypes in rpc definitions

* Types for rpc definitions
2019-08-14 07:37:20 +02:00
Travis CI f9148b4c18 [CI Skip] 0.90.0-beta.49 2019-08-13 16:33:04 +00:00
Jaco Greeff 677e63b66e Payload Call as Bytes, test serialization (#1304)
* Payload Call as Bytes, test serialization

* Strip hex prefixes to method (signing & payload)
2019-08-13 18:21:46 +02:00
Travis CI f5da2f8b0e [CI Skip] 0.90.0-beta.48 2019-08-13 12:21:16 +00:00
Jaco Greeff 9e61debf45 Extend SignerPayload with constructor cast (#1302) 2019-08-13 14:10:08 +02:00
Travis CI 094141e633 [CI Skip] 0.90.0-beta.47 2019-08-13 08:04:34 +00:00
Jaco Greeff 604812d53d Static metadata update (#1301) 2019-08-13 09:53:29 +02:00
Travis CI 389d71be4a [CI Skip] 0.90.0-beta.46 2019-08-13 05:48:21 +00:00
Jaco Greeff b9142bcf83 Add Forcing enum (staking) (#1300) 2019-08-13 07:36:56 +02:00
Travis CI ea51e351ca [CI Skip] 0.90.0-beta.45 2019-08-12 15:28:13 +00:00
Jaco Greeff 9738ea16aa Add BlockNumber/Index override CHANGELOG examples (#1299)
* Add BlockNumber/Index override examples

* Re-order changes
2019-08-12 17:17:37 +02:00
Travis CI 9337ed6828 [CI Skip] 0.90.0-beta.44 2019-08-12 12:43:20 +00:00
Jaco Greeff e942e68798 Swap to latest extrinsic version if no blocks found (#1298)
* Swap to latest extrinsic version if no blocks found

* Rename const
2019-08-12 14:25:05 +02:00
Jaco Greeff 2fabf00a2a Maintainability indicator 2019-08-12 09:09:43 +02:00
Travis CI 9ccbf8a214 [CI Skip] 0.90.0-beta.43 2019-08-11 22:04:15 +00:00