Amaury Martiny
a9211690be
Remove v9->v10 hack ( #1694 )
...
* Remove v9->v10 hack
* Update static
* Update JSON
2020-01-10 14:47:06 +01:00
Jaco Greeff
b7eeb992cd
Bump deps ( #1699 )
2020-01-06 14:12:49 +01:00
Amaury Martiny
51a866fd35
Update kusama static from 1032 to 1033 ( #1696 )
...
* Update kusama static from 1032 to 1033
* Update comment
* Rename variables
* Test 1032 and 1033
* Got exact metadata from kusama
2020-01-03 17:38:32 +01:00
Amaury Martiny
774f41e6db
Only apply hack if exactly metadata from kusama 1032 ( #1695 )
2020-01-03 12:05:27 +01:00
Keith Ingram and Amaury Martiny
82828d8e09
Add metadata v10/11, blake2_128concat hasher ( #1691 )
...
* v11, blake2_128concat
* MetadataAll
* Add storage hasher v4 and v10
* Make lint pass
* Add correct interfaces
* Fix lint
* Update metadata definitions
* Update v10 metadata
* Update packages/types/src/interfaces/utility/definitions.ts
* Update v11
* Add HACK
* Skip v9 tests (part of HACK)
* Correct function names
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com >
2020-01-02 18:04:42 +01:00
satellitex
53959d482d
Add BTreeSet<V> Codec ( #1639 )
...
* add BTreeSet Codec
* Add following BTreeMap
* fix linting
* fix linting
* add validate Types and encode Types
* type def info is incremented.
* fix compareSet
2019-12-18 16:22:54 +01:00
Jaco Greeff
48ef5af93f
Add missing BTreeMap is metadata checking ( #1653 )
2019-12-09 10:14:12 +01:00
Jaco Greeff
bf946c20db
Latest metadata ( #1647 )
...
* Latest metadata
* Updte static version (v9)
* Update tests for new storage keys
* Bump deps
* Bump extra
* Case, V8 -> v8
2019-12-07 14:13:20 +01:00
Jaco Greeff
33fd1b1c78
Support Metadata V9 ( #1600 )
...
* Metadata v9 definitions
* Update stay V5 in V9
* WIP...
* Small adjustments
* toV9 looks sane ... may work
* v9 tests passes
* v8 tests pass... will get to overall... not checked
* Cleanup type
* Spread storage
* Missing semi
* Cleanup testUtil
* Cater for prefix map key generation
* Remove DoubleMap<T> wrapper
* Remove DoubleMap<T> wrapper
* WIP result types not yet operational
* Output formatting
* Add missing name prop
* Move v9 -> v10, v9 only as storage changes (next up)
* Support v9 & v10
* Fixup linked maps
2019-11-27 19:24:44 +01:00
Jaco Greeff
8b1a7a8584
Move Metadata to interfaces ( #1598 )
...
* Move Metadata to interfaces
* Align imports
* Suppress errors
* Remove TS overrides, createTypeUnsafe returns Codec
* Add type unwrap
* Fixup doc generation
* Remove V8 references
2019-11-22 13:38:20 +01:00
Jaco Greeff
3b758a0d64
Remove custom toString() from metadata storage ( #1597 )
...
* Convert asType -> asPlain, isPlainType -> isPlain
* Make tests pass
* Move unwrapStorageType to StorageKey
2019-11-22 10:47:21 +01:00
Jaco Greeff and Amaury Martiny
011e24bd49
Pass registry to all codec types ( #1592 )
...
* Pass registry to all codec types
* Pass through registry inside API (where the rubber meets the road)
* Small additions
* Derive w/ registry
* Types are more-or-less covered
* Some test adjustments (guided by linting)
* Rid the world of some ../injector
* Additional cleanups, merge injector into registry
* Cleanup extrinsics (always passing registry)
* Remove injector imports (not all replaced)
* Typ spec cleanups
* Phase 1 - types seem lint-free
* rpc-{core,provider} lint free
* Start working through metadata
* Small metadata additions
* Some e2e tests (out-of-order)
* Down to a handful
* Fixup tests for packages/types/src/codec/*.spec.ts
* packages/types/src/codec passes all tests
* packages/types ok (Convert storage with registry fn)
* progress (sort out injection, dreaded find-before msg)
* Down to 1 lint issue...
* Linting done... along with on-demand import
* Exposed ordering
* Remove global injects
* Cleanup comments
* Add CHANGELOG & UPGRADING
* Apply suggestions from code review
Co-Authored-By: Amaury Martiny <amaury.martiny@protonmail.com >
* Update Metadata description
2019-11-21 16:32:39 +01:00
Jaco Greeff
d6239cbe56
Bump metadata ( #1590 )
...
* Bump metadata
* Cleanup linting
* Build interfaces
* ... some much for "no mess, no fuss"...
2019-11-19 21:41:53 +01:00
Amaury Martiny
16e0ea9315
Add a Decorated class, which will be offline decorated Metadata ( #1463 )
...
* Move Metadata to api-metadata
* Make tests in api-metadata pass
* Make tests in api-metadata pass
* Refactor fromMetadata into decorated
* Fix some linting
* Replace headers
* Fix all tests
* Small lint
* Fix tests
* Fix metadata docs scripts
* Fix import ordering
* Add line breaks
* Grumbles
* Fix forgotten import
* rpcMetadata everywhere
* Fixlint
* s/api-metadata/metadata
* Fix latest tests
* Fix lint
* Fix tests
2019-11-12 12:06:18 +01:00