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
56e28bed7f
Rename frozenFee ( #1792 )
2020-02-02 09:11:49 +01:00
Jaco Greeff
9d4b0ea56a
Update Substrate with vesting ( #1790 )
...
* Update Substrate with vesting
* Update balances & vesting queries with compat)
* Split base account queries
* Linting, simpler referendum voters
* Fix (some) tests
2020-02-02 08:50:37 +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
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
8ca194a3d2
Cleanup society types ( #1764 )
...
* Cleanup society types
* Update types
2020-01-28 22:47:07 +01:00
Jaco Greeff
d36ee7de2f
Add society hasDefender ( #1762 )
2020-01-28 21:55:55 +01:00
Jaco Greeff
458dec53dc
Session validators availability detection ( #1759 )
2020-01-28 18:10:06 +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
854a520517
Mark some function @internal (no doc extraction) ( #1746 )
2020-01-27 09:38:02 +01:00
Jaco Greeff
be3f9c8fe8
Remove outdated derive + combineLatest comment ( #1733 )
...
As per https://github.com/polkadot-js/api/pull/1732/files#r368599021
2020-01-21 14:45:07 +01:00
Jaco Greeff
eb5ee9860b
Multi query adjustments ( #1732 )
2020-01-20 13:58:07 +01:00
Jaco Greeff
f67c435378
Trigger build
2020-01-19 22:49:09 +01:00
Jaco Greeff
9c3c07fa9b
Derives for society ( #1727 )
...
* Deries for society
* Candidates
* Add overview
* Candidate types
* WIP, stash before merge
* Linting
* Readability
* Typo
* Split option maps
2020-01-19 21:56:39 +01:00
Jaco Greeff
ffa60d1cfa
Drop V1 support in derive ( #1718 )
...
* Drop V1 support in derive
* Re-do staking with multi
* Re-bump deps
* Adjusts tests (no alice_session)
* CC
2020-01-14 15:55:25 +01:00
Keith Ingram and Jaco Greeff
64ff226535
Fix api.derive.collective ( #1711 )
...
* fix api.derive.collective
* imports
* Update proposals.ts
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
2020-01-13 15:17:04 +01:00
Jaco Greeff
7ac3043f83
Extract sub identities (via accounts derive) ( #1713 )
...
* Extract sub identities
* Cleanups
2020-01-12 14:42:42 +01:00
Jaco Greeff
758ce567e5
Failsafe on proposal decode (fallback ro preimage only) ( #1710 )
2020-01-10 15:58:56 +01:00
Jaco Greeff
b7eeb992cd
Bump deps ( #1699 )
2020-01-06 14:12:49 +01:00
Jaco Greeff
c04fb9073e
Don't query proposal via multi ( #1683 )
2019-12-19 14:07:23 +01:00
Jaco Greeff
9196ce85a0
Expand identity derive fields (incl. all) ( #1680 )
2019-12-19 11:00:47 +01:00
Jaco Greeff
bd57359dc5
Cleanuop preimage check ( #1674 )
2019-12-16 11:56:42 +01:00
Keith Ingram
ddd5eab7f5
collective proposals ( #1671 )
2019-12-15 15:37:27 -05:00
Jaco Greeff
c4e553ad80
Add identity names to derive.accounts.info ( #1673 )
2019-12-15 12:16:17 +01:00
Jaco Greeff
1f7b9f7f3a
democracy.lowestUnbaked ( #1665 )
2019-12-12 07:43:56 +01:00
Jaco Greeff
8ba4029633
Fix elections typo
2019-12-09 23:01:46 +01:00
Keith Ingram
3a70594594
Combine elections.info derive ( #1659 )
...
* Combine elections.info derive
* remove tests
2019-12-09 22:05:56 +01:00
Jaco Greeff
77bf33b4e4
Derive with optional democracy ( #1657 )
...
* Derive with optional democracy
* Cleanup optionals
* Multi for preimage retrievals
* Convert indexes to hex before lookup
2019-12-09 18:17:41 +01:00
Jaco Greeff
4653cc0d84
Add council & treasury derives ( #1654 )
2019-12-09 14:18:13 +01:00
Jaco Greeff
8a5a86e8b3
Better performant per-account staking queries ( #1652 )
...
* Better performant per-account staking queries
* Rename retrieval (no confusion)
* staking.info -> staking.account
* Update .info test
2019-12-09 10:14:51 +01:00
Jaco Greeff
c8dd26b0da
Remove debug logs ( #1637 )
2019-12-04 15:46:56 +01:00
Amaury Martiny
f78bf9dde1
Remove as unknown ( #1636 )
...
* Remove some as unknowns
* Rename sanitize
* Remove file
2019-12-04 12:19:37 +01:00
Jaco Greeff
afbe072ad5
Optional preImage & Proposal for democracy
2019-12-03 13:01:13 +01:00
Jaco Greeff
a695d2a5b5
Sort members by backing ( #1625 )
2019-12-02 15:30:30 +01:00
Jaco Greeff
906732bcdc
Add 6x to conviction ( #1623 )
...
* Add 6x to conviction
* Add derive.democracy.proposals
* Proposal decoding
* Don't return empty proposals
* Rework referendumInfo
* Update referendumInfo extraction
2019-12-02 10:32:20 +01:00
Jaco Greeff
e2e8e3fedd
Add received to vested total for available ( #1621 )
2019-11-29 16:03:17 +01:00
Jaco Greeff
9c337422a5
Add derive.staking.electedInfo ( #1612 )
2019-11-27 14:48:00 +01:00
Jaco Greeff
883b191ae7
Try and detect v2 for node-template-like chains ( #1607 )
2019-11-26 09:04:23 +01:00
Jaco Greeff
ed4af1d04b
Remove v1 era/session length changes ( #1606 )
2019-11-26 07:59:17 +01:00
Jaco Greeff
306857ae07
Remove contracts v1 fees ( #1596 )
...
* Remove contracts v1 fees
* Fix linting
2019-11-21 21:06: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
Jaco Greeff
6b74ea39c2
Adjust available calc (only vested, when free - reserved > vested) ( #1588 )
2019-11-19 16:35:28 +01:00
Jaco Greeff
1c6a2582f3
Controllers on Alex ( #1587 )
2019-11-19 16:01:31 +01:00
Jaco Greeff
b2daf7482f
Types for new slashing ( #1585 )
...
* Types for new slashing
* Unwrap new nominations structures
* Small cleanups
2019-11-19 13:59:27 +01:00
Amaury Martiny
0a27f63423
Make api.const.*.* typed ( #1584 )
...
* Make api.const.*.* typed
* Fix tsc errors
* Remove ConstantCodec
* as any as
* Remove as any
2019-11-18 17:21:54 +01:00
Jaco Greeff
a31921b88e
Fix era countdown block indicator ( #1578 )
2019-11-15 18:41:51 +01:00
Jaco Greeff
c44cb1858e
Fix unlocking/redeemable calc with currentEra ( #1572 )
...
* Fix unlocking/redeemable calc with currentEra
* typo
* >= 0 for era check
* Reverse >= 0, it is only 0
* Pass isVesting flag via balances.all
2019-11-14 18:27:25 +01:00
Jaco Greeff
a70af20eba
Derive fallbacks for election w/o electionsPhragmen ( #1569 )
2019-11-14 14:52:31 +01:00