Jaco Greeff
956e173323
Metadata bump ( #2451 )
2020-07-27 12:06:28 +02:00
Jaco Greeff
658dda66a4
1.25 ( #2440 )
...
* 1.25
* Bump metadata
2020-07-20 09:25:04 +02:00
Jaco Greeff
877eb11717
Swap releases type to shared enum ( #2388 )
...
* Swap releases type to u8
* Shared enum for releases
* Update metadata for new names
2020-06-23 17:40:15 +02:00
Jaco Greeff
4b55f1be93
Babe Equivocation ( #2374 )
...
* Babe Equivocation
* metadata field rename to GrandpaEquivocationProof
2020-06-23 16:46:26 +02:00
Jaco Greeff
f1b6268784
Bump metadata ( #2376 )
2020-06-22 15:31:27 +02:00
Jaco Greeff
b4306cb60a
Bump metadata ( #2373 )
2020-06-22 10:12:01 +02:00
Jaco Greeff
ad6b8280a2
1.19 ( #2354 )
...
* Bump deps
* 1.19
* Update CHANGELOG.md
* Freshen Substrate metadata
2020-06-16 08:34:19 +02:00
Jaco Greeff
6a281211b4
Bump metadata, allow type alias on events ( #2351 )
...
* Bump metadata, allow type alias on events
* Update packages/api/src/submittable/createClass.ts
* Update packages/metadata/src/Metadata/v11/static-substrate.json
* Fresh, no config changes
2020-06-12 23:15:50 +02:00
Jaco Greeff
21802664b8
Metadata bump ( #2348 )
2020-06-11 08:48:52 +02:00
Jaco Greeff
7ed958fb2d
Metadata bump ( #2322 )
...
* Metadata bump
* yarn.lock
* var requires
2020-06-02 12:39:48 +02:00
Jaco Greeff
6e83e6aaef
Adjust call-only metadata output ( #2321 )
2020-06-02 11:03:34 +02:00
Jaco Greeff
4156eb44ab
Bump metadata ( #2305 )
...
* Bump metadata
* Rewrite yarn.lock
2020-05-25 08:20:45 +02:00
Jaco Greeff
47fc4a2b3c
Bump deps w/ eslint ( #2302 )
...
* Bump deps w/ eslint
* Additional cleanups
* Additional
* @polkadot/types done
* Additional
* @polkadot/typegen done
* Additional
* @polkadot/rpc-core done
* Additional
* Additional
* Additional
* docs
* @polkadot/api-derive done
* @polkadot/api done
* @polkadot/api-contracts done
* Update tests
2020-05-24 09:24:45 +02:00
Jaco Greeff
393f46ba4a
Bump metadata ( #2300 )
2020-05-23 10:54:28 +02:00
Jaco Greeff
b0dc7cf451
Bump metadata ( #2297 )
...
* Bump metadata
* Deps
* Regen
* Update sig for new signed extensions
2020-05-21 10:56:56 +02:00
Jaco Greeff
e3abb95111
Bump metadata ( #2276 )
2020-05-13 09:32:26 +02:00
Jaco Greeff
458b7fa7e4
Update with latest Substrate metadata ( #2233 )
2020-05-05 11:33:04 +02:00
Jaco Greeff
2367978f6e
Remove polkadot metadata (not mainatained, outdated) ( #2227 )
2020-05-01 21:01:08 +02:00
Jaco Greeff
e0119c1873
Bump metadata to current Substrate master (incl. types) ( #2210 )
2020-04-26 13:46:36 +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
9184268c3d
Bump metadata ( #2148 )
...
* Bump metadata
* Adjust to non-customized democracy params
2020-04-09 14:46:48 +02:00
Jaco Greeff
69351ceb9e
Cater for new dispatch scheduler ( #2130 )
...
* Cater for new dispatch scheduler
* Updated
* debug logs
* Update types.ts
2020-04-02 20:44:27 +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
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
7b8b4e8078
BTreeSet only has single sub ( #2114 )
2020-03-28 21:55:49 +01:00
Jaco Greeff
dfc51ad300
Adjust toCallsOnly typing
2020-03-26 16:25:45 +01:00
Jaco Greeff
a19928fef9
Add additional types for offchain Phragmen ( #2097 )
...
* Add additional types for offchain Phragmen
* Trim down metadata toCallsOnly
2020-03-26 16:07:54 +01:00
Jaco Greeff
cb9831c4f8
Bump metadata ( #2096 )
...
* Bump metadata
* Update staking types
* Enum updates
2020-03-26 15:17:20 +01:00
Jaco Greeff
9d67d711d4
Bump deps, type import on generated ( #2075 )
...
* Bump deps, type import on generated
* type imports in types/types
* Re-export defs
* Split imports/exports
* Additional type import
* Remove import type
* Remove dupes
2020-03-21 09:40:59 +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
30d4d8c3a5
Bump metadata ( #2000 )
...
* Bump metadata
* Fix lint & docs
2020-03-05 19:36:48 +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
4feed1db5d
Bump metadata (incl. lazy payouts) ( #1995 )
...
* Bump metadata (inl. lazy payouts)
* Fix currentElected via generic
* Update tests for latest metadata
2020-03-03 16:13:28 +01:00
Jaco Greeff
586c90208c
Add typeAlias to API construction options ( #1989 )
2020-03-02 15:52:14 +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
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
8598002801
Swap to registry.createType ( #1947 )
2020-02-26 11:17:11 +01: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
Jaco Greeff
a4f56d3d38
Remove deprecated types (up to metadata V5) ( #1939 )
2020-02-25 09:22:38 +01: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
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
1c1bfb295d
VecFixed now take sub, align ext with UInt ( #1909 )
...
* Allow nested definitions for fixed arrays
* Comment nested test
* Don't import U8aFixed + u8
2020-02-20 21:36:12 +01:00
Jaco Greeff
921e55a82e
Move types/codec/create -> types/create ( #1871 )
...
* Move types/codec/create -> types/create
* Update imports after move
* Cleanups
* Cleanup code circular deps
* Re-add dropped interfaces
* Drop duplicated code
* Fix imports
* Remove whacky comment
2020-02-16 13:51:37 +01:00
Jaco Greeff
c465252e69
Make Metadata <-> hex encoding work ( #1862 )
...
* Make Metadata <-> hex encoding work
* Cleanup encoded, only toString exposes santized
* toHex is actual original toHex, remove override
* Update CHANGELOG
* CHANGELOG for .entries argument typing
* Update CHANGELOG.md
* Manual check type for DoubleMap
* Comment around super.toString usage
* Runtime version
2020-02-16 07:34:45 +01:00
Jaco Greeff
00e567b662
Bump metadata ( #1844 )
...
* Bump metadata
* Copy error
* Bump dev
* Fix linting
* Adjust some tests
* FIXME for formatting
2020-02-14 10:15:11 +01:00
Jaco Greeff
d8141198e1
Provide mapping for LookupSource & LookupTarget ( #1823 )
...
* Provide mapping for LookupSource & LookupTarget
* Type overrides for Kusama-next
* Fix LookupSource for Kusama-next
* Fixup tests with lookup
2020-02-08 14:46:08 +01:00
Jaco Greeff
b6534d2958
Polkadot V11 metadata ( #1821 )
2020-02-08 13:11:33 +01:00
Jaco Greeff
faa12a68f7
Move internal decoding to top-level-functions ( #1818 )
...
* Move internal decoding to top-level-functions
* Cleanup imports
2020-02-07 14:12:30 +01:00