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
Github Actions
af7c17e4bb
[CI Skip] 1.5.0-beta.11
...
skip-checks: true
2020-02-27 17:17:38 +00:00
Jaco Greeff
edff4231ff
Dec-clutter UInt & Int ( #1969 )
2020-02-27 18:08:41 +01:00
Github Actions
a66b98fece
[CI Skip] 1.5.0-beta.10
...
skip-checks: true
2020-02-27 17:06:47 +00:00
Keith Ingram and Jaco Greeff
4e2fb23bdf
Nullable api.derive.parachains.info ( #1968 )
...
* api.derive.registrar.parachains
* remove api parse
* suggestions
* some
* parachains: overview/info
* rm all
* rm all
* refine
* null parachain info
* isNone
* isNone
* isNone
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
2020-02-27 17:57:26 +01:00
Github Actions
2900ad303c
[CI Skip] 1.5.0-beta.9
...
skip-checks: true
2020-02-27 14:11:02 +00:00
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
Github Actions
efd6c5331d
[CI Skip] 1.5.0-beta.8
...
skip-checks: true
2020-02-27 13:39:24 +00:00
Jaco Greeff
619ef6f8eb
Align Bool isEmpty, true when false is wrapped ( #1967 )
2020-02-27 14:28:27 +01:00
Github Actions
2823504156
[CI Skip] 1.5.0-beta.7
...
skip-checks: true
2020-02-27 12:45:56 +00:00
Amaury Martiny
370dc86817
Fix ProviderInterfaceCallback type ( #1965 )
2020-02-27 13:36:26 +01:00
Github Actions
ee5628f856
[CI Skip] 1.5.0-beta.6
...
skip-checks: true
2020-02-27 12:30:12 +00:00
Jaco Greeff
a8f2ba8c30
Restore 1.5.0-beta.5 ( #1964 )
...
* Restore 1.5.0-beta.5
* Bump dev
2020-02-27 13:20:25 +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
Github Actions
e199a9b11a
[CI Skip] 1.5.0-beta.5
...
skip-checks: true
2020-02-26 21:22:25 +00:00
Github Actions
9be9f59b6a
[CI Skip] 1.5.0-beta.4
...
skip-checks: true
2020-02-26 21:10:44 +00:00
Jaco Greeff
5165ce7caf
Rework sanitize aliasing ( #1957 )
...
* Rework sanitize aliasing
* Allow special alias override (InherentOfflineReport)
2020-02-26 22:02:19 +01:00
Github Actions
b00b84e314
[CI Skip] 1.5.0-beta.3
...
skip-checks: true
2020-02-26 20:38:03 +00: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
Github Actions
e31966496b
[CI Skip] 1.5.0-beta.2
...
skip-checks: true
2020-02-26 15:26:55 +00:00
Jaco Greeff
db2ae1324f
Update system.networkState types ( #1951 )
2020-02-26 16:19:33 +01:00
Github Actions
b152a67150
[CI Skip] 1.5.0-beta.1
...
skip-checks: true
2020-02-26 12:38:14 +00:00
Github Actions
7a2754109f
[CI Skip] 1.5.0-beta.0
...
skip-checks: true
2020-02-26 11:44:12 +00:00
Github Actions
dbfc15ba88
[CI Skip] 1.4.1
...
skip-checks: true
2020-02-26 11:00:07 +00:00
Jaco Greeff
2d40d370f9
1.4 ( #1949 )
2020-02-26 11:52:37 +01:00
Github Actions
0728e40bfb
[CI Skip] 1.4.0-beta.52
...
skip-checks: true
2020-02-26 10:32:30 +00: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
Github Actions
68f2cb5bb2
[CI Skip] 1.4.0-beta.51
...
skip-checks: true
2020-02-26 10:23:37 +00:00
Jaco Greeff
8598002801
Swap to registry.createType ( #1947 )
2020-02-26 11:17:11 +01:00
Github Actions
333ff8528b
[CI Skip] 1.4.0-beta.50
...
skip-checks: true
2020-02-25 16:08:21 +00:00
Github Actions
67841a9212
[CI Skip] 1.4.0-beta.49
...
skip-checks: true
2020-02-25 15:59:45 +00:00
Jaco Greeff
6be6b027cb
More private field -> #field adjustments ( #1945 )
...
* More private field -> #field adjustments
* Work-around for set.add failures
* Remove FIXME, it is done
2020-02-25 16:53:04 +01:00
Github Actions
6943c9b36d
[CI Skip] 1.4.0-beta.48
...
skip-checks: true
2020-02-25 14:17:45 +00:00
Jaco Greeff
253e48f7bb
Return all additional identity fields ( #1943 )
2020-02-25 15:10:47 +01:00
Github Actions
eeaf6118a5
[CI Skip] 1.4.0-beta.47
...
skip-checks: true
2020-02-25 13:22:44 +00:00
Jaco Greeff
c3c77ffe43
Add Option.unwrapOrDefault ( #1942 )
...
* Add Option.unwrapOrDefault
* linting
* metadata createType(registry, ...) -> registry.createType(...)
* Linting
* Cleanup tests
2020-02-25 14:15:25 +01:00
Github Actions
71e82aece8
[CI Skip] 1.4.0-beta.46
...
skip-checks: true
2020-02-25 09:14:49 +00:00
Jaco Greeff
a7132b4e9c
Fix HEADER(...) in fromChain typegen ( #1941 )
2020-02-25 10:08:31 +01:00
Github Actions
8acb65931e
[CI Skip] 1.4.0-beta.45
...
skip-checks: true
2020-02-25 08:50:07 +00:00
Jaco Greeff
dcf053633b
CHANGELOG & small strict adjustments ( #1940 )
2020-02-25 09:44:13 +01:00
Github Actions
015ade79e6
[CI Skip] 1.4.0-beta.44
...
skip-checks: true
2020-02-25 08:29:18 +00:00
Jaco Greeff
a4f56d3d38
Remove deprecated types (up to metadata V5) ( #1939 )
2020-02-25 09:22:38 +01:00
Github Actions
73d10a55f1
[CI Skip] 1.4.0-beta.43
...
skip-checks: true
2020-02-25 07:47:12 +00:00
Jeremías Díaz
2d0ce2ddff
Make Strict Mode Strict Again ( #1938 )
...
* fix: don't format "unorthodox" query input types
Also add support for tuples in `getSimilarTypes`
* fix: refactor type ignore logic into `formatType`
Had to use a regexp solution because types like `([AccountId | string | Uint8Array, Data | { none: any } | { raw: any } | { blakeTwo256: any } | { sha256: any } | { keccak256: any } | { shaThree256: any } | string | Uint8Array])[]` were not being ignored with the current logic, so they were passed to `getTypeDef` and causing delimiter errors.
* refactor: remove superfluous "FirstKeyType" param
* fix: ignore tuples with structs when formatting
* feat: eliminate all index signatures with --strict
* docs: fix doc generation
2020-02-25 08:40:07 +01:00
Github Actions
775697f51e
[CI Skip] 1.4.0-beta.42
...
skip-checks: true
2020-02-24 21:48:03 +00:00
Jeremías Díaz
c6355fb147
fix: don't format "unorthodox" query input types ( #1934 )
...
* fix: don't format "unorthodox" query input types
Also add support for tuples in `getSimilarTypes`
* fix: refactor type ignore logic into `formatType`
Had to use a regexp solution because types like `([AccountId | string | Uint8Array, Data | { none: any } | { raw: any } | { blakeTwo256: any } | { sha256: any } | { keccak256: any } | { shaThree256: any } | string | Uint8Array])[]` were not being ignored with the current logic, so they were passed to `getTypeDef` and causing delimiter errors.
* refactor: remove superfluous "FirstKeyType" param
2020-02-24 22:31:18 +01:00
Github Actions
d85d9ca930
[CI Skip] 1.4.0-beta.41
...
skip-checks: true
2020-02-24 19:10:00 +00:00
Jaco Greeff
af643401b8
Remove metadata index hack... and add another one ( #1935 )
...
* Remove metadata index hack
* Parse v9 and V10 upon failure
2020-02-24 20:03:35 +01:00
Github Actions
fcea797c8a
[CI Skip] 1.4.0-beta.40
...
skip-checks: true
2020-02-24 15:59:31 +00: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