Jaco Greeff
226426e67e
Add older heartbeats struct ( #2255 )
2020-05-08 11:50:18 +02:00
Jaco Greeff
72d131f62f
Ensure metadata is only retrieved once on startup ( #2252 )
...
* Ensure metadata is only retrieved once on startup
* Ensure we set rx.runtimeVersion
2020-05-07 08:50:36 +02:00
Jaco Greeff
a1ad90c2b4
1.13 ( #2248 )
...
* 1.13
* Add grandpa_roundState RPC
* RPC interfaces
2020-05-06 20:22:18 +02:00
Jaco Greeff
718afa91e3
Multiple endpoints CHANGELOG ( #2243 )
2020-05-06 15:10:37 +02:00
Jaco Greeff
a458589222
Fix CompactAssignment decoding ( #2242 )
...
* Fix CompactAssignment decoding
* CHANGELOG
2020-05-06 13:56:17 +02:00
Jaco Greeff
458b7fa7e4
Update with latest Substrate metadata ( #2233 )
2020-05-05 11:33:04 +02:00
Jaco Greeff
961d27ad46
Update CHANGELOG.md
2020-05-04 17:47:09 +02:00
Jaco Greeff
7d1c93db59
Update CHANGELOG.md
2020-05-04 14:08:18 +02:00
Jaco Greeff
844d1a2928
Allow failures on preimage (instead of swallow) ( #2225 )
2020-04-30 15:14:56 +02:00
Jaco Greeff
3665690444
Beta bump ( #2223 )
2020-04-30 07:37:12 +02:00
Jaco Greeff
7c8b2abf92
1.12 ( #2221 )
2020-04-30 00:13:27 +02:00
Jaco Greeff
d1fae523ac
Fix CompactAssignments types ( #2219 )
...
* Fix CompactAssignments types
* Cleanup mistaken type adjustments
2020-04-29 16:45:59 +02:00
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