Jaco Greeff
fe52484547
Query nonce/data from system.account (as available) ( #1814 )
...
* Query nonce/data from sustem.account (as available)
* Detect new nonce query, retrieve
* Call system.account for nonce & balance
* Update CHANGELOG
2020-02-07 14:20:34 +01:00
Jaco Greeff
601cc62d70
1.1 ( #1815 )
2020-02-06 16:05:04 +01:00
Jaco Greeff
e6e96aa9c9
Make indices module optional ( #1812 )
...
* Make indices optional
* Updtae contracts with optional creation
* Flatten contract fees
2020-02-06 14:09:29 +01:00
Jaco Greeff
6be25966d8
Enum .toJSON() to return type name as specified ( #1811 )
...
* Enum `.toJSON()` to return type name as specified
* Fix text compares
2020-02-06 10:48:33 +01:00
Jaco Greeff
19f87aac4d
Council memebrs with no election info ( #1810 )
2020-02-05 16:15:36 +01:00
Jaco Greeff
2de7a3c130
Add .keyPrefix for storage keys ( #1809 )
...
* Add .keyPrefix for storage keys
* Fix hex length
2020-02-05 15:15:49 +01:00
Jaco Greeff
b3d592357f
Override for Vote type (not a struct, not caught) ( #1794 )
...
* Override for Vote type (not a struct, not caught)
* Generate simple Vote object (first, Struct to be done)
* Comment for hex type (string)
* Expand conviction (like we should on enum)
* Cool, use conviction def for input
* aye is required
* Remove FIXMEs
2020-02-02 19:17:33 +01:00
Jaco Greeff
7221a3637c
Add UInt .isMax() ( #1791 )
...
* Add UInt .isMax()
* Filter lockedBlance by max
2020-02-01 21:20:48 +01:00
Jaco Greeff
b24a1ff350
SignedExtension injection into payload ( #1778 )
...
* Make a start ... V11 definitions
* V11 conversion
* Fix ErrorMetadataV11
* Extension point for signed extensions
* Add V11 to mapped
* Expand toLatest comments
* Make a start at signer extension defs
* exports
* Extract extension definitions
* Add extension registration
* Remove old override
* Get definition on extrinsic creation
* Add missing V4 base
* Optional extrinsic
* Pull extrinsic version from metadata (if available)
* asLatest.extrinsic should now be available
* Don't export non-types for Extrinsic
* Setup registry with default extensions
* Async test really runs async
* Trace test failures (V1 orig, V4 now)
* CHANGELOG
* Add extension data to actual signature
* Cleanups
* Return cleanups
* Mark all type deocde static internal
* Apply extensions fully to payload
* Cleanup duplication
* ExtrinsicSignature* via createType
2020-02-01 14:17:17 +01:00
Jaco Greeff
4aa5693906
Extend type generation ( #1783 )
...
* Cleanup type overrides
* Generate (with catch-all removal)
* Progress
* Re-gen tx types
* Remove unneeded option check
* Linting updates
* Update CHANGELOG (cleanups as per comments)
2020-01-31 15:34:06 +01:00
Jaco Greeff
982665c337
Update CHANGELOG with missing change ( #1782 )
2020-01-30 17:22:56 +01:00
Jaco Greeff
ca7edf1593
1.0 ( #1781 )
...
* 1.0
* signAsync typing
* Merge master
2020-01-30 16:59:04 +01:00
Jaco Greeff
4c328964d5
Allow chain to use user-defined types ( #1769 )
...
* Allow chain to use user-defined types
* --package docs on chain extract
2020-01-29 17:37:19 +01:00
Jaco Greeff
2a5c5ce3fe
Only include derives with parent query ( #1755 )
...
* Only include derives with parent query
* Update CHANGELOG
2020-01-28 11:07:02 +01:00
Jaco Greeff
6e2ad7789e
Expose .entries() for DoubleMaps ( #1750 )
...
* Expose .entries() for DoubleMaps
* DoubleMap vs Map test
* Fix decoration
* Remove prefixed map
* Allow SoubleMap entries() with arguments
* DoubleMap with & without params
* Remove debug log
* Update CHANGELOG
* ... and working... finally.
* Cleanup debug logs
2020-01-27 17:13:53 +01:00
Jaco Greeff
7057cf365b
Add paymentInfo to submittables ( #1582 )
...
* Add paymentInfo to submittables
* Cleanup paymentInfo call
* Use 0x42...42 dummy sigs
* Re-add paymentInfo to submittable
* Add correct signFake interfaces
* CHANGELOG
2020-01-09 14:40:25 +01:00
Jaco Greeff
2dee50f019
Bump deps ( #1704 )
2020-01-09 11:59:21 +01:00
Jaco Greeff
f9a42e47e7
0.99 ( #1669 )
...
* 0.99
* Rewrite yarn.lock
2019-12-13 10:26:41 +01:00
Jaco Greeff
0d2896630d
Replace Data/U8a with un-aliassed Raw ( #1656 )
...
* Replace Data with un-aliassed U8a
* Export U8a
* Explicitly add U8a to the registry
* U8a -> Raw
2019-12-09 15:38:07 +01:00
Jaco Greeff
64a4bb2e17
0.98 ( #1635 )
2019-12-04 12:27:02 +01:00
Jaco Greeff
89700f98c5
0.97 ( #1614 )
...
* 0.97
* Bump version, add Keys & ValidatorPrefs to CHANGELOG
* V9, V10
2019-11-29 09:55:42 +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
188363d407
0.96 ( #1561 )
2019-11-09 14:24:27 +01:00
Jaco Greeff
155fd0f8b1
CHANGELOG for 0.96 series ( #1560 )
2019-11-09 12:47:06 +01:00
Jaco Greeff
6ff0efca25
0.95 ( #1512 )
2019-10-25 12:40:21 +02:00
Jaco Greeff
a8bfa90b87
Update signing comment ( #1509 )
...
* Update signing comment
* Extrinsic V4 CHANGELOG
2019-10-24 16:20:40 +02:00
Jaco Greeff
d194a6e4c9
Allow BTreeMap.with('u32', 'Text') (not only classes) ( #1483 )
2019-10-14 13:17:45 +02:00
Jaco Greeff
b8d7f4803b
CHANGELOG ( #1471 )
2019-10-11 09:30:30 +02:00
Jaco Greeff
b8d4bc5c6a
Call.injectMetadata (align with Events) ( #1462 )
...
* Call.injectMetadata (align with Events)
* Fix interface builds
* Fix md builds
* Fixup tests with injection
2019-10-10 11:05:01 +02:00
Jaco Greeff
2accd13bb6
0.94 ( #1456 )
2019-10-07 16:52:30 +02:00
Jaco Greeff
fb7e067737
Update Enum .eq to be more exhaustive ( #1455 )
...
* Update Enum .eq to be more exhaustive
* Add basic compare test
2019-10-07 15:31:05 +02:00
Jaco Greeff
d594149ed1
Fix derive heartbeats to query via index ( #1446 )
2019-10-04 14:13:06 +02:00
Jaco Greeff
eda93d25f6
Align CHANGELOG with current ( #1438 )
2019-10-02 23:00:56 +02:00
Jaco Greeff
96937666d1
0.93 ( #1423 )
2019-09-26 11:55:41 +02:00
Jaco Greeff
ad4a6e63ce
Use rpc.account.nextIndex in submittables ( #1422 )
2019-09-25 17:20:46 +02:00
Jaco Greeff
8293f4b585
Bumps & 0.93 CHANGELOG ( #1420 )
...
* Bumps & 0.93 CHANGELOG
* Linting
2019-09-25 13:29:07 +02:00
Jaco Greeff
d1105c899f
0.92 ( #1390 )
...
* Metadata for current Substrate master
* 0.92 doc updates
* @polkadot/util 1.4.1
* Update static polkadot metadata
* Version bump
2019-09-12 15:29:48 +02:00
Jaco Greeff
8b80ce7132
Expose keyring via @polkadot/api ( #1385 )
...
* Expose keyring via @polkadot/api
* typo, not -> now
2019-09-12 10:03:25 +02:00
Jaco Greeff
a1a52fbdb6
Bump common ( #1380 )
2019-09-10 19:42:24 +02:00
Jaco Greeff
3e3d03693a
Set the ss58Format based on chain properties ( #1378 )
...
* Set the ss58Format based on chain properties
* Mock returns system_properties
2019-09-09 17:31:16 +02:00
Jaco Greeff
05d697ce3e
0.91 ( #1377 )
...
* Deps & CHANGELOG
* Current master metadata (format only)
* 0.91
2019-09-09 15:43:49 +02:00
Amaury Martiny
b889e56b34
Make author_insertKey public arg required ( #1366 )
...
* Make author_insertKey public arg required
* Remove blank line
* Build interfaces
* Rename to publicKey
2019-09-04 13:06:11 +02:00
Ian He
f66b2d00c4
move SignerPayload to @polkadot/types ( #1360 )
...
* move SignerPayload to @polkadot/types
* fix errors
* update changelog
* improve naming and code style
2019-09-04 07:58:15 +02:00
Jaco Greeff
a0194685b8
Bytes & Extrinsic decoding cleanups ( #1337 )
...
* Bytes & Extrinsic decoding cleanups
* Add CHANGELOG entry for Extrinsic changes
2019-08-29 11:43:25 +02:00
Jaco Greeff
97a5b16320
chain.getRuntimeVersion -> state.getRuntimeVersion ( #1341 )
2019-08-25 09:02:30 +02:00
Jaco Greeff
dc1104bc00
0.90 ( #1339 )
2019-08-24 13:30:16 +02:00
Jaco Greeff
895ed80449
subscribeNewHeads ( #1338 )
...
* subscribeNewHeads
* Update CHANGELOG
* Rebuild interfaces
* Sort interfaces, really expose plural
* Fix mocks
2019-08-24 12:10:42 +02: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
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
Jaco Greeff
b595428372
Lazily create registry types (also solves resolution order) ( #1291 )
...
* Lazily create registry types (also solves resolution order)
* Typo in comment
* Alphabetical definitions (ordering detected)
* Make fallback & SessionKeys work as expected
* Cleanup registration, user-types takes priority
* typo
* Api constructors only take options
* Cleanup typos
* Don't create classes while validating metadata
* Adjust badges... well, waiting for CI, so...
* typo
2019-08-10 14:24:04 +02:00