Jaco Greeff
714b242ec0
0.11.2 ( #2200 )
2020-04-22 09:30:02 +02:00
Jaco Greeff
9975f58cfb
1.11 ( #2198 )
...
* 1.11
* isOptional is custom RPC sample
* Names is one-liner for custom RPCs
2020-04-21 09:38:09 +02:00
Jaco Greeff
33165e93dc
Add state_getReadProof ( #2196 )
2020-04-21 09:00:03 +02:00
Jaco Greeff
4e1145c66f
FAQ entry for Weight adjustment ( #2188 )
...
* FAQ entry for Weight adjustment
* CHANGELOG entry for rxjs Observable exposure
* Event decoding
2020-04-16 21:29:22 +02:00
Jaco Greeff
00490116dd
Add system_{localPeerId, localListenAddresses} RPCs ( #2185 )
...
* Add system_{localPeerId, localListenAddresses} RPCs
* CHANGELOG
2020-04-16 16:21:40 +02:00
Jaco Greeff
52ccb9fbbf
Linkage fixes ( #2184 )
...
* Fix linkage decoding
* Actually fix linkage
* CHANGELOG
2020-04-16 15:41:42 +02:00
Jaco Greeff
d3d3bb9b5a
Adjust Weight to u64 ( #2181 )
...
* Adjust Weight to u64
* Adjust copy (really should be reading folders...)
* build:interfaces
* EventRecord test expectation update
2020-04-16 13:08:46 +02:00
Jaco Greeff
07c4037fcf
On subscriptions, ensure rx.runtimeVersion is set ( #2180 )
2020-04-16 12:05:35 +02:00
Jaco Greeff
475cb4fa69
Move Digest to interfaces ( #2164 )
...
* Move Digest to interfaces
* Unconstructable typos
2020-04-14 12:09:36 +02:00
Jaco Greeff
eae573e6a2
Simplify entries() decoding ( #2159 )
2020-04-13 12:33:24 +02:00
Jaco Greeff
e0bde927d1
1.10 ( #2158 )
...
* 1.10
* CHANGELOG
* key extract example
2020-04-13 07:16:43 +02:00
Jaco Greeff
a833dccdaf
All private prefixed with _ ( #2157 )
...
* All private prefixed with _
* Fix test
2020-04-11 22:21:55 +02:00
Jaco Greeff
e5d9bbc264
Filter old rewards with stakingLedger (ledger can update) ( #2155 )
...
* Filter old rewards with stakingLedger (ledger can update)
* Cleanup internal functions
2020-04-10 18:06:14 +02:00
Jaco Greeff
25580b2026
Update CHANGELOG, bump deps ( #2150 )
2020-04-09 15:44:07 +02:00
Jaco Greeff
0dc46445bc
Bump dev (incl. lint fixes) ( #2126 )
...
* Bump dev (incl. lint fixes)
* Fix call encoding (stepped into that one)
* Event struct order
* Update with missing tuple type (getTypeDef type)
2020-04-01 22:44:34 +02:00
Jaco Greeff
295cd2a7e0
1.9 ( #2124 )
2020-04-01 12:14:00 +02:00
Jaco Greeff
39c44bb5aa
Split @polkadot/types/known into @polkadot/types-known ( #2120 )
...
* Split @polkadot/types/known into @polkadot/types-known
* Rreadme link
* tsconfig typo
* script aliasses
2020-03-31 13:40:59 +02:00
Jaco Greeff
0bdbf4b7a7
Use querystorageAt for map entries (optional) ( #2119 )
2020-03-31 09:17:36 +02:00
Jaco Greeff
6aa0d90fc0
Add childstate_* RPCs ( #2065 )
...
* Add childstate_* RPCs
* childstate into rpc-core
* PrefixedStorageKey
2020-03-30 13:53:33 +02:00
Jaco Greeff
d338fcb58c
Add derive for council voting info ( #2115 )
...
* Add derive for council voting info
* Update packages/api-derive/src/council/votes.ts
2020-03-30 13:48:14 +02:00
Jaco Greeff
2e83d92adc
Derive for deomcracy nextExternal ( #2108 )
2020-03-27 20:49:18 +01:00
Jaco Greeff
21a2b5f0b7
signAndSend with finalized hash (depending on lag) ( #2104 )
...
* signAndSend with finalized hash (depending on drift)
* Extract lag calc
* mock update
* getSigningHeader
* api.derive.tx (with submittable cleanups)
* Adjust mortal calculations
* Cleanup new tx derives
* Optimize calcs
* Comment cleanups, next-up testing
* Adjust mocks
* Adjust sig (period is now based on metadata)
* Remove extra fn, tested and it works
2020-03-27 13:26:12 +01:00
Jaco Greeff
852e0d4f0b
Additional referendum derive cleanups ( #2093 )
2020-03-25 11:06:16 +01:00
Jaco Greeff
8c011cdc86
Adjust new vote retrieval with entries ( #2080 )
...
* Adjust new vote retrieval with entries
* testing
2020-03-23 11:24:06 +01:00
Jaco Greeff
2071de517d
1.8 ( #2079 )
2020-03-22 18:47:04 +01:00
Jaco Greeff
7a7d6e9b8a
New democracy types ( #2078 )
...
* New democracy types
* ReferendumInfo
* Adjust democracy derives
* Spring cleaning
* Remove ReferendumInfoExtended
2020-03-22 11:05:57 +01:00
Jaco Greeff
044efbc6de
Convert jsonrpc & typings to definitions ( #2064 )
...
* Convert jsonrpc & typings to definitions
* Handle empty interface generation (no types)
* Move jsonrpc/create to rpc-core/create
* Create imports
* Remove jsonrpc package, generate rpc-core from defs
* Debug :)
* Generate RPC definitions via interfaces
* Generate md docs
* Remove @polkadot/jsonrpc refs (at least packages)
* No empty types
* Add PAHNTOM "cleanup" gen
* *sigh* regex loop
* Update mock for no jsonrpc
* Add definition export types
* Cleanup linting
* Mocking 1 fix
* Mocking 2 fix
* rpc-core tests updates
* CHANGELOG & docs
* Add jsonrpc (already mapped) to interfaces
* Add aliasses for RPCs
* Fix rpc-core tests
2020-03-19 14:40:54 +01:00
Jaco Greeff
a863e5eb95
Non-array nominators
2020-03-17 19:22:16 +01:00
Jaco Greeff
9ea6053a42
1.7 ( #2059 )
2020-03-17 14:39:20 +01:00
Jaco Greeff
5a7811c80f
Bump metadata ( #2058 )
...
* Bump metadata
* Add missing @types/jest
* Update tests for new metadata
* CHANGELOG for linked map removals
* expand re-added check
2020-03-17 10:37:24 +01:00
Jaco Greeff
82c1e3f35a
Cater for new non-linked map validator queries ( #2055 )
...
* Cater for new non-linked map validator queries
* Update staking tests
* stakers -> stashes
2020-03-16 11:13:46 +01:00
Jaco Greeff
affa5d390c
Expose derive staking.nextElected ( #2042 )
2020-03-13 08:45:28 +01:00
Jaco Greeff
0fa6b99c9e
Query docs with entries & keys, submittable with paymentInfo ( #2041 )
2020-03-13 07:52:53 +01:00
Jaco Greeff
421594b0eb
Fix .at check, disable (release 1.6.2) ( #2034 )
...
* Fix .at check, disable (release 1.6.2)
* Remove isAt (keep at revert only)
* Grrr....
* yarn installl (really need to add this to version bump script)
2020-03-12 14:53:25 +01:00
Jaco Greeff
ca2a313aec
1.6 ( #2031 )
...
* 1.6 CHANGELOG
* 1.6
* yarn
2020-03-12 09:57:09 +01:00
Jaco Greeff
c2f9ef7ca8
Add .keys on storage entries ( #2032 )
...
* Add .keys on storage entries
* Pass isOptional to storage type unwrap
* Linked maps TS types
2020-03-12 09:12:11 +01:00
Jaco Greeff
b8cdfd226a
Validate storage args ( #1507 )
...
* Validate storage args
* Fix linting
* Update imports
* Update type extraction
* Move storage extraction to util
* Re-add CHANGELOG entry
* Add DoubleMap tests
* Adjust error for linked
* formatting
* Split map/doublemap
* Cleanups
* Update error sigs
* Just join
2020-03-12 07:29:18 +01:00
Jaco Greeff
1d8b6a79ef
Rework rpc.queryStorage to return [Hash, Codec[]][] ( #2025 )
2020-03-11 12:21:09 +01:00
Jaco Greeff
bb08ac4a28
Align CHANGELOG, bump @polkadot/util ( #2024 )
2020-03-11 09:11:29 +01:00
Jaco Greeff
adee447cd0
Add .args to decoded StorageKeys ( #2004 )
...
* Add .args to decoded StorageKeys
* Small opts
* Formatting
2020-03-06 13:47:40 +01:00
Jaco Greeff
71b33e2e42
1.5 ( #2001 )
...
* 1.5
* Util bumps
* Install after bump
2020-03-06 08:03:12 +01:00
Jaco Greeff
2b6aa7972d
Update metadata for current Polkadot/Substrate ( #1999 )
...
* Remove old Polkadot metadata (current only, Substrate tests cover)
* Substrate & Polkadot metadata
* VotesTo230
2020-03-05 16:37:27 +01:00
Jaco Greeff
aaf1273794
Additional derives for new staking points & rewards ( #1994 )
...
* Additional derives for new staking points & rewards
* Fix method name
* StakingLedger update
* Expand derives
* Cleanups
* Cleanup Compact decode
* Cleanup derives
* Update CHANGELOG
* Split types
2020-03-05 15:37:34 +01:00
Jaco Greeff
0e297c6779
Add rpc.raw interface, convert RPC to Augmented wrappers ( #1990 )
...
* Add rpc.raw interface, convert RPC to Augmented
* Augmentaton attempt...
* Failing test
* Fix augmentation
* Cleanup linting
* Expose .raw on decorated RPCs
* .raw into CHANGELOG
* Stray eslint overrides
2020-03-03 08:49:24 +01:00
Jaco Greeff
586c90208c
Add typeAlias to API construction options ( #1989 )
2020-03-02 15:52:14 +01:00
Jaco Greeff
af1a3385cc
Raise error on parsing errors ( #1987 )
2020-03-02 09:09:27 +01:00
Jaco Greeff
b588238836
Handle import module name conflicts ( #1983 )
2020-03-02 00:07:34 +01:00
Jaco Greeff
f59cb12ec7
Add .range([from, to?], ...args) on storage queries ( #1979 )
...
* Add .between(from, to) ot storage queries
* between -> range
* CHANGELOG
* checkTypes.manual
* Tested as working
2020-03-01 09:12:17 +01:00
Jaco Greeff
619ef6f8eb
Align Bool isEmpty, true when false is wrapped ( #1967 )
2020-02-27 14:28:27 +01:00
Jaco Greeff
d531dd374f
1.4.2 ( #1963 )
...
* 1.4.2
* Actual version bump
* Rework api.tx decoratation (with tests)
2020-02-27 11:16:23 +01:00