Jaco Greeff
4e756704ea
Some minor cleanups ( #1966 )
...
* Some minor cleanups
* Small additions
* Cleanup ExtrinsicEra decoding
* Minor adjustments
* Remove support for metadata v0 parsing
* Adjust refCountDelay
* refCountDelay comments
* Adjust Metadata tests
* Metadata default creation
* Funky lines
* Cleanup as AccountIdAndIndex
* Some derive returns
* Try and cleanup info extraction
2020-02-27 15:01:20 +01:00
Jaco Greeff
85ae6f949b
Allow construction of HashMap ( #1955 )
...
* Allow construction of HashMap
* WIP... add Map to codec, extend BTreeMap & HashMap from it
* Rework various map tests
* registry.createClass
* createClass in tests
2020-02-26 21:30:38 +01:00
Keith Ingram
1a50298ffe
Split parachains.derive calls ( #1948 )
...
* api.derive.registrar.parachains
* remove api parse
* suggestions
* some
* parachains: overview/info
* rm all
* rm all
* refine
2020-02-26 11:26:04 +01:00
Jaco Greeff
8598002801
Swap to registry.createType ( #1947 )
2020-02-26 11:17:11 +01:00
Jaco Greeff
253e48f7bb
Return all additional identity fields ( #1943 )
2020-02-25 15:10:47 +01:00
Jaco Greeff
cbc14cc291
Add new staking types, support derives ( #1828 )
...
* Add new staking types
* StakingLedgerTo213 - StakingLedgerTo223
* StakingLedgerTo223 in polkadot (dev)
* Add derive activeEra
* Map Ponts -> RewardPoints
* StakingLedger override CHANGELOG
* Cleanups
* Apparent CC dupes (don't see it, but cleanup useul)
* Cleanup result formatting for indexes
* Map nextElected -> validators
* Fix StakingLedger to current
* Merge CHANGELOG
* Mention derive staking updates
* Mark derive changes as breaking
2020-02-24 16:52:48 +01:00
Jaco Greeff
3bf4c3fac5
Adjust class privates via #, where applicable ( #1921 )
...
* Adjust class priates via #, where applicable
* Remove stray log
* Cleanup rpc-provider
* Small adjustments
* No private access in tests
* Submittable privates
* Use derive for nonce derivation
* Tweak observers
* Alphabetical privates
2020-02-22 11:29:50 +01:00
Jaco Greeff
4540495a44
BigInt support (& some TS typing cleanups) ( #1919 )
...
* Some TS typing cleanups
* docs building again
* yarn.lock rewrite
* tweaks
* BigInt support
* Checktypes with BigInt
* AccountIndex support for BigInt
* Fix ApiPromise signAsync
2020-02-21 17:26:05 +01:00
Jaco Greeff
85ec141b56
Lazy reaping types & updates ( #1914 )
...
* Lazy reaping types & updates
* system.account queries
* AccountInfo -> ContractAccountInfo tests
2020-02-21 12:37:17 +01:00
Jaco Greeff
bec6dba14a
Move primitive/Extrinsic -> extrinsic ( #1905 )
...
* Move primitive/Extrinsic -> extrinsic
* mv primitive/Generic -> generic
* Update registry with BitVec
* ove BitVec back to primitive
* Remove unused import
* Rebuild interfaces
2020-02-20 12:51:06 +01:00
Jaco Greeff
2b5be7eaab
Remove unexported staking.infostash derive (duplicated as .query) ( #1877 )
2020-02-17 08:46:59 +01:00
Keith Ingram and Jaco Greeff
ee622f3d2b
Add api.derive.registrar.parachains ( #1856 )
...
* api.derive.registrar.parachains
* remove api parse
* suggestions
* some
* Update packages/api-derive/src/parachains/all.ts
* Update packages/api-derive/src/index.ts
* Update packages/api-derive/src/index.ts
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
2020-02-15 08:52:40 +01:00
Jaco Greeff
2ac3640900
Update AccountIndex derive ( #1820 )
2020-02-07 15:43:21 +01:00
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
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
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