Jaco
a23b3f953b
Retrieve named reserves ( #4602 )
2022-02-25 12:40:35 +02:00
Jaco
8ba4ed5377
2022 ( #4404 )
2022-01-01 09:28:18 +02:00
Jaco
4913cf65fd
Move api-derive to correct location ( #4343 )
...
* Move api-derive to correct location
* Adjust (linting ok)
* No composite
* ApiDerive split
* Adjust
* Still WIP, getting closer
* It lints
* derive build issues sorted
* It builds :)
* Add system_health to mock
* api-augment usage
* Cleanups
* Adjust paths
* linting
* Some <'s
* Revert <>'s
* linting
* ordering
* Augmentation tweaks
* yarn.lock
* export
2021-12-18 09:18:55 +02:00
Jaco
736fd536f9
Use tsconfig references ( #4328 )
...
* Use tsconfig references
* Move types-known (temp until lower-level split)
* Sources
* Adjust
* tesconfig.eslint.json
* Bumps
* AdjustAdjust
* Linting passing... a start...
* Adjust
* Merge derive
* Merge
* api-contract-support
* It builds?
* compare locations
2021-12-14 12:04:50 +02:00
Jaco
7c51354186
Additional derive cleanups ( #4299 )
...
* Additional derive cleanups
* map var
* Apply suggestions from code review
* Additional
* Metadata cleanups
* Adjust
* Apply HexString to all Metadata init
* typegen HexString
* generator HexString
* basepath
2021-12-08 14:15:26 +02:00
Jaco
cb65fb450f
Return multiple vesting schedules ( #4057 )
...
* Display multiple vesting schedules
* Derive with multiple vesting schedules
* Update
2021-10-13 16:31:41 +03:00
Jaco
03b98774bc
Allow queries for new vesting (& prev & old...) ( #4053 )
2021-10-13 07:31:07 +03:00
Jaco
72d5330727
Use lookup types in derives ( #4012 )
...
* Use lookup types in derives
* additional
* society
2021-10-01 13:02:24 +03:00
Jaco
76da6a6af5
Adjust createType with inference parser ( #3866 )
...
* Adjust createType with inference parser
* Santize fixed vecs
* __Tokenize
* Shortcut ending sequences
* Update tests & checks
* greedy matching
* Additional linting
* s/extends Codec/extends Codec | undefined/
* Adjust
* Shortcut interfacetypes
* Cleanups
* set & enum
* Adjust getTypeClass fallback set
* CC
* Adjust
* Adjust createTypeUnsafe
2021-08-12 14:07:09 +02:00
Jaco
ff3882f5f7
Bump common (w/ rxjs 7) ( #3736 )
...
* Bump common (w/ rxjs 7)
* Adjust
* pre bump
* Cleanup imports
* Add missing switchMap
* CHANGELOG
* Remove duplicate imports
* Bump common
* Direct rxjs import
2021-07-07 09:26:30 +02:00
Jaco
bdaacfdd56
BN import from util ( #3637 )
...
* BN import from util
* Update packages/api-derive/src/staking/stakerRewards.ts
2021-06-11 12:52:21 +02:00
WoeOm
0de39e4c52
adapt Darwinia, Crab Network types ( #3498 )
2021-05-06 13:03:16 +02:00
Jaco Greeff
0362eaf472
Bump deps (& berry) ( #3259 )
...
* Bump deps (& berry)
* new 4.2.2 linting issues
2021-03-03 10:03:46 +01:00
Jaco Greeff
9f205392a3
Remove old RewardDestination type ( #3246 )
...
* Remove old RewardDestination type
* merge master
* adjust
* Adjust
2021-03-01 09:23:37 +01:00
Alex D
2afff1b41f
Use derive customAccount and customLocks for balance overrides ( #3248 )
...
* modified api-derive balances to allow use of custom balance storages via derives; current implementation only works with standard call signatures
* type predicate as filter value
* renamed derive method name
2021-03-01 08:42:07 +01:00
Jaco Greeff
886f3a3c08
Revert "modified api-derive balances to allow use of custom balance storages … ( #3223 )" ( #3238 )
...
This reverts commit ab8b381d8b .
2021-02-28 10:12:54 +01:00
Alex D
ab8b381d8b
modified api-derive balances to allow use of custom balance storages … ( #3223 )
...
* modified api-derive balances to allow use of custom balance storages via derives; current implementation only works with standard call signatures
* type predicate as filter value
2021-02-28 09:53:35 +01:00
Jaco Greeff
23f8eb9713
Return locks for extended balance instances ( #3097 )
2021-01-23 14:45:17 +01:00
Jaco Greeff
df22526229
Bump deps ( #3095 )
2021-01-22 23:58:53 +01:00
Jaco Greeff
1f55f38bd2
Introduce instances, apply to balance derives (multi-result) ( #3094 )
...
* Introducce instances, apply to balance derives (multi-result)
* Nonce extraction
* Optimize
2021-01-22 22:24:10 +01:00
Jaco Greeff
a9c9fb5769
2021 ( #3015 )
2021-01-03 11:26:46 +01:00
Jaco Greeff
208fbb24d5
Build esm (& add x-rxjs package) ( #2942 )
2020-12-11 18:44:23 +01:00
Jaco Greeff
8e6a1c8fb1
Bump dev (sort imports) ( #2923 )
...
* Bump dev (sort imports)
* Resort
* Adjust ApiInterfaceRx
2020-12-07 16:26:19 +01:00
Jaco Greeff
0e52e8fe23
Some type imports (interfaces) ( #2887 )
...
* Some type imports (interfaces)
* Additional
* Additional
* Small movements/fixes
* Additional
* Additional
* Unsaved...
2020-12-02 10:12:19 +01:00
Jaco Greeff
161c121cb2
Cleanups for maintainability ( #2809 )
...
* Cleanups for maintainability
* Split referendumsInfo
* Extract didUpdate -> bool
* Era filtering
* Default to council
* Points cache
* Remove cache
* Move map arg
2020-10-30 14:28:38 +01:00
Jaco Greeff
cdd6544e20
SPDX ( #2619 )
2020-09-17 16:31:06 +02:00
Jaco Greeff
b6d1be6ee5
Only memomize via instanceId ( #2572 )
...
* Add memoizee instanceId
* Gotcha.
* linitng
2020-09-02 17:13:38 +02:00
Nikhil Ranjan
f43bc32573
add vestingPerBlock and vestingEndBlock in DeriveBalancesAll when doing calcBalances ( #2563 )
...
* add vesting perBlock and vestingEndBlock in DeriveBalancesAll when doing calcBalances
* perBlock renamed to vestingPerBlock
2020-09-01 13:09:29 +02:00
Jaco Greeff
2f78329738
Return democracy locks for delegations ( #2531 )
2020-08-28 14:23:05 +02:00
Jaco Greeff
f7c1b6e81b
Check system.account (& balances) for new queries ( #2495 )
2020-08-20 10:33:47 +02:00
Jaco Greeff
f1ebcddec6
Adjust for vesting via locks ( #2396 )
2020-06-28 16:08:02 +02:00
Jaco Greeff
45786b31da
Bump deps ( #2286 )
...
* Bump deps
* Linting cleanups
2020-05-15 13:35:15 +02:00
Jaco Greeff
bb14471e60
Consistency in Derive* type names ( #2106 )
2020-03-27 15:34:41 +01:00
Jaco Greeff
dd217f82b2
Chunk keys & values retrievals on keys()/entries() ( #2046 )
...
* Chunk keys & values retrievals on keys()/entries()
* Bump chunk sizes
* Fix concatMap index
* Update mock
2020-03-13 19:40:57 +01:00
Jaco Greeff
d9dad3566a
Use asyncScheduler for all derives ( #2043 )
2020-03-13 12:32:42 +01:00
Jaco Greeff
8ad3d35dd2
Lock all indeeds locks all
2020-03-09 18:44:30 +01:00
Luke Schoen
b182fd2428
fix: Fixes TypeError: Cannot read property 'vesting' of undefined ( #1970 )
...
We're converting our chain from PoA to PoS in this PR https://github.com/DataHighway-DHX/node/pull/52/commits/7c8c96939ab6a2b77dd3a2f4bef427e831dafbda
But when I run the chain with those latest changes I got error `TypeError: Cannot read property 'vesting' of undefined` when I tried to go to the "Accounts", "Transfer", or "Extrinsics" app using polkadot.js.org/apps, as explained here https://matrix.to/#/!XOxcnpiHXHhAjJfRFP:matrix.parity.io/$0oidO-aZvsjMRdskB2nig6P_Y4CjH4Gc6TMrl4V7ZB8?via=matrix.parity.io&via=matrix.org&via=matrix.dapp.org.uk
After cloning https://github.com/polkadot-js/apps and debugging the error, I found that this change resolved the error and the error no longer appears when I access those apps
2020-02-27 21:28:41 +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
eb5ee9860b
Multi query adjustments ( #1732 )
2020-01-20 13:58:07 +01:00
Jaco Greeff
b7eeb992cd
Bump deps ( #1699 )
2020-01-06 14:12:49 +01:00
Jaco Greeff
e2e8e3fedd
Add received to vested total for available ( #1621 )
2019-11-29 16:03:17 +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
6b74ea39c2
Adjust available calc (only vested, when free - reserved > vested) ( #1588 )
2019-11-19 16:35:28 +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
2875fdf2cf
Wrap all derives in memo (like rpc-core) ( #1564 )
2019-11-11 14:25:07 +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
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