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
c4470eba14
2.7 ( #2854 )
2020-11-16 10:30:33 +01:00
Jaco Greeff
f810e65ea2
Additional enum tests ( #2842 )
...
* Additional enum tests
* Adjust compare files
* Remove debug log
2020-11-12 14:45:32 +01:00
Jaco Greeff
98a2ef9d72
Support ABI files with wasm (.contract output) ( #2841 )
...
* Support ABI files with wasm (.contract output)
* AbiBase exports
* Additional default exports
* Remove any
* Fix build
2020-11-12 12:23:28 +01:00
Jaco Greeff
79e99fd6e3
Dev bump ( #2839 )
...
* Adjust internal generic imports
* Update dev
* Adjust primitive imports
* Class exports has uppercase variant
* common
* to* chenges
* Adjust EventData for registry creation
2020-11-11 12:58:35 +01:00
Jaco Greeff
5a1fd4a1bb
Adjust internal generic imports ( #2838 )
2020-11-11 09:40:35 +01:00
Jaco Greeff
a8a956c85d
Re-enable esnext (with mjs) ( #2836 )
...
* Re-enable esnext (with mjs)
* Updates
* Adjust
2020-11-10 13:58:11 +01:00
Jaco Greeff
af9437f80a
Adjust create imports ( #2834 )
...
* Adjust create imports
* Restore create root exports
* Adjust unsafe creation
2020-11-10 11:14:38 +01:00
Jaco Greeff
e6dbbfae34
Adjust interfaces for cleaner esnext usage ( #2833 )
...
* Adjust interfaces for cleaner esnext usage
* Swap out esnext
2020-11-09 23:17:52 +01:00
Jaco Greeff
21d0622f84
Bump common ( #2832 )
...
* Bump common
* Update for new common non-default exports
* Don't export createSubmittable
* Adjust exports
* default export adjustments
* Some additional non-default exports
2020-11-09 19:41:29 +01:00
Jaco Greeff
46fb44d3d8
Bump metadata ( #2826 )
2020-11-09 10:12:26 +01:00
Jaco Greeff
ea3ee428d8
Rework asLatest update ( #2802 )
...
* Revert "[CI Skip] release/beta 2.4.2-10"
This reverts commit 5cb1c2d33a .
* Revert "Use asLatest in metadata extraction (#2800 )"
This reverts commit 600666de1c .
* Bumps
* Expansion
* Flatten
* Metadata class imports
* Cleanup Decorate exports
* Move Metadata to top-level
* Swap logger on ABI
* Adjust imports
* Cleanups
* Updates
2020-10-29 11:59:37 +01:00
Jaco Greeff
600666de1c
Use asLatest in metadata extraction ( #2800 )
...
* User asLatest in metadata extraction
* Cleanup Decorated, bump
* linting
* cleanup decorate
* Remove registry arg from Decorated
2020-10-29 09:05:53 +01:00
Jaco Greeff
1476e5e5e9
Bump common, string* with String ( #2799 )
...
* Bump common, string* with String
* Linting, TS 4.0.5
2020-10-28 14:28:49 +01:00
Jaco Greeff
bb7b94dc35
Use logger in error/warning messages ( #2790 )
...
* Use logger in error/warning messages
* Update packages/types/src/codec/BTreeSet.ts
* Update expectation
* Some additional type tests
2020-10-27 13:14:03 +01:00
Jaco Greeff
8b54a22914
Introduce OriginCaller (& apply to Scheduler) ( #2692 )
...
* Introduce OriginCaller (& apply to Scheduler)
* RawOrigin
* Create OriginCaller type dynamically
* Update packages/metadata/src/Metadata/v12/toLatest.ts
2020-10-08 13:27:50 +02:00
Jaco Greeff
cc926596e5
2.1 ( #2681 )
2020-10-05 10:24:25 +02:00
Jaco Greeff
929a2854bd
Bump metadata ( #2658 )
2020-09-28 08:00:23 +02:00
Jaco Greeff
cb93cb34b7
Drop support for Extrinsic V1, V2 & V3 ( #2638 )
...
* Drop support for Extrinsic V1 & V2
* Update interfaces
* Swap default to V4
* Remove V1/V2 extrinsic tests
* Fix v3 toU8a
* Fix Decorated tests for v4
* V3 payload extends v4 payload
* Revert "V3 payload extends v4 payload"
This reverts commit b1e546aa08fe1027aa77a235fd3b98441c426812.
* Drop extrinsic v3
* Update CHANGELOG.md
2020-09-26 12:02:27 +02:00
Jaco Greeff
5ce3524ccd
Drop Metadata V0-V8 ( #2634 )
...
* Drop MetadatV0
* Apply suggestions from code review
* Restore asV1
* Remove V0 comment
* Handle DoNotConstruct in enum
* No imports from DoNotConstruct
* Merge & re-generate
* Attempt empty construction
* Drop Metadata from 0-4
* CHANGELOG
* assert(5)
* BE vs LE
* Metadataall to no-construction
* Empty U8a create
* Remove old comment
* Santize handling
* Update CHANGELOG.md
* Drop support for Metadata < 9
* Remove old pre-9 definitions
* Update CHANGELOG.md
* CHANGELOG
* Remove v8-era tests
* v8 tests
2020-09-25 16:32:48 +02:00
Jaco Greeff
7fd45f63df
Drop support for linked lists ( #2643 )
...
* Drop support for linked lists
* CHANGELOG
* Remove all .linked. checks
2020-09-25 10:19:28 +02:00
Jaco Greeff
eda5edbd40
Explicit Decorate creation with Metadata ( #2622 )
...
* Explicit Decorate creation with Metadata
* typo
* Update generator
* Adjust Registry findMetaError sig
2020-09-18 07:14:11 +02:00
Jaco Greeff
b56c1a8282
Explicit tie of metadata to registry (not implicit) ( #2621 )
...
* Explicit tie of metadata to registry (not implicit)
* Update type generation
* Test updates
* Revert non-problematic
* Cleanup mocks
* Updata metadata tests
* CHANGELOG
* linting
2020-09-17 23:15:09 +02:00
Jaco Greeff
cdd6544e20
SPDX ( #2619 )
2020-09-17 16:31:06 +02:00
Jaco Greeff
7a5a975048
Sameness check for v12 indexes ( #2609 )
...
* Sameness check for indexes
* Update with older support
2020-09-15 14:27:43 +02:00
Jaco Greeff
24d8915005
toCallsOnly for v12 ( #2606 )
2020-09-14 22:37:59 +02:00
Jaco Greeff
918bb73547
Ensure that ignored map params yield an error on iterKey ( #2605 )
2020-09-14 16:05:37 +02:00
Jaco Greeff
dac3261a16
Support for Metadata v12 ( #2599 )
...
* Support for Metadata v12
* v12 static data
* Treat 255 as reserved
* Point static to v12
2020-09-14 12:35:30 +02:00
Jaco Greeff
6ae75ba92e
Bump dev ( #2576 )
...
* Bump dev
* type linting
* linting
* linting
* missed
2020-09-03 15:47:29 +02:00
Jaco Greeff
eb6b3c5bd4
Align costs typing with queries ( #2564 )
...
* Align costs typing with queries
* better...
* ... and better
* ... progress
* better, down to 8
* ... down to 3
* ... 2
* Down to 1
* It builds.
* ... it really builds
2020-09-02 12:19:09 +02:00
Jaco Greeff
7a1089df79
Cater for nested aliassed types ( #2560 )
...
* Cater for nested aliassed types
* linting
2020-09-01 11:52:11 +02:00
Jaco Greeff
6bd10daf43
Bump static metadata ( #2557 )
2020-08-31 23:06:18 +02:00
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
455f5ad834
Allow keyPrefix to accept an additional argument for double maps ( #2230 )
...
* Allow keyPrefix to accept an additional argument for double maps
* Make key creators accept an optional parameter for key construction
* Remove .only from a test case
Co-authored-by: Xiliang Chen <xlchen1291@gmail.com >
* Cache prefix key when no arguments are supplied
* Address review comments
* Update packages/metadata/src/Decorated/storage/fromMetadata/createFunction.spec.ts
Co-authored-by: Xiliang Chen <xlchen1291@gmail.com >
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
2020-05-23 10:51:38 +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
c9921f002f
Cater for Check{Spec, Tx}Version extensions ( #2270 )
...
* Cater for Check{Spec, Tx}Version extensions
* Fix tests
2020-05-12 22:03:20 +02:00