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
Jaco Greeff
2c25936e2c
Display elections runnersUp in reverse order ( #1565 )
2019-11-13 10:52:24 +01:00
Jaco Greeff
2875fdf2cf
Wrap all derives in memo (like rpc-core) ( #1564 )
2019-11-11 14:25:07 +01:00
Jaco Greeff
f080d6ed1c
Bump common ( #1563 )
2019-11-11 11:34:08 +01:00
Jaco Greeff
3c47c3fdc3
Detect session.validators for derive extraction ( #1562 )
...
* Detect session.validators for derive extraction
* Add comment
* Indexed extraction without session
2019-11-10 12:25:34 +01:00
Jaco Greeff
2be97310d3
Add runnersup to elections ( #1555 )
2019-11-07 21:51:54 +01:00
Jaco Greeff
022c7ea645
Swap internal derives to use api.derive.* ( #1553 )
...
* Swap internal derives to use api.derive.*
* Rx vs normal decorate
* Small cleanups
* Res-use sessions
* Cleanup types
* Fix refCount lost subs
* Small cleanups
2019-11-07 17:34:53 +01:00
Jaco Greeff
c077d0f2e7
Bump deps ( #1550 )
...
* Bump deps
* Updates
2019-11-06 22:56:52 +01:00
Jaco Greeff
8cc256fdcf
Derive drr doesn't have delay ( #1548 )
2019-11-06 17:19:12 +01:00
Jaco Greeff
3998b1bcbd
Whack derive memo ( #1546 )
...
* Whack derive memo
* Bump common
2019-11-05 14:36:53 +01:00
Jaco Greeff
2371d6a29c
Remove double-up-drr (memo vs rpc) ( #1541 )
...
* Remove inner memo (no double-up on stringify)
* Validators-specific query
2019-11-03 23:47:55 +01:00